| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Sandwich.Contexts.Kubernetes.SeaweedFS
Contents
Description
Install SeaweedFS deployments on a Kubernetes cluster.
Synopsis
- introduceSeaweedFS :: forall context (m :: Type -> Type). (KubernetesClusterBasicWithoutReader context m, HasNixContext context) => Text -> SeaweedFSOptions -> SpecFree (ContextWithSeaweedFS context) m () -> SpecFree context m ()
- withSeaweedFS :: forall context m a. (HasCallStack, MonadFail m, KubectlBasic context m, HasNixContext context) => Text -> SeaweedFSOptions -> (SeaweedFSContext -> m a) -> m a
- withSeaweedFS' :: forall context m a. (HasCallStack, MonadFail m, NixContextBasic context m) => KubernetesClusterContext -> FilePath -> Text -> SeaweedFSOptions -> (SeaweedFSContext -> m a) -> m a
- data SeaweedFSOptions = SeaweedFSOptions {}
- defaultSeaweedFSOptions :: SeaweedFSOptions
- seaweedFs :: Label "seaweedFs" SeaweedFSContext
- data SeaweedFSContext = SeaweedFSContext {}
- type HasSeaweedFSContext context = HasLabel context "seaweedFs" SeaweedFSContext
Documentation
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
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.
Arguments
| :: forall context m a. (HasCallStack, MonadFail m, NixContextBasic context m) | |
| => KubernetesClusterContext | Cluster context |
| -> FilePath | Path to |
| -> Text | Namespace |
| -> SeaweedFSOptions | |
| -> (SeaweedFSContext -> m a) | |
| -> m a |
Same as withSeaweedFS, but allows you to pass in the KubernetesClusterContext and kubectl binary path.
Types
data SeaweedFSOptions Source #
Constructors
| SeaweedFSOptions | |
Instances
| Show SeaweedFSOptions Source # | |
Defined in Test.Sandwich.Contexts.Kubernetes.SeaweedFS Methods showsPrec :: Int -> SeaweedFSOptions -> ShowS # show :: SeaweedFSOptions -> String # showList :: [SeaweedFSOptions] -> ShowS # | |
seaweedFs :: Label "seaweedFs" SeaweedFSContext Source #
data SeaweedFSContext Source #
Constructors
| SeaweedFSContext | |
Fields | |
Instances
| Show SeaweedFSContext Source # | |
Defined in Test.Sandwich.Contexts.Kubernetes.SeaweedFS Methods showsPrec :: Int -> SeaweedFSContext -> ShowS # show :: SeaweedFSContext -> String # showList :: [SeaweedFSContext] -> ShowS # | |
type HasSeaweedFSContext context = HasLabel context "seaweedFs" SeaweedFSContext Source #