kubernetes/cmd/kubeadm/app/phases/upgrade/postupgrade_test.go

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) {}

// moveFiles moves files from one directory to another.
func moveFiles(files map[string]string) error {}

// rollbackFiles moves the files back to the original directory.
func rollbackFiles(files map[string]string, originalErr error) error {}