webhook

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DNS1123LabelDescription = "" /* 223-byte string literal not displayed */

Variables

This section is empty.

Functions

func GenerateMutateWebhookPath

func GenerateMutateWebhookPath(obj runtime.Object, scheme *runtime.Scheme) string

func GenerateMutateWebhookPathFromGVK

func GenerateMutateWebhookPathFromGVK(gvk schema.GroupVersionKind) string

func GenerateValidateWebhookPath

func GenerateValidateWebhookPath(obj runtime.Object, scheme *runtime.Scheme) string

func GenerateValidateWebhookPathFromGVK

func GenerateValidateWebhookPathFromGVK(gvk schema.GroupVersionKind) string

func IsDNS1123Label

func IsDNS1123Label(s string) bool

IsDNS1123Label validates if string s is a validated DNS 1123 label. A DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character.

Types

This section is empty.

Jump to

Keyboard shortcuts

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