sandwich-contexts-kubernetes
Safe HaskellNone
LanguageHaskell2010

Test.Sandwich.Contexts.Kubernetes.MinioOperator

Description

Install the MinIO Kubernetes operator onto a Kubernetes cluster.

This is necessary if you want to use the Test.Sandwich.Contexts.Kubernetes.MinioS3Server module to create actual S3 servers.

Synopsis

Documentation

introduceMinioOperator Source #

Arguments

:: forall context (m :: Type -> Type). KubectlBasicWithoutReader context m 
=> MinioOperatorOptions

Options

-> SpecFree (LabelValue "minioOperator" MinioOperatorContext :> context) m () 
-> SpecFree context m () 

Install the MinIO Kubernetes operator onto a Kubernetes cluster.

introduceMinioOperator' Source #

Arguments

:: forall (m :: Type -> Type) context. (HasCallStack, MonadFail m, MonadUnliftIO m, HasKubernetesClusterContext context, HasBaseContext context) 
=> FilePath

Path to kubectl binary

-> MinioOperatorOptions

Options

-> SpecFree (LabelValue "minioOperator" MinioOperatorContext :> context) m () 
-> SpecFree context m () 

Same as introduceMinioOperator, but allows you to pass in the kubectl binary path.

Bracket-style variants

withMinioOperator Source #

Arguments

:: (HasCallStack, MonadFail m, KubectlBasic context m) 
=> MinioOperatorOptions

Options

-> KubernetesClusterContext 
-> (MinioOperatorContext -> m a) 
-> m a 

Bracket-style variant of introduceMinioOperator.

withMinioOperator' Source #

Arguments

:: (HasCallStack, MonadFail m, KubernetesBasic context m) 
=> FilePath

Path to kubectl binary

-> MinioOperatorOptions

Options

-> KubernetesClusterContext 
-> (MinioOperatorContext -> m a) 
-> m a 

Same as withMinioOperator, but allows you to pass in the kubectl binary path.

Types

type HasMinioOperatorContext context = HasLabel context "minioOperator" MinioOperatorContext Source #