util

package
Version: v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAdmissionReviewVersion added in v1.14.0

func HasAdmissionReviewVersion(a string, w *v1beta1.Webhook) bool

HasAdmissionReviewVersion check whether a version is accepted by a given webhook.

func HookClientConfigForWebhook

func HookClientConfigForWebhook(w *v1beta1.Webhook) webhook.ClientConfig

HookClientConfigForWebhook construct a webhook.ClientConfig using a v1beta1.Webhook API object. webhook.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