Package k8s.io.api.core.v1
Interface Generated.EphemeralContainerCommonOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.EphemeralContainerCommon,Generated.EphemeralContainerCommon.Builder
- Enclosing class:
- Generated
public static interface Generated.EphemeralContainerCommonOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetArgs(int index)Arguments to the entrypoint.com.google.protobuf.ByteStringgetArgsBytes(int index)Arguments to the entrypoint.intgetArgsCount()Arguments to the entrypoint.List<String>getArgsList()Arguments to the entrypoint.StringgetCommand(int index)Entrypoint array.com.google.protobuf.ByteStringgetCommandBytes(int index)Entrypoint array.intgetCommandCount()Entrypoint array.List<String>getCommandList()Entrypoint array.Generated.EnvVargetEnv(int index)List of environment variables to set in the container.intgetEnvCount()List of environment variables to set in the container.Generated.EnvFromSourcegetEnvFrom(int index)List of sources to populate environment variables in the container.intgetEnvFromCount()List of sources to populate environment variables in the container.List<Generated.EnvFromSource>getEnvFromList()List of sources to populate environment variables in the container.Generated.EnvFromSourceOrBuildergetEnvFromOrBuilder(int index)List of sources to populate environment variables in the container.List<? extends Generated.EnvFromSourceOrBuilder>getEnvFromOrBuilderList()List of sources to populate environment variables in the container.List<Generated.EnvVar>getEnvList()List of environment variables to set in the container.Generated.EnvVarOrBuildergetEnvOrBuilder(int index)List of environment variables to set in the container.List<? extends Generated.EnvVarOrBuilder>getEnvOrBuilderList()List of environment variables to set in the container.StringgetImage()Container image name.com.google.protobuf.ByteStringgetImageBytes()Container image name.StringgetImagePullPolicy()Image pull policy.com.google.protobuf.ByteStringgetImagePullPolicyBytes()Image pull policy.Generated.LifecyclegetLifecycle()Lifecycle is not allowed for ephemeral containers.Generated.LifecycleOrBuildergetLifecycleOrBuilder()Lifecycle is not allowed for ephemeral containers.Generated.ProbegetLivenessProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetLivenessProbeOrBuilder()Probes are not allowed for ephemeral containers.StringgetName()Name of the ephemeral container specified as a DNS_LABEL.com.google.protobuf.ByteStringgetNameBytes()Name of the ephemeral container specified as a DNS_LABEL.Generated.ContainerPortgetPorts(int index)Ports are not allowed for ephemeral containers.intgetPortsCount()Ports are not allowed for ephemeral containers.List<Generated.ContainerPort>getPortsList()Ports are not allowed for ephemeral containers.Generated.ContainerPortOrBuildergetPortsOrBuilder(int index)Ports are not allowed for ephemeral containers.List<? extends Generated.ContainerPortOrBuilder>getPortsOrBuilderList()Ports are not allowed for ephemeral containers.Generated.ProbegetReadinessProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetReadinessProbeOrBuilder()Probes are not allowed for ephemeral containers.Generated.ContainerResizePolicygetResizePolicy(int index)Resources resize policy for the container.intgetResizePolicyCount()Resources resize policy for the container.List<Generated.ContainerResizePolicy>getResizePolicyList()Resources resize policy for the container.Generated.ContainerResizePolicyOrBuildergetResizePolicyOrBuilder(int index)Resources resize policy for the container.List<? extends Generated.ContainerResizePolicyOrBuilder>getResizePolicyOrBuilderList()Resources resize policy for the container.Generated.ResourceRequirementsgetResources()Resources are not allowed for ephemeral containers.Generated.ResourceRequirementsOrBuildergetResourcesOrBuilder()Resources are not allowed for ephemeral containers.StringgetRestartPolicy()Restart policy for the container to manage the restart behavior of each container within a pod.com.google.protobuf.ByteStringgetRestartPolicyBytes()Restart policy for the container to manage the restart behavior of each container within a pod.Generated.SecurityContextgetSecurityContext()Optional: SecurityContext defines the security options the ephemeral container should be run with.Generated.SecurityContextOrBuildergetSecurityContextOrBuilder()Optional: SecurityContext defines the security options the ephemeral container should be run with.Generated.ProbegetStartupProbe()Probes are not allowed for ephemeral containers.Generated.ProbeOrBuildergetStartupProbeOrBuilder()Probes are not allowed for ephemeral containers.booleangetStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleangetStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.StringgetTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.com.google.protobuf.ByteStringgetTerminationMessagePathBytes()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.StringgetTerminationMessagePolicy()Indicate how the termination message should be populated.com.google.protobuf.ByteStringgetTerminationMessagePolicyBytes()Indicate how the termination message should be populated.booleangetTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.Generated.VolumeDevicegetVolumeDevices(int index)volumeDevices is the list of block devices to be used by the container.intgetVolumeDevicesCount()volumeDevices is the list of block devices to be used by the container.List<Generated.VolumeDevice>getVolumeDevicesList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeDeviceOrBuildergetVolumeDevicesOrBuilder(int index)volumeDevices is the list of block devices to be used by the container.List<? extends Generated.VolumeDeviceOrBuilder>getVolumeDevicesOrBuilderList()volumeDevices is the list of block devices to be used by the container.Generated.VolumeMountgetVolumeMounts(int index)Pod volumes to mount into the container's filesystem.intgetVolumeMountsCount()Pod volumes to mount into the container's filesystem.List<Generated.VolumeMount>getVolumeMountsList()Pod volumes to mount into the container's filesystem.Generated.VolumeMountOrBuildergetVolumeMountsOrBuilder(int index)Pod volumes to mount into the container's filesystem.List<? extends Generated.VolumeMountOrBuilder>getVolumeMountsOrBuilderList()Pod volumes to mount into the container's filesystem.StringgetWorkingDir()Container's working directory.com.google.protobuf.ByteStringgetWorkingDirBytes()Container's working directory.booleanhasImage()Container image name.booleanhasImagePullPolicy()Image pull policy.booleanhasLifecycle()Lifecycle is not allowed for ephemeral containers.booleanhasLivenessProbe()Probes are not allowed for ephemeral containers.booleanhasName()Name of the ephemeral container specified as a DNS_LABEL.booleanhasReadinessProbe()Probes are not allowed for ephemeral containers.booleanhasResources()Resources are not allowed for ephemeral containers.booleanhasRestartPolicy()Restart policy for the container to manage the restart behavior of each container within a pod.booleanhasSecurityContext()Optional: SecurityContext defines the security options the ephemeral container should be run with.booleanhasStartupProbe()Probes are not allowed for ephemeral containers.booleanhasStdin()Whether this container should allocate a buffer for stdin in the container runtime.booleanhasStdinOnce()Whether the container runtime should close the stdin channel after it has been opened by a single attach.booleanhasTerminationMessagePath()Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.booleanhasTerminationMessagePolicy()Indicate how the termination message should be populated.booleanhasTty()Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.booleanhasWorkingDir()Container's working directory.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the ephemeral container specified as a DNS_LABEL. This name must be unique among all containers, init containers and ephemeral containers.
optional string name = 1;- Returns:
- The bytes for name.
-
hasImage
boolean hasImage()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Returns:
- Whether the image field is set.
-
getImage
String getImage()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Returns:
- The image.
-
getImageBytes
com.google.protobuf.ByteString getImageBytes()
Container image name. More info: https://kubernetes.io/docs/concepts/containers/images
optional string image = 2;- Returns:
- The bytes for image.
-
getCommandList
List<String> getCommandList()
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Returns:
- A list containing the command.
-
getCommandCount
int getCommandCount()
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Returns:
- The count of command.
-
getCommand
String getCommand(int index)
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes(int index)
Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string command = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
getArgsList
List<String> getArgsList()
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Returns:
- A list containing the args.
-
getArgsCount
int getArgsCount()
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Returns:
- The count of args.
-
getArgs
String getArgs(int index)
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
com.google.protobuf.ByteString getArgsBytes(int index)
Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell +optional +listType=atomic
repeated string args = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
hasWorkingDir
boolean hasWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Returns:
- Whether the workingDir field is set.
-
getWorkingDir
String getWorkingDir()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Returns:
- The workingDir.
-
getWorkingDirBytes
com.google.protobuf.ByteString getWorkingDirBytes()
Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. +optional
optional string workingDir = 5;- Returns:
- The bytes for workingDir.
-
getPortsList
List<Generated.ContainerPort> getPortsList()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPorts
Generated.ContainerPort getPorts(int index)
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsCount
int getPortsCount()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsOrBuilderList
List<? extends Generated.ContainerPortOrBuilder> getPortsOrBuilderList()
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getPortsOrBuilder
Generated.ContainerPortOrBuilder getPortsOrBuilder(int index)
Ports are not allowed for ephemeral containers. +optional +patchMergeKey=containerPort +patchStrategy=merge +listType=map +listMapKey=containerPort +listMapKey=protocol
repeated .k8s.io.api.core.v1.ContainerPort ports = 6;
-
getEnvFromList
List<Generated.EnvFromSource> getEnvFromList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFrom
Generated.EnvFromSource getEnvFrom(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromCount
int getEnvFromCount()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromOrBuilderList
List<? extends Generated.EnvFromSourceOrBuilder> getEnvFromOrBuilderList()
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvFromOrBuilder
Generated.EnvFromSourceOrBuilder getEnvFromOrBuilder(int index)
List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. +optional +listType=atomic
repeated .k8s.io.api.core.v1.EnvFromSource envFrom = 19;
-
getEnvList
List<Generated.EnvVar> getEnvList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnv
Generated.EnvVar getEnv(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvCount
int getEnvCount()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvOrBuilderList
List<? extends Generated.EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
getEnvOrBuilder
Generated.EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container. Cannot be updated. +optional +patchMergeKey=name +patchStrategy=merge +listType=map +listMapKey=name
repeated .k8s.io.api.core.v1.EnvVar env = 7;
-
hasResources
boolean hasResources()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;- Returns:
- Whether the resources field is set.
-
getResources
Generated.ResourceRequirements getResources()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;- Returns:
- The resources.
-
getResourcesOrBuilder
Generated.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod. +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 8;
-
getResizePolicyList
List<Generated.ContainerResizePolicy> getResizePolicyList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicy
Generated.ContainerResizePolicy getResizePolicy(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyCount
int getResizePolicyCount()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyOrBuilderList
List<? extends Generated.ContainerResizePolicyOrBuilder> getResizePolicyOrBuilderList()
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
getResizePolicyOrBuilder
Generated.ContainerResizePolicyOrBuilder getResizePolicyOrBuilder(int index)
Resources resize policy for the container. +featureGate=InPlacePodVerticalScaling +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerResizePolicy resizePolicy = 23;
-
hasRestartPolicy
boolean hasRestartPolicy()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Returns:
- Whether the restartPolicy field is set.
-
getRestartPolicy
String getRestartPolicy()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Returns:
- The restartPolicy.
-
getRestartPolicyBytes
com.google.protobuf.ByteString getRestartPolicyBytes()
Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers. +featureGate=SidecarContainers +optional
optional string restartPolicy = 24;- Returns:
- The bytes for restartPolicy.
-
getVolumeMountsList
List<Generated.VolumeMount> getVolumeMountsList()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMounts
Generated.VolumeMount getVolumeMounts(int index)
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsCount
int getVolumeMountsCount()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsOrBuilderList
List<? extends Generated.VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeMountsOrBuilder
Generated.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Pod volumes to mount into the container's filesystem. Subpath mounts are not allowed for ephemeral containers. Cannot be updated. +optional +patchMergeKey=mountPath +patchStrategy=merge +listType=map +listMapKey=mountPath
repeated .k8s.io.api.core.v1.VolumeMount volumeMounts = 9;
-
getVolumeDevicesList
List<Generated.VolumeDevice> getVolumeDevicesList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevices
Generated.VolumeDevice getVolumeDevices(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesCount
int getVolumeDevicesCount()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesOrBuilderList
List<? extends Generated.VolumeDeviceOrBuilder> getVolumeDevicesOrBuilderList()
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
getVolumeDevicesOrBuilder
Generated.VolumeDeviceOrBuilder getVolumeDevicesOrBuilder(int index)
volumeDevices is the list of block devices to be used by the container. +patchMergeKey=devicePath +patchStrategy=merge +listType=map +listMapKey=devicePath +optional
repeated .k8s.io.api.core.v1.VolumeDevice volumeDevices = 21;
-
hasLivenessProbe
boolean hasLivenessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;- Returns:
- Whether the livenessProbe field is set.
-
getLivenessProbe
Generated.Probe getLivenessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;- Returns:
- The livenessProbe.
-
getLivenessProbeOrBuilder
Generated.ProbeOrBuilder getLivenessProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe livenessProbe = 10;
-
hasReadinessProbe
boolean hasReadinessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;- Returns:
- Whether the readinessProbe field is set.
-
getReadinessProbe
Generated.Probe getReadinessProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;- Returns:
- The readinessProbe.
-
getReadinessProbeOrBuilder
Generated.ProbeOrBuilder getReadinessProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe readinessProbe = 11;
-
hasStartupProbe
boolean hasStartupProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;- Returns:
- Whether the startupProbe field is set.
-
getStartupProbe
Generated.Probe getStartupProbe()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;- Returns:
- The startupProbe.
-
getStartupProbeOrBuilder
Generated.ProbeOrBuilder getStartupProbeOrBuilder()
Probes are not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Probe startupProbe = 22;
-
hasLifecycle
boolean hasLifecycle()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;- Returns:
- Whether the lifecycle field is set.
-
getLifecycle
Generated.Lifecycle getLifecycle()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;- Returns:
- The lifecycle.
-
getLifecycleOrBuilder
Generated.LifecycleOrBuilder getLifecycleOrBuilder()
Lifecycle is not allowed for ephemeral containers. +optional
optional .k8s.io.api.core.v1.Lifecycle lifecycle = 12;
-
hasTerminationMessagePath
boolean hasTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Returns:
- Whether the terminationMessagePath field is set.
-
getTerminationMessagePath
String getTerminationMessagePath()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Returns:
- The terminationMessagePath.
-
getTerminationMessagePathBytes
com.google.protobuf.ByteString getTerminationMessagePathBytes()
Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. +optional
optional string terminationMessagePath = 13;- Returns:
- The bytes for terminationMessagePath.
-
hasTerminationMessagePolicy
boolean hasTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Returns:
- Whether the terminationMessagePolicy field is set.
-
getTerminationMessagePolicy
String getTerminationMessagePolicy()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Returns:
- The terminationMessagePolicy.
-
getTerminationMessagePolicyBytes
com.google.protobuf.ByteString getTerminationMessagePolicyBytes()
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. +optional
optional string terminationMessagePolicy = 20;- Returns:
- The bytes for terminationMessagePolicy.
-
hasImagePullPolicy
boolean hasImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Returns:
- Whether the imagePullPolicy field is set.
-
getImagePullPolicy
String getImagePullPolicy()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Returns:
- The imagePullPolicy.
-
getImagePullPolicyBytes
com.google.protobuf.ByteString getImagePullPolicyBytes()
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images +optional
optional string imagePullPolicy = 14;- Returns:
- The bytes for imagePullPolicy.
-
hasSecurityContext
boolean hasSecurityContext()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;- Returns:
- Whether the securityContext field is set.
-
getSecurityContext
Generated.SecurityContext getSecurityContext()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;- Returns:
- The securityContext.
-
getSecurityContextOrBuilder
Generated.SecurityContextOrBuilder getSecurityContextOrBuilder()
Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. +optional
optional .k8s.io.api.core.v1.SecurityContext securityContext = 15;
-
hasStdin
boolean hasStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;- Returns:
- Whether the stdin field is set.
-
getStdin
boolean getStdin()
Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. +optional
optional bool stdin = 16;- Returns:
- The stdin.
-
hasStdinOnce
boolean hasStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;- Returns:
- Whether the stdinOnce field is set.
-
getStdinOnce
boolean getStdinOnce()
Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false +optional
optional bool stdinOnce = 17;- Returns:
- The stdinOnce.
-
hasTty
boolean hasTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;- Returns:
- Whether the tty field is set.
-
getTty
boolean getTty()
Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. +optional
optional bool tty = 18;- Returns:
- The tty.
-
-