// TestCreateServiceSingleStackIPv4 test the Service dualstackness in an IPv4 SingleStack cluster func TestCreateServiceSingleStackIPv4(t *testing.T) { … } // TestCreateServiceSingleStackIPv6 test the Service dualstackness in an IPv6 only DualStack cluster func TestCreateServiceSingleStackIPv6(t *testing.T) { … } // TestCreateServiceDualStackIPv4IPv6 test the Service dualstackness in a IPv4IPv6 DualStack cluster func TestCreateServiceDualStackIPv4IPv6(t *testing.T) { … } // TestCreateServiceDualStackIPv6IPv4 test the Service dualstackness in a IPv6IPv4 DualStack cluster func TestCreateServiceDualStackIPv6IPv4(t *testing.T) { … } // TestUpgradeDowngrade tests upgrading and downgrading a service from/to dual-stack func TestUpgradeDowngrade(t *testing.T) { … } // TestConvertToFromExternalName tests the compatibility with old clients that // may not clear ClusterIPs func TestConvertToFromExternalName(t *testing.T) { … } // TestPreferDualStack preferDualstack on create and update func TestPreferDualStack(t *testing.T) { … } type labelsForMergePatch … // tests an update service while dualstack flag is off func TestServiceUpdate(t *testing.T) { … } // validateServiceAndClusterIPFamily checks that the service has the expected IPFamilies func validateServiceAndClusterIPFamily(svc *v1.Service, expectedIPFamilies []v1.IPFamily) error { … } func TestUpgradeServicePreferToDualStack(t *testing.T) { … } func TestDowngradeServicePreferToDualStack(t *testing.T) { … } type serviceMergePatch … type specMergePatch … // tests success when converting ClusterIP:Headless service to ExternalName func Test_ServiceChangeTypeHeadlessToExternalNameWithPatch(t *testing.T) { … }