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