Class RunAsUserStrategyOptions

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<RunAsUserStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RunAsUserStrategyOptions
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RunAsUserStrategyOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
    See Also:
    Serialized Form
    • Constructor Detail

      • RunAsUserStrategyOptions

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

        public RunAsUserStrategyOptions​(List<IDRange> ranges,
                                        String rule)
    • Method Detail

      • getRanges

        public List<IDRange> getRanges()
        ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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 uids that may be used. If you would like to force a single uid 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 RunAsUser values that may be set.
      • setRule

        public void setRule​(String rule)
        rule is the strategy that will dictate the allowable RunAsUser 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)