Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1WindowsSecurityContextOptions
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1WindowsSecurityContextOptions
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1WindowsSecurityContextOptions extends Object
WindowsSecurityContextOptions contain Windows-specific options and credentials.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_GMSA_CREDENTIAL_SPECstatic StringJSON_PROPERTY_GMSA_CREDENTIAL_SPEC_NAMEstatic StringJSON_PROPERTY_RUN_AS_USER_NAME
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1WindowsSecurityContextOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)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.StringgetGmsaCredentialSpecName()GMSACredentialSpecName is the name of the GMSA credential spec to use.StringgetRunAsUserName()The UserName in Windows to run the entrypoint of the container process.IoK8sApiCoreV1WindowsSecurityContextOptionsgmsaCredentialSpec(String gmsaCredentialSpec)IoK8sApiCoreV1WindowsSecurityContextOptionsgmsaCredentialSpecName(String gmsaCredentialSpecName)inthashCode()IoK8sApiCoreV1WindowsSecurityContextOptionsrunAsUserName(String runAsUserName)voidsetGmsaCredentialSpec(String gmsaCredentialSpec)voidsetGmsaCredentialSpecName(String gmsaCredentialSpecName)voidsetRunAsUserName(String runAsUserName)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_GMSA_CREDENTIAL_SPEC
public static final String JSON_PROPERTY_GMSA_CREDENTIAL_SPEC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GMSA_CREDENTIAL_SPEC_NAME
public static final String JSON_PROPERTY_GMSA_CREDENTIAL_SPEC_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RUN_AS_USER_NAME
public static final String JSON_PROPERTY_RUN_AS_USER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
gmsaCredentialSpec
public IoK8sApiCoreV1WindowsSecurityContextOptions gmsaCredentialSpec(String gmsaCredentialSpec)
-
getGmsaCredentialSpec
@Nullable public 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.- Returns:
- gmsaCredentialSpec
-
setGmsaCredentialSpec
public void setGmsaCredentialSpec(String gmsaCredentialSpec)
-
gmsaCredentialSpecName
public IoK8sApiCoreV1WindowsSecurityContextOptions gmsaCredentialSpecName(String gmsaCredentialSpecName)
-
getGmsaCredentialSpecName
@Nullable public String getGmsaCredentialSpecName()
GMSACredentialSpecName is the name of the GMSA credential spec to use.- Returns:
- gmsaCredentialSpecName
-
setGmsaCredentialSpecName
public void setGmsaCredentialSpecName(String gmsaCredentialSpecName)
-
runAsUserName
public IoK8sApiCoreV1WindowsSecurityContextOptions runAsUserName(String runAsUserName)
-
getRunAsUserName
@Nullable public 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.- Returns:
- runAsUserName
-
setRunAsUserName
public void setRunAsUserName(String runAsUserName)
-
-