/// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1PodSecurityContext class.
 /// </summary>
 public Iok8skubernetespkgapiv1PodSecurityContext(long?fsGroup = default(long?), bool?runAsNonRoot = default(bool?), long?runAsUser = default(long?), Iok8skubernetespkgapiv1SELinuxOptions seLinuxOptions = default(Iok8skubernetespkgapiv1SELinuxOptions), IList <long?> supplementalGroups = default(IList <long?>))
 {
     FsGroup            = fsGroup;
     RunAsNonRoot       = runAsNonRoot;
     RunAsUser          = runAsUser;
     SeLinuxOptions     = seLinuxOptions;
     SupplementalGroups = supplementalGroups;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1SecurityContext class.
 /// </summary>
 public Iok8skubernetespkgapiv1SecurityContext(Iok8skubernetespkgapiv1Capabilities capabilities = default(Iok8skubernetespkgapiv1Capabilities), bool?privileged = default(bool?), bool?readOnlyRootFilesystem = default(bool?), bool?runAsNonRoot = default(bool?), long?runAsUser = default(long?), Iok8skubernetespkgapiv1SELinuxOptions seLinuxOptions = default(Iok8skubernetespkgapiv1SELinuxOptions))
 {
     Capabilities           = capabilities;
     Privileged             = privileged;
     ReadOnlyRootFilesystem = readOnlyRootFilesystem;
     RunAsNonRoot           = runAsNonRoot;
     RunAsUser      = runAsUser;
     SeLinuxOptions = seLinuxOptions;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgsecurityapissecurityv1SELinuxContextStrategyOptions
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgsecurityapissecurityv1SELinuxContextStrategyOptions(Iok8skubernetespkgapiv1SELinuxOptions seLinuxOptions = default(Iok8skubernetespkgapiv1SELinuxOptions), string type = default(string))
 {
     SeLinuxOptions = seLinuxOptions;
     Type           = type;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapisextensionsv1beta1SELinuxStrategyOptions
 /// class.
 /// </summary>
 public Iok8skubernetespkgapisextensionsv1beta1SELinuxStrategyOptions(string rule, Iok8skubernetespkgapiv1SELinuxOptions seLinuxOptions = default(Iok8skubernetespkgapiv1SELinuxOptions))
 {
     Rule           = rule;
     SeLinuxOptions = seLinuxOptions;
 }