Class V1WindowsSecurityContextOptions
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WindowsSecurityContextOptions
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1WindowsSecurityContextOptions
extends Object
WindowsSecurityContextOptions contain Windows-specific options and credentials.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGMSACredentialSpec 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.GMSACredentialSpecName is the name of the GMSA credential spec to use.HostProcess determines if a container should be run as a 'Host Process' container.The UserName in Windows to run the entrypoint of the container process.gmsaCredentialSpec(String gmsaCredentialSpec) Set gmsaCredentialSpec in a chainable fashion.gmsaCredentialSpecName(String gmsaCredentialSpecName) Set gmsaCredentialSpecName in a chainable fashion.inthashCode()hostProcess(Boolean hostProcess) Set hostProcess in a chainable fashion.runAsUserName(String runAsUserName) Set runAsUserName in a chainable fashion.voidsetGmsaCredentialSpec(String gmsaCredentialSpec) Set the gmsaCredentialSpec property valuevoidsetGmsaCredentialSpecName(String gmsaCredentialSpecName) Set the gmsaCredentialSpecName property valuevoidsetHostProcess(Boolean hostProcess) Set the hostProcess property valuevoidsetRunAsUserName(String runAsUserName) Set the runAsUserName property valuetoString()
- 
Field Details- 
JSON_PROPERTY_GMSA_CREDENTIAL_SPEC- See Also:
 
- 
JSON_PROPERTY_GMSA_CREDENTIAL_SPEC_NAME- See Also:
 
- 
JSON_PROPERTY_HOST_PROCESS- See Also:
 
- 
JSON_PROPERTY_RUN_AS_USER_NAME- See Also:
 
 
- 
- 
Constructor Details- 
V1WindowsSecurityContextOptionspublic V1WindowsSecurityContextOptions()
 
- 
- 
Method Details- 
getGmsaCredentialSpecGMSACredentialSpec 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.- Returns:
- the gmsaCredentialSpec property value
 
- 
setGmsaCredentialSpecSet the gmsaCredentialSpec property value- Parameters:
- gmsaCredentialSpec- property value to set
 
- 
gmsaCredentialSpecSet gmsaCredentialSpec in a chainable fashion.- Returns:
- The same instance of V1WindowsSecurityContextOptions for chaining.
 
- 
getGmsaCredentialSpecNameGMSACredentialSpecName is the name of the GMSA credential spec to use.- Returns:
- the gmsaCredentialSpecName property value
 
- 
setGmsaCredentialSpecNameSet the gmsaCredentialSpecName property value- Parameters:
- gmsaCredentialSpecName- property value to set
 
- 
gmsaCredentialSpecNameSet gmsaCredentialSpecName in a chainable fashion.- Returns:
- The same instance of V1WindowsSecurityContextOptions for chaining.
 
- 
getHostProcessHostProcess 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.- Returns:
- the hostProcess property value
 
- 
setHostProcessSet the hostProcess property value- Parameters:
- hostProcess- property value to set
 
- 
hostProcessSet hostProcess in a chainable fashion.- Returns:
- The same instance of V1WindowsSecurityContextOptions for chaining.
 
- 
getRunAsUserNameThe 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.- Returns:
- the runAsUserName property value
 
- 
setRunAsUserNameSet the runAsUserName property value- Parameters:
- runAsUserName- property value to set
 
- 
runAsUserNameSet runAsUserName in a chainable fashion.- Returns:
- The same instance of V1WindowsSecurityContextOptions for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-