package componentconfigs
import "k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs"
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme)
- func Default(clusterCfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions)
- func FetchFromCluster(clusterCfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) error
- func FetchFromDocumentMap(clusterCfg *kubeadmapi.ClusterConfiguration, docmap kubeadmapi.DocumentMap) error
- func Validate(clusterCfg *kubeadmapi.ClusterConfiguration) field.ErrorList
Constants ¶
const ( // KubeProxyGroup is a pointer to the used API group name for the kube-proxy config KubeProxyGroup = kubeproxyconfig.GroupName )
const ( // KubeletGroup is a pointer to the used API group name for the kubelet config KubeletGroup = kubeletconfig.GroupName )
Variables ¶
var Codecs = serializer.NewCodecFactory(Scheme)
Codecs provides access to encoding and decoding for the scheme.
Scheme is the runtime.Scheme to which all supported kubeadm ComponentConfig API types are registered.
Functions ¶
func AddToScheme ¶
AddToScheme builds the kubeadm ComponentConfig scheme using all known ComponentConfig versions.
func Default ¶
func Default(clusterCfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions)
Default sets up defaulted component configs in the supplied ClusterConfiguration
func FetchFromCluster ¶
func FetchFromCluster(clusterCfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) error
FetchFromCluster attempts to fetch all known component configs from their config maps and store them in the supplied ClusterConfiguration
func FetchFromDocumentMap ¶
func FetchFromDocumentMap(clusterCfg *kubeadmapi.ClusterConfiguration, docmap kubeadmapi.DocumentMap) error
FetchFromDocumentMap attempts to load all known component configs from a document map into the supplied ClusterConfiguration
func Validate ¶
func Validate(clusterCfg *kubeadmapi.ClusterConfiguration) field.ErrorList
Validate is a placeholder for performing a validation on an already loaded component configs in a ClusterConfiguration Currently it prints a warning that no validation was performed
Source Files ¶
configset.go kubelet.go kubeproxy.go scheme.go utils.go
- Version
- v1.19.0-beta.0
- Published
- May 19, 2020
- Platform
- linux/amd64
- Imports
- 25 packages
- Last checked
- 5 minutes ago –
Tools for package owners.