Class 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 Detail

      • RunAsGroupStrategyOptions

        public RunAsGroupStrategyOptions()
        No args constructor for use in serialization
      • RunAsGroupStrategyOptions

        public RunAsGroupStrategyOptions​(List<IDRange> ranges,
                                         String rule)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)