public static final class V1.EphemeralContainer extends com.google.protobuf.GeneratedMessageV3 implements V1.EphemeralContainerOrBuilder
An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. This is a beta feature available on clusters that haven't disabled the EphemeralContainers feature gate.Protobuf type
k8s.io.api.core.v1.EphemeralContainer| Modifier and Type | Class and Description |
|---|---|
static class |
V1.EphemeralContainer.Builder
An EphemeralContainer is a temporary container that you may add to an existing Pod for
user-initiated activities such as debugging.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EPHEMERALCONTAINERCOMMON_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.EphemeralContainer> |
PARSER
Deprecated.
|
static int |
TARGETCONTAINERNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.EphemeralContainer |
getDefaultInstance() |
V1.EphemeralContainer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
V1.EphemeralContainerCommon |
getEphemeralContainerCommon()
Ephemeral containers have all of the fields of Container, plus additional fields
specific to ephemeral containers.
|
V1.EphemeralContainerCommonOrBuilder |
getEphemeralContainerCommonOrBuilder()
Ephemeral containers have all of the fields of Container, plus additional fields
specific to ephemeral containers.
|
com.google.protobuf.Parser<V1.EphemeralContainer> |
getParserForType() |
int |
getSerializedSize() |
String |
getTargetContainerName()
If set, the name of the container from PodSpec that this ephemeral container targets.
|
com.google.protobuf.ByteString |
getTargetContainerNameBytes()
If set, the name of the container from PodSpec that this ephemeral container targets.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEphemeralContainerCommon()
Ephemeral containers have all of the fields of Container, plus additional fields
specific to ephemeral containers.
|
int |
hashCode() |
boolean |
hasTargetContainerName()
If set, the name of the container from PodSpec that this ephemeral container targets.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.EphemeralContainer.Builder |
newBuilder() |
static V1.EphemeralContainer.Builder |
newBuilder(V1.EphemeralContainer prototype) |
V1.EphemeralContainer.Builder |
newBuilderForType() |
protected V1.EphemeralContainer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.EphemeralContainer |
parseDelimitedFrom(InputStream input) |
static V1.EphemeralContainer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EphemeralContainer |
parseFrom(byte[] data) |
static V1.EphemeralContainer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EphemeralContainer |
parseFrom(ByteBuffer data) |
static V1.EphemeralContainer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EphemeralContainer |
parseFrom(com.google.protobuf.ByteString data) |
static V1.EphemeralContainer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EphemeralContainer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.EphemeralContainer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.EphemeralContainer |
parseFrom(InputStream input) |
static V1.EphemeralContainer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.EphemeralContainer> |
parser() |
V1.EphemeralContainer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int EPHEMERALCONTAINERCOMMON_FIELD_NUMBER
public static final int TARGETCONTAINERNAME_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.EphemeralContainer> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;
hasEphemeralContainerCommon in interface V1.EphemeralContainerOrBuilderpublic V1.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;
getEphemeralContainerCommon in interface V1.EphemeralContainerOrBuilderpublic V1.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;
getEphemeralContainerCommonOrBuilder in interface V1.EphemeralContainerOrBuilderpublic 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;hasTargetContainerName in interface V1.EphemeralContainerOrBuilderpublic 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;getTargetContainerName in interface V1.EphemeralContainerOrBuilderpublic 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;getTargetContainerNameBytes in interface V1.EphemeralContainerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.EphemeralContainer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.EphemeralContainer parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EphemeralContainer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EphemeralContainer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.EphemeralContainer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.EphemeralContainer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.EphemeralContainer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.EphemeralContainer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.EphemeralContainer.Builder newBuilder()
public static V1.EphemeralContainer.Builder newBuilder(V1.EphemeralContainer prototype)
public V1.EphemeralContainer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.EphemeralContainer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.EphemeralContainer getDefaultInstance()
public static com.google.protobuf.Parser<V1.EphemeralContainer> parser()
public com.google.protobuf.Parser<V1.EphemeralContainer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.EphemeralContainer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.