class K8S::Api::Admissionregistration::V1::RuleWithOperations
- K8S::Api::Admissionregistration::V1::RuleWithOperations
- Reference
- Object
Overview
RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/admissionregistration/v1/rule_with_operations.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, api_groups : Array? = nil, api_versions : Array? = nil, operations : Array? = nil, resources : Array? = nil, scope : String? = nil)
Instance Method Summary
- #api_groups : Array(String)?
- #api_groups=(api_groups : Array(String)?)
- #api_versions : Array(String)?
- #api_versions=(api_versions : Array(String)?)
- #operations : Array(String)?
- #operations=(operations : Array(String)?)
- #resources : Array(String)?
- #resources=(resources : Array(String)?)
- #scope : String?
- #scope=(scope : String?)
Constructor Detail
def self.new(*, api_groups : Array? = nil, api_versions : Array? = nil, operations : Array? = nil, resources : Array? = nil, scope : String? = nil)
#