Class FSGroupStrategyOptions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.policy.v1beta1.FSGroupStrategyOptions
-
- All Implemented Interfaces:
Editable<FSGroupStrategyOptionsBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FSGroupStrategyOptions extends Object implements Editable<FSGroupStrategyOptionsBuilder>, KubernetesResource
FSGroupStrategyOptions defines the strategy type and options used to create the strategy.- 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 interfaceEditable<FSGroupStrategyOptionsBuilder>
-
toBuilder
public FSGroupStrategyOptionsBuilder toBuilder()
-
-