Class RunAsUserStrategyOptions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.RunAsUserStrategyOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RunAsUserStrategyOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RunAsUserStrategyOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<RunAsUserStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceRunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunAsUserStrategyOptions()No args constructor for use in serializationRunAsUserStrategyOptions(List<IDRange> ranges, String rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunAsUserStrategyOptionsBuilderedit()Map<String,Object>getAdditionalProperties()List<IDRange>getRanges()ranges are the allowed ranges of uids that may be used.StringgetRule()rule is the strategy that will dictate the allowable RunAsUser values that may be set.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRanges(List<IDRange> ranges)ranges are the allowed ranges of uids that may be used.voidsetRule(String rule)rule is the strategy that will dictate the allowable RunAsUser values that may be set.RunAsUserStrategyOptionsBuildertoBuilder()
-
-
-
Method Detail
-
getRanges
public List<IDRange> getRanges()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
-
setRanges
public void setRanges(List<IDRange> ranges)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
-
getRule
public String getRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
-
setRule
public void setRule(String rule)
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
-
edit
public RunAsUserStrategyOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RunAsUserStrategyOptionsBuilder>
-
toBuilder
public RunAsUserStrategyOptionsBuilder toBuilder()
-
-