const KubeadmGroupName … func TestValidateSupportedVersion(t *testing.T) { … } func TestLowercaseSANs(t *testing.T) { … } func TestVerifyAPIServerBindAddress(t *testing.T) { … } // NOTE: do not delete this test once an older API is removed and there is only one API left. // Update the inline "gv" and "gvNew" variables, to have the GroupVersion String of // the API to be tested. If there are no new APIs make "gvNew" point to the old API. // If an experimental API has to be tested, use the 'allowExperimental' option // and add negative and positive test cases for the experimental API. func TestMigrateOldConfig(t *testing.T) { … } // Test the migration of all breaking changes in v1beta4, marked as "MIGRATED" in the YAML below: // - ExtraArgs // - ClusterConfiguration.APIServer.TimeoutForControlPlane -> {Init|Join}Configuration.Timeout.ControlPlaneComponentHealthCheck // - JoinConfiguration.Discovery.Timeout -> JoinConfiguration.Timeout.Discovery func TestMigrateV1Beta3WithBreakingChanges(t *testing.T) { … } // NOTE: do not delete this test once an older API is removed and there is only one API left. // Update the inline "gv" and "gvNew" variables, to have the GroupVersion String of // the API to be tested. If there are no experimental APIs make "gvNew" point to // an non-experimental API. func TestValidateConfig(t *testing.T) { … } func TestIsKubeadmPrereleaseVersion(t *testing.T) { … } func TestNormalizeKubernetesVersion(t *testing.T) { … } // TODO: update the test cases for this test once v1beta3 is removed. func TestDefaultMigrateMutators(t *testing.T) { … } func TestIsKubeadmConfigPresent(t *testing.T) { … }