com.coralogix.zio.k8s.model.policy.v1beta1
RunAsGroupStrategyOptions
Companion object RunAsGroupStrategyOptions
case class RunAsGroupStrategyOptions(ranges: Optional[Vector[IDRange]] = Optional.Absent, rule: String) extends Product with Serializable
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.
- 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.
- rule
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
- Alphabetic
- By Inheritance
- RunAsGroupStrategyOptions
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RunAsGroupStrategyOptions(ranges: Optional[Vector[IDRange]] = Optional.Absent, rule: String)
- 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.
- rule
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
Value Members
-
def
getRanges: IO[K8sFailure, Vector[IDRange]]
ranges are the allowed ranges of gids that may be used.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getRule: IO[K8sFailure, String]
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
This effect always succeeds, it is safe to use the field rule directly.
- val ranges: Optional[Vector[IDRange]]
- val rule: String