Documentation ¶
Index ¶
- Constants
- func GenerateMutateWebhookPath(obj runtime.Object, scheme *runtime.Scheme) string
- func GenerateMutateWebhookPathFromGVK(gvk schema.GroupVersionKind) string
- func GenerateValidateWebhookPath(obj runtime.Object, scheme *runtime.Scheme) string
- func GenerateValidateWebhookPathFromGVK(gvk schema.GroupVersionKind) string
- func IsDNS1123Label(s string) bool
- func SetDefaultLogLevel(ctx context.Context, c client.Client, spec LogLevelSetter) error
- type LogLevelSetter
Constants ¶
View Source
const DNS1123LabelDescription = "" /* 223-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GenerateMutateWebhookPathFromGVK ¶
func GenerateMutateWebhookPathFromGVK(gvk schema.GroupVersionKind) string
func GenerateValidateWebhookPathFromGVK ¶
func GenerateValidateWebhookPathFromGVK(gvk schema.GroupVersionKind) string
func IsDNS1123Label ¶
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 ¶
Types ¶
type LogLevelSetter ¶
type LogLevelSetter interface {
SetLogLevel(int)
}
Click to show internal directories.
Click to hide internal directories.