struct
Kubernetes::WebhookConversion
- Kubernetes::WebhookConversion
- Struct
- Value
- Object
Overview
WebhookConversion describes how to call a conversion webhook
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apiextensions-apiserver_pkg_apis_apiextensions_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#client_config : WebhookClientConfig | Nil
clientConfig is the instructions for how to call the webhook if strategy is
Webhook. -
#client_config=(client_config : WebhookClientConfig | Nil)
clientConfig is the instructions for how to call the webhook if strategy is
Webhook. -
#conversion_review_versions : Array(String) | Nil
conversionReviewVersions is an ordered list of preferred
ConversionReviewversions the Webhook expects. -
#conversion_review_versions=(conversion_review_versions : Array(String) | Nil)
conversionReviewVersions is an ordered list of preferred
ConversionReviewversions the Webhook expects.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
clientConfig is the instructions for how to call the webhook if strategy is Webhook.
clientConfig is the instructions for how to call the webhook if strategy is Webhook.
conversionReviewVersions is an ordered list of preferred ConversionReview versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.
conversionReviewVersions is an ordered list of preferred ConversionReview versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.