util

package
v0.15.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 32

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL