Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNodeNotFound = fmt.Errorf("node selector not found")
Functions ¶
func ApplyDefaults ¶
func ApplyDefaultsFallback ¶
func ApplyDefaultsFallback(nodeSelectorValue string) defaultPod
func SetupPodWebhookWithManager ¶
SetupPodWebhookWithManager registers the webhook for Pod in the manager.
Types ¶
type PodCustomDefaulter ¶
type PodCustomDefaulter struct {
// contains filtered or unexported fields
}
PodCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Pod when those are created or updated.
Click to show internal directories.
Click to hide internal directories.