webhook

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 11 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.

func SetDefaultLogLevel

func SetDefaultLogLevel(ctx context.Context, c client.Client, spec LogLevelSetter) error

Types

type LogLevelSetter

type LogLevelSetter interface {
	SetLogLevel(int)
}

Jump to

Keyboard shortcuts

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