var serviceCIDRv4 … var serviceCIDRv6 … type fakeRepair … func newFakeRepair() (*fake.Clientset, *fakeRepair) { … } func TestRepairServiceIP(t *testing.T) { … } func TestRepairIPAddress_syncIPAddress(t *testing.T) { … } func newService(name string, ips []string) *v1.Service { … } func newServiceCIDR(name, primary, secondary string) *networkingv1beta1.ServiceCIDR { … } func expectAction(t *testing.T, actions []k8stesting.Action, expected [][]string) { … } func expectEvents(t *testing.T, actual <-chan string, expected []string) { … }