Interface Generated.WindowsSecurityContextOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      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.
      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.
      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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.