Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Container = Container {
- _name :: !Text
- _image :: !(Maybe Text)
- _command :: !(Maybe [Text])
- _args :: !(Maybe [Text])
- _workingDir :: !(Maybe Text)
- _ports :: !(Maybe [ContainerPort])
- _env :: !(Maybe [EnvVar])
- _resources :: !(Maybe ResourceRequirements)
- _volumeMounts :: !(Maybe [VolumeMount])
- _livenessProbe :: !(Maybe Probe)
- _readinessProbe :: !(Maybe Probe)
- _lifecycle :: !(Maybe Lifecycle)
- _terminationMessagePath :: !(Maybe Text)
- _imagePullPolicy :: !(Maybe Text)
- _securityContext :: !(Maybe SecurityContext)
- _stdin :: !(Maybe Bool)
- _stdinOnce :: !(Maybe Bool)
- _tty :: !(Maybe Bool)
- name :: Lens' Container Text
- image :: Lens' Container (Maybe Text)
- command :: Lens' Container (Maybe [Text])
- args :: Lens' Container (Maybe [Text])
- workingDir :: Lens' Container (Maybe Text)
- ports :: Lens' Container (Maybe [ContainerPort])
- env :: Lens' Container (Maybe [EnvVar])
- resources :: Lens' Container (Maybe ResourceRequirements)
- volumeMounts :: Lens' Container (Maybe [VolumeMount])
- livenessProbe :: Lens' Container (Maybe Probe)
- readinessProbe :: Lens' Container (Maybe Probe)
- lifecycle :: Lens' Container (Maybe Lifecycle)
- terminationMessagePath :: Lens' Container (Maybe Text)
- imagePullPolicy :: Lens' Container (Maybe Text)
- securityContext :: Lens' Container (Maybe SecurityContext)
- stdin :: Lens' Container (Maybe Bool)
- stdinOnce :: Lens' Container (Maybe Bool)
- tty :: Lens' Container (Maybe Bool)
- mkContainer :: Text -> Container
Documentation
A single application container that you want to run within a pod.
Container | |
|
volumeMounts :: Lens' Container (Maybe [VolumeMount]) Source
mkContainer :: Text -> Container Source
Use this method to build a Container