Class RunAsGroupStrategyOptions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.RunAsGroupStrategyOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RunAsGroupStrategyOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RunAsGroupStrategyOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<RunAsGroupStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunAsGroupStrategyOptions()No args constructor for use in serializationRunAsGroupStrategyOptions(List<IDRange> ranges, String rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunAsGroupStrategyOptionsBuilderedit()Map<String,Object>getAdditionalProperties()List<IDRange>getRanges()ranges are the allowed ranges of gids that may be used.StringgetRule()rule is the strategy that will dictate the allowable RunAsGroup 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 gids that may be used.voidsetRule(String rule)rule is the strategy that will dictate the allowable RunAsGroup values that may be set.RunAsGroupStrategyOptionsBuildertoBuilder()
-
-
-
Method Detail
-
getRanges
public List<IDRange> getRanges()
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid 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 gids that may be used. If you would like to force a single gid 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 RunAsGroup values that may be set.
-
setRule
public void setRule(String rule)
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
-
edit
public RunAsGroupStrategyOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RunAsGroupStrategyOptionsBuilder>
-
toBuilder
public RunAsGroupStrategyOptionsBuilder toBuilder()
-
-