sandwich-contexts-kubernetes
Safe HaskellNone
LanguageHaskell2010

Test.Sandwich.Contexts.Kubernetes.SeaweedFS

Description

Install SeaweedFS deployments on a Kubernetes cluster.

Synopsis

Documentation

introduceSeaweedFS Source #

Arguments

:: forall context (m :: Type -> Type). (KubernetesClusterBasicWithoutReader context m, HasNixContext context) 
=> Text

Namespace

-> SeaweedFSOptions 
-> SpecFree (ContextWithSeaweedFS context) m () 
-> SpecFree context m () 

Introduce SeaweedFS on the Kubernetes cluster, in a given namespace.

Bracket-style variants

withSeaweedFS Source #

Arguments

:: forall context m a. (HasCallStack, MonadFail m, KubectlBasic context m, HasNixContext context) 
=> Text

Namespace

-> SeaweedFSOptions 
-> (SeaweedFSContext -> m a) 
-> m a 

Bracket-style version of introduceSeaweedFS.

withSeaweedFS' Source #

Arguments

:: forall context m a. (HasCallStack, MonadFail m, NixContextBasic context m) 
=> KubernetesClusterContext

Cluster context

-> FilePath

Path to kubectl binary

-> Text

Namespace

-> SeaweedFSOptions 
-> (SeaweedFSContext -> m a) 
-> m a 

Same as withSeaweedFS, but allows you to pass in the KubernetesClusterContext and kubectl binary path.

Types

type HasSeaweedFSContext context = HasLabel context "seaweedFs" SeaweedFSContext Source #