package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddGlobalFlags explicitly registers flags that libraries (glog, verflag, etc.) register against the global flagsets from "flag" and "github.com/spf13/pflag".
AddKubeletConfigFlags adds flags for a specific kubeletconfig.KubeletConfiguration to the specified FlagSet.
NewContainerRuntimeOptions will create a new ContainerRuntimeOptions with default values.
NewKubeletConfiguration will create a new KubeletConfiguration with default values.
NewKubeletFlags will create a new KubeletFlags with default values.
NewKubeletServer will create a new KubeletServer with default values.
ValidateKubeletFlags validates Kubelet's configuration flags and returns an error if they are invalid.
ValidateKubeletServer validates configuration of KubeletServer and returns an error if the input configuration is invalid.
# Structs
KubeletFlags contains configuration flags for the Kubelet.
KubeletServer encapsulates all of the parameters necessary for starting up a kubelet.