Package k8s.io.api.core.v1
Interface Generated.WindowsSecurityContextOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.WindowsSecurityContextOptions,Generated.WindowsSecurityContextOptions.Builder
- Enclosing class:
- Generated
public static interface Generated.WindowsSecurityContextOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetGmsaCredentialSpec()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.ByteStringgetGmsaCredentialSpecBytes()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.StringgetGmsaCredentialSpecName()GMSACredentialSpecName is the name of the GMSA credential spec to use.com.google.protobuf.ByteStringgetGmsaCredentialSpecNameBytes()GMSACredentialSpecName is the name of the GMSA credential spec to use.booleangetHostProcess()HostProcess determines if a container should be run as a 'Host Process' container.StringgetRunAsUserName()The UserName in Windows to run the entrypoint of the container process.com.google.protobuf.ByteStringgetRunAsUserNameBytes()The UserName in Windows to run the entrypoint of the container process.booleanhasGmsaCredentialSpec()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.booleanhasGmsaCredentialSpecName()GMSACredentialSpecName is the name of the GMSA credential spec to use.booleanhasHostProcess()HostProcess determines if a container should be run as a 'Host Process' container.booleanhasRunAsUserName()The UserName in Windows to run the entrypoint of the container process.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGmsaCredentialSpecName
boolean hasGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;- Returns:
- Whether the gmsaCredentialSpecName field is set.
-
getGmsaCredentialSpecName
String getGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;- Returns:
- The gmsaCredentialSpecName.
-
getGmsaCredentialSpecNameBytes
com.google.protobuf.ByteString getGmsaCredentialSpecNameBytes()
GMSACredentialSpecName is the name of the GMSA credential spec to use. +optional
optional string gmsaCredentialSpecName = 1;- Returns:
- The bytes for gmsaCredentialSpecName.
-
hasGmsaCredentialSpec
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;- Returns:
- Whether the gmsaCredentialSpec field is set.
-
getGmsaCredentialSpec
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;- Returns:
- The gmsaCredentialSpec.
-
getGmsaCredentialSpecBytes
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;- Returns:
- The bytes for gmsaCredentialSpec.
-
hasRunAsUserName
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;- Returns:
- Whether the runAsUserName field is set.
-
getRunAsUserName
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;- Returns:
- The runAsUserName.
-
getRunAsUserNameBytes
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;- Returns:
- The bytes for runAsUserName.
-
hasHostProcess
boolean hasHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container. 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;- Returns:
- Whether the hostProcess field is set.
-
getHostProcess
boolean getHostProcess()
HostProcess determines if a container should be run as a 'Host Process' container. 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;- Returns:
- The hostProcess.
-
-