class K8S::Api::Flowcontrol::V1alpha1::NonResourcePolicyRule

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

Defined in:

versions/v1.18/api/flowcontrol/v1alpha1/non_resource_policy_rule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, non_resource_urls : Array(String), verbs : Array(String)) #

[View source]

Instance Method Detail

def non_resource_urls : Array(String) #

[View source]
def non_resource_urls=(non_resource_urls : Array(String)) #

[View source]
def verbs : Array(String) #

[View source]
def verbs=(verbs : Array(String)) #

[View source]