class K8S::Api::Policy::V1beta1::RuntimeClassStrategyOptions
- K8S::Api::Policy::V1beta1::RuntimeClassStrategyOptions
- Reference
- Object
Overview
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/policy/v1beta1/runtime_class_strategy_options.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, allowed_runtime_class_names : Array, default_runtime_class_name : String? = nil)
Instance Method Summary
- #allowed_runtime_class_names : Array(String)
- #allowed_runtime_class_names=(allowed_runtime_class_names : Array(String))
- #default_runtime_class_name : String?
- #default_runtime_class_name=(default_runtime_class_name : String?)
Constructor Detail
def self.new(*, allowed_runtime_class_names : Array, default_runtime_class_name : String? = nil)
#