Skip to content

/AWS1/CL_GDYCONTAINER

Details of a container.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_containerruntime TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

The container runtime (such as, Docker or containerd) used to run the container.

iv_id TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

Container ID.

iv_name TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

Container name.

iv_image TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

Container image.

iv_imageprefix TYPE /AWS1/GDYSTRING /AWS1/GDYSTRING

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.

it_volumemounts TYPE /AWS1/CL_GDYVOLUMEMOUNT=>TT_VOLUMEMOUNTS TT_VOLUMEMOUNTS

Container volume mounts.

io_securitycontext TYPE REF TO /AWS1/CL_GDYSECURITYCONTEXT /AWS1/CL_GDYSECURITYCONTEXT

Container security context.


Queryable Attributes

ContainerRuntime

The container runtime (such as, Docker or containerd) used to run the container.

Accessible with the following methods

Method Description
GET_CONTAINERRUNTIME() Getter for CONTAINERRUNTIME, with configurable default
ASK_CONTAINERRUNTIME() Getter for CONTAINERRUNTIME w/ exceptions if field has no va
HAS_CONTAINERRUNTIME() Determine if CONTAINERRUNTIME has a value

Id

Container ID.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

Name

Container name.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Image

Container image.

Accessible with the following methods

Method Description
GET_IMAGE() Getter for IMAGE, with configurable default
ASK_IMAGE() Getter for IMAGE w/ exceptions if field has no value
HAS_IMAGE() Determine if IMAGE has a value

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.

Accessible with the following methods

Method Description
GET_IMAGEPREFIX() Getter for IMAGEPREFIX, with configurable default
ASK_IMAGEPREFIX() Getter for IMAGEPREFIX w/ exceptions if field has no value
HAS_IMAGEPREFIX() Determine if IMAGEPREFIX has a value

VolumeMounts

Container volume mounts.

Accessible with the following methods

Method Description
GET_VOLUMEMOUNTS() Getter for VOLUMEMOUNTS, with configurable default
ASK_VOLUMEMOUNTS() Getter for VOLUMEMOUNTS w/ exceptions if field has no value
HAS_VOLUMEMOUNTS() Determine if VOLUMEMOUNTS has a value

SecurityContext

Container security context.

Accessible with the following methods

Method Description
GET_SECURITYCONTEXT() Getter for SECURITYCONTEXT

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CONTAINERS

TYPES TT_CONTAINERS TYPE STANDARD TABLE OF REF TO /AWS1/CL_GDYCONTAINER WITH DEFAULT KEY
.