Class FSGroupStrategyOptions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.FSGroupStrategyOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FSGroupStrategyOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FSGroupStrategyOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<FSGroupStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceFSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FSGroupStrategyOptions()No args constructor for use in serializationFSGroupStrategyOptions(List<IDRange> ranges, String rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FSGroupStrategyOptionsBuilderedit()Map<String,Object>getAdditionalProperties()List<IDRange>getRanges()ranges are the allowed ranges of fs groups.StringgetRule()rule is the strategy that will dictate what FSGroup is used in the SecurityContext.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRanges(List<IDRange> ranges)ranges are the allowed ranges of fs groups.voidsetRule(String rule)rule is the strategy that will dictate what FSGroup is used in the SecurityContext.FSGroupStrategyOptionsBuildertoBuilder()
-
-
-
Method Detail
-
getRanges
public List<IDRange> getRanges()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group 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 fs groups. If you would like to force a single fs group 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 what FSGroup is used in the SecurityContext.
-
setRule
public void setRule(String rule)
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
-
edit
public FSGroupStrategyOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FSGroupStrategyOptionsBuilder>
-
toBuilder
public FSGroupStrategyOptionsBuilder toBuilder()
-
-