class K8S::Api::Flowcontrol::V1beta1::NonResourcePolicyRule
- K8S::Api::Flowcontrol::V1beta1::NonResourcePolicyRule
- Reference
- Object
Overview
NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/flowcontrol/v1beta1/non_resource_policy_rule.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, non_resource_urls : Array, verbs : Array)
Instance Method Summary
- #non_resource_urls : Array(String)
- #non_resource_urls=(non_resource_urls : Array(String))
- #verbs : Array(String)
- #verbs=(verbs : Array(String))