class K8S::Api::Admissionregistration::V1::ValidatingWebhook
- K8S::Api::Admissionregistration::V1::ValidatingWebhook
- Reference
- Object
Overview
ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/admissionregistration/v1/validating_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, 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?)
- #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, 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?)
#