class K8S::Api::Admissionregistration::V1::MutatingWebhook
- K8S::Api::Admissionregistration::V1::MutatingWebhook
- Reference
- Object
Overview
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/api/admissionregistration/v1/mutating_webhook.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, admission_review_versions : Array, client_config : Api::Admissionregistration::V1::WebhookClientConfig, name : String, side_effects : String, failure_policy : String? = nil, match_policy : String? = nil, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, object_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, reinvocation_policy : String? = nil, rules : Array? = nil, timeout_seconds : Int32? = nil)
Instance Method Summary
- #admission_review_versions : Array(String)
- #admission_review_versions=(admission_review_versions : Array(String))
- #client_config : Api::Admissionregistration::V1::WebhookClientConfig
- #client_config=(client_config : Api::Admissionregistration::V1::WebhookClientConfig)
- #failure_policy : String?
- #failure_policy=(failure_policy : String?)
- #match_policy : String?
- #match_policy=(match_policy : String?)
- #name : String
- #name=(name : String)
- #namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #namespace_selector=(namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #object_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #object_selector=(object_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #reinvocation_policy : String?
- #reinvocation_policy=(reinvocation_policy : String?)
- #rules : Array(Api::Admissionregistration::V1::RuleWithOperations)?
- #rules=(rules : Array(Api::Admissionregistration::V1::RuleWithOperations)?)
- #side_effects : String
- #side_effects=(side_effects : String)
- #timeout_seconds : Int32?
- #timeout_seconds=(timeout_seconds : Int32?)
Constructor Detail
def self.new(*, admission_review_versions : Array, client_config : Api::Admissionregistration::V1::WebhookClientConfig, name : String, side_effects : String, failure_policy : String? = nil, match_policy : String? = nil, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, object_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, reinvocation_policy : String? = nil, rules : Array? = nil, timeout_seconds : Int32? = nil)
#
Instance Method Detail
def client_config=(client_config : Api::Admissionregistration::V1::WebhookClientConfig)
#
def namespace_selector=(namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
#
def object_selector=(object_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
#