haskell-kubernetes-0.5.0: Haskell bindings to the Kubernetes API (via swagger-codegen)

Safe HaskellNone
LanguageHaskell2010

Kubernetes.Model.V1.Container

Synopsis

Documentation

data Container #

A single application container that you want to run within a pod.

Instances

Eq Container # 
Show Container # 
Generic Container # 

Associated Types

type Rep Container :: * -> * #

Arbitrary Container # 
ToJSON Container # 
FromJSON Container # 
type Rep Container # 
type Rep Container = D1 (MetaData "Container" "Kubernetes.Model.V1.Container" "haskell-kubernetes-0.5.0-GxXiAZGRooLGeU0BCXYigL" False) (C1 (MetaCons "Container" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_name") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_image") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_command") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_args") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_workingDir") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ports") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ContainerPort])))) ((:*:) (S1 (MetaSel (Just Symbol "_env") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EnvVar]))) ((:*:) (S1 (MetaSel (Just Symbol "_resources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceRequirements))) (S1 (MetaSel (Just Symbol "_volumeMounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VolumeMount]))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_livenessProbe") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Probe))) (S1 (MetaSel (Just Symbol "_readinessProbe") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Probe)))) ((:*:) (S1 (MetaSel (Just Symbol "_lifecycle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Lifecycle))) (S1 (MetaSel (Just Symbol "_terminationMessagePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_imagePullPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_securityContext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SecurityContext)))) ((:*:) (S1 (MetaSel (Just Symbol "_stdin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_stdinOnce") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_tty") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))))

mkContainer :: Text -> Container #

Use this method to build a Container