public static final class V1.WindowsSecurityContextOptions extends com.google.protobuf.GeneratedMessageV3 implements V1.WindowsSecurityContextOptionsOrBuilder
WindowsSecurityContextOptions contain Windows-specific options and credentials.Protobuf type
k8s.io.api.core.v1.WindowsSecurityContextOptions| Modifier and Type | Class and Description |
|---|---|
static class |
V1.WindowsSecurityContextOptions.Builder
WindowsSecurityContextOptions contain Windows-specific options and credentials.
|
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 |
GMSACREDENTIALSPEC_FIELD_NUMBER |
static int |
GMSACREDENTIALSPECNAME_FIELD_NUMBER |
static int |
HOSTPROCESS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> |
PARSER
Deprecated.
|
static int |
RUNASUSERNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.WindowsSecurityContextOptions |
getDefaultInstance() |
V1.WindowsSecurityContextOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGmsaCredentialSpec()
GMSACredentialSpec is where the GMSA admission webhook
(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
GMSA credential spec named by the GMSACredentialSpecName field.
|
com.google.protobuf.ByteString |
getGmsaCredentialSpecBytes()
GMSACredentialSpec is where the GMSA admission webhook
(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
GMSA credential spec named by the GMSACredentialSpecName field.
|
String |
getGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use.
|
com.google.protobuf.ByteString |
getGmsaCredentialSpecNameBytes()
GMSACredentialSpecName is the name of the GMSA credential spec to use.
|
boolean |
getHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container.
|
com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> |
getParserForType() |
String |
getRunAsUserName()
The UserName in Windows to run the entrypoint of the container process.
|
com.google.protobuf.ByteString |
getRunAsUserNameBytes()
The UserName in Windows to run the entrypoint of the container process.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGmsaCredentialSpec()
GMSACredentialSpec is where the GMSA admission webhook
(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
GMSA credential spec named by the GMSACredentialSpecName field.
|
boolean |
hasGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use.
|
int |
hashCode() |
boolean |
hasHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container.
|
boolean |
hasRunAsUserName()
The UserName in Windows to run the entrypoint of the container process.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.WindowsSecurityContextOptions.Builder |
newBuilder() |
static V1.WindowsSecurityContextOptions.Builder |
newBuilder(V1.WindowsSecurityContextOptions prototype) |
V1.WindowsSecurityContextOptions.Builder |
newBuilderForType() |
protected V1.WindowsSecurityContextOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.WindowsSecurityContextOptions |
parseDelimitedFrom(InputStream input) |
static V1.WindowsSecurityContextOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.WindowsSecurityContextOptions |
parseFrom(byte[] data) |
static V1.WindowsSecurityContextOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.WindowsSecurityContextOptions |
parseFrom(ByteBuffer data) |
static V1.WindowsSecurityContextOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.WindowsSecurityContextOptions |
parseFrom(com.google.protobuf.ByteString data) |
static V1.WindowsSecurityContextOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.WindowsSecurityContextOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.WindowsSecurityContextOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.WindowsSecurityContextOptions |
parseFrom(InputStream input) |
static V1.WindowsSecurityContextOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> |
parser() |
V1.WindowsSecurityContextOptions.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 GMSACREDENTIALSPECNAME_FIELD_NUMBER
public static final int GMSACREDENTIALSPEC_FIELD_NUMBER
public static final int RUNASUSERNAME_FIELD_NUMBER
public static final int HOSTPROCESS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> 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 hasGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;hasGmsaCredentialSpecName in interface V1.WindowsSecurityContextOptionsOrBuilderpublic String getGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;getGmsaCredentialSpecName in interface V1.WindowsSecurityContextOptionsOrBuilderpublic com.google.protobuf.ByteString getGmsaCredentialSpecNameBytes()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;getGmsaCredentialSpecNameBytes in interface V1.WindowsSecurityContextOptionsOrBuilderpublic boolean hasGmsaCredentialSpec()
GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. +optional
optional string gmsaCredentialSpec = 2;hasGmsaCredentialSpec in interface V1.WindowsSecurityContextOptionsOrBuilderpublic String getGmsaCredentialSpec()
GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. +optional
optional string gmsaCredentialSpec = 2;getGmsaCredentialSpec in interface V1.WindowsSecurityContextOptionsOrBuilderpublic com.google.protobuf.ByteString getGmsaCredentialSpecBytes()
GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. +optional
optional string gmsaCredentialSpec = 2;getGmsaCredentialSpecBytes in interface V1.WindowsSecurityContextOptionsOrBuilderpublic boolean hasRunAsUserName()
The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional
optional string runAsUserName = 3;hasRunAsUserName in interface V1.WindowsSecurityContextOptionsOrBuilderpublic String getRunAsUserName()
The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional
optional string runAsUserName = 3;getRunAsUserName in interface V1.WindowsSecurityContextOptionsOrBuilderpublic com.google.protobuf.ByteString getRunAsUserNameBytes()
The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. +optional
optional string runAsUserName = 3;getRunAsUserNameBytes in interface V1.WindowsSecurityContextOptionsOrBuilderpublic boolean hasHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. +optional
optional bool hostProcess = 4;hasHostProcess in interface V1.WindowsSecurityContextOptionsOrBuilderpublic boolean getHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true. +optional
optional bool hostProcess = 4;getHostProcess in interface V1.WindowsSecurityContextOptionsOrBuilderpublic 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.WindowsSecurityContextOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.WindowsSecurityContextOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.WindowsSecurityContextOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.WindowsSecurityContextOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.WindowsSecurityContextOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.WindowsSecurityContextOptions.Builder newBuilder()
public static V1.WindowsSecurityContextOptions.Builder newBuilder(V1.WindowsSecurityContextOptions prototype)
public V1.WindowsSecurityContextOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.WindowsSecurityContextOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.WindowsSecurityContextOptions getDefaultInstance()
public static com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> parser()
public com.google.protobuf.Parser<V1.WindowsSecurityContextOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.WindowsSecurityContextOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.