Package k8s.io.api.core.v1
Interface Generated.EphemeralContainerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.EphemeralContainer,Generated.EphemeralContainer.Builder
- Enclosing class:
- Generated
public static interface Generated.EphemeralContainerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.EphemeralContainerCommongetEphemeralContainerCommon()Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.Generated.EphemeralContainerCommonOrBuildergetEphemeralContainerCommonOrBuilder()Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.StringgetTargetContainerName()If set, the name of the container from PodSpec that this ephemeral container targets.com.google.protobuf.ByteStringgetTargetContainerNameBytes()If set, the name of the container from PodSpec that this ephemeral container targets.booleanhasEphemeralContainerCommon()Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.booleanhasTargetContainerName()If set, the name of the container from PodSpec that this ephemeral container targets.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEphemeralContainerCommon
boolean hasEphemeralContainerCommon()
Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers. Fields in common with Container are in the following inlined struct so than an EphemeralContainer may easily be converted to a Container.
optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;- Returns:
- Whether the ephemeralContainerCommon field is set.
-
getEphemeralContainerCommon
Generated.EphemeralContainerCommon getEphemeralContainerCommon()
Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers. Fields in common with Container are in the following inlined struct so than an EphemeralContainer may easily be converted to a Container.
optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;- Returns:
- The ephemeralContainerCommon.
-
getEphemeralContainerCommonOrBuilder
Generated.EphemeralContainerCommonOrBuilder getEphemeralContainerCommonOrBuilder()
Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers. Fields in common with Container are in the following inlined struct so than an EphemeralContainer may easily be converted to a Container.
optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;
-
hasTargetContainerName
boolean hasTargetContainerName()
If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. +optional
optional string targetContainerName = 2;- Returns:
- Whether the targetContainerName field is set.
-
getTargetContainerName
String getTargetContainerName()
If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. +optional
optional string targetContainerName = 2;- Returns:
- The targetContainerName.
-
getTargetContainerNameBytes
com.google.protobuf.ByteString getTargetContainerNameBytes()
If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec. The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined. +optional
optional string targetContainerName = 2;- Returns:
- The bytes for targetContainerName.
-
-