Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Container = Container' {
- containerRuntime :: Maybe Text
- id :: Maybe Text
- image :: Maybe Text
- imagePrefix :: Maybe Text
- name :: Maybe Text
- securityContext :: Maybe SecurityContext
- volumeMounts :: Maybe [VolumeMount]
- newContainer :: Container
- container_containerRuntime :: Lens' Container (Maybe Text)
- container_id :: Lens' Container (Maybe Text)
- container_image :: Lens' Container (Maybe Text)
- container_imagePrefix :: Lens' Container (Maybe Text)
- container_name :: Lens' Container (Maybe Text)
- container_securityContext :: Lens' Container (Maybe SecurityContext)
- container_volumeMounts :: Lens' Container (Maybe [VolumeMount])
Documentation
Details of a container.
See: newContainer
smart constructor.
Container' | |
|
Instances
newContainer :: Container Source #
Create a value of Container
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerRuntime:Container'
, container_containerRuntime
- The container runtime (such as, Docker or containerd) used to run the
container.
$sel:id:Container'
, container_id
- Container ID.
$sel:image:Container'
, container_image
- Container image.
$sel:imagePrefix:Container'
, container_imagePrefix
- Part of the image name before the last slash. For example, imagePrefix
for public.ecr.aws/amazonlinux/amazonlinux:latest would be
public.ecr.aws/amazonlinux. If the image name is relative and does not
have a slash, this field is empty.
Container
, container_name
- Container name.
$sel:securityContext:Container'
, container_securityContext
- Container security context.
$sel:volumeMounts:Container'
, container_volumeMounts
- Container volume mounts.
container_containerRuntime :: Lens' Container (Maybe Text) Source #
The container runtime (such as, Docker or containerd) used to run the container.
container_imagePrefix :: Lens' Container (Maybe Text) Source #
Part of the image name before the last slash. For example, imagePrefix for public.ecr.aws/amazonlinux/amazonlinux:latest would be public.ecr.aws/amazonlinux. If the image name is relative and does not have a slash, this field is empty.
container_securityContext :: Lens' Container (Maybe SecurityContext) Source #
Container security context.
container_volumeMounts :: Lens' Container (Maybe [VolumeMount]) Source #
Container volume mounts.