nplabels

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetNodePoolLabelValidator

func SetNodePoolLabelValidator(v LabelValidator)

SetNodePoolLabelValidator configures a global node pool validator.

Types

type LabelValidator

type LabelValidator interface {
	ValidateKey(key string) error
	ValidateValue(value string) error
	ValidateLabel(key string, value string) error
	ValidateLabels(labels map[string]string) error
}

func NodePoolLabelValidator

func NodePoolLabelValidator() LabelValidator

NodePoolLabelValidator returns a global node pool validator.

Jump to

Keyboard shortcuts

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