util

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MutatingWebhookConfigurationName   = "yurt-manager-mutating-webhook-configuration"
	ValidatingWebhookConfigurationName = "yurt-manager-validating-webhook-configuration"
)

Variables

This section is empty.

Functions

func GenerateMutatePath

func GenerateMutatePath(gvk schema.GroupVersionKind) string

func GenerateValidatePath

func GenerateValidatePath(gvk schema.GroupVersionKind) string

func GetCertDir

func GetCertDir() string

func GetCertWriter

func GetCertWriter() string

func GetHost

func GetHost() string

func GetNamespace

func GetNamespace() string

func GetSecretName

func GetSecretName() string

func GetServiceName

func GetServiceName() string

func GetWebHookPort

func GetWebHookPort() int

func IsWebhookDisabled

func IsWebhookDisabled(name string, webhooks []string) bool

IsWebhookDisabled check if a specified webhook disabled or not.

func SetNamespace

func SetNamespace(ns string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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