class Pyrite::Api::Extensions::V1beta1::RunAsUserStrategyOptions
Overview
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.
Defined in:
versions/v1.14/api/extensions/v1beta1/run_as_user_strategy_options.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
-
.new(pull : JSON::PullParser)
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
- .new(*, ranges : Array? = nil, rule : String)
Instance Method Summary
- #ranges : Array(Api::Extensions::V1beta1::IDRange)?
- #ranges=(ranges : Array(Api::Extensions::V1beta1::IDRange)?)
- #rule : String
- #rule=(rule : String)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.
def self.new(pull : JSON::PullParser)
#
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.