package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AddToScheme builds the kubeadm ComponentConfig scheme using all known ComponentConfig versions.
ChecksumForConfigMap calculates a checksum for the supplied config map.
Default sets up defaulted component configs in the supplied ClusterConfiguration.
FetchFromCluster attempts to fetch all known component configs from their config maps and store them in the supplied ClusterConfiguration.
FetchFromDocumentMap attempts to load all known component configs from a document map into the supplied ClusterConfiguration.
GetVersionStates returns a slice of ComponentConfigVersionState structs describing all supported component config groups that were identified on the cluster.
SignConfigMap calculates the supplied config map checksum and annotates it with it.
Validate is a placeholder for performing a validation on an already loaded component configs in a ClusterConfiguration TODO: investigate if the function can be repurposed for validating component config via CLI.
VerifyConfigMapSignature returns true if the config map has checksum annotation and it matches; false otherwise.
# Constants
KubeletGroup is a pointer to the used API group name for the kubelet config.
KubeProxyGroup is a pointer to the used API group name for the kube-proxy config.
# Structs
UnsupportedConfigVersionError is a special error type returned whenever we encounter too old config version.
# Type aliases
UnsupportedConfigVersionsErrorMap is a cumulative version of the UnsupportedConfigVersionError type.