class Pyrite::Api::Admissionregistration::V1beta1::Webhook
Overview
Webhook describes an admission webhook and the resources and operations it applies to.
Defined in:
versions/v1.14/api/admissionregistration/v1beta1/webhook.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Webhook describes an admission webhook and the resources and operations it applies to.
-
.new(pull : JSON::PullParser)
Webhook describes an admission webhook and the resources and operations it applies to.
- .new(*, admission_review_versions : Array? = nil, client_config : Api::Admissionregistration::V1beta1::WebhookClientConfig, failure_policy : String? = nil, name : String, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, rules : Array? = nil, side_effects : String? = 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::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?)
- #timeout_seconds : Int32?
- #timeout_seconds=(timeout_seconds : Int32?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
Webhook describes an admission webhook and the resources and operations it applies to.
def self.new(pull : JSON::PullParser)
#
Webhook describes an admission webhook and the resources and operations it applies to.
def self.new(*, admission_review_versions : Array? = nil, client_config : Api::Admissionregistration::V1beta1::WebhookClientConfig, failure_policy : String? = nil, name : String, namespace_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, rules : Array? = nil, side_effects : String? = nil, timeout_seconds : Int32? = nil)
#