Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAdmissionReviewVersion ¶
func HasAdmissionReviewVersion(a string, w webhook.WebhookAccessor) bool
HasAdmissionReviewVersion check whether a version is accepted by a given webhook.
func HookClientConfigForWebhook ¶
func HookClientConfigForWebhook(w webhook.WebhookAccessor) webhookutil.ClientConfig
HookClientConfigForWebhook construct a webhookutil.ClientConfig using a WebhookAccessor to access v1beta1.MutatingWebhook and v1beta1.ValidatingWebhook API objects. webhookutil.ClientConfig is used to create a HookClient and the purpose of the config struct is to share that with other packages that need to create a HookClient.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.