Package io.fabric8.openshift.api.model
Class FSGroupStrategyOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.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.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 type)
-
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.StringgetType()type 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.voidsetType(String type)type 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.
-
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.
-
getType
public String getType()
type is the strategy that will dictate what FSGroup is used in the SecurityContext.
-
setType
public void setType(String type)
type 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()
-
-