func TestMoveFiles(t *testing.T) { … }
func TestRollbackFiles(t *testing.T) { … }
func TestWriteKubeletConfigFiles(t *testing.T) { … }
func TestUnupgradedControlPlaneInstances(t *testing.T) { … }
type componentConfig …
func (cc *componentConfig) DeepCopy() kubeadmapi.ComponentConfig { … }
func (cc *componentConfig) Marshal() ([]byte, error) { … }
func (cc *componentConfig) Unmarshal(docmap kubeadmapi.DocumentMap) error { … }
func (cc *componentConfig) Get() interface{ … }
func (cc *componentConfig) Set(cfg interface{ … }
func (cc *componentConfig) Default(_ *kubeadmapi.ClusterConfiguration, _ *kubeadmapi.APIEndpoint, _ *kubeadmapi.NodeRegistrationOptions) { … }
func (cc *componentConfig) Mutate() error { … }
func (cc *componentConfig) IsUserSupplied() bool { … }
func (cc *componentConfig) SetUserSupplied(userSupplied bool) { … }
func moveFiles(files map[string]string) error { … }
func rollbackFiles(files map[string]string, originalErr error) error { … }