class K8S::Api::Admissionregistration::V1alpha1::Rule
- K8S::Api::Admissionregistration::V1alpha1::Rule
- Reference
- Object
Overview
Rule is a tuple of APIGroups, APIVersion, 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.13/api/admissionregistration/v1alpha1/rule.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, api_groups : Array? = nil, api_versions : Array? = nil, resources : Array? = nil)
Instance Method Summary
- #api_groups : Array(String)?
- #api_groups=(api_groups : Array(String)?)
- #api_versions : Array(String)?
- #api_versions=(api_versions : Array(String)?)
- #resources : Array(String)?
- #resources=(resources : Array(String)?)