type ServiceUpgradeTest … // Name returns the tracking name of the test. func (ServiceUpgradeTest) Name() string { … } // Setup creates a service with a load balancer and makes sure it's reachable. func (t *ServiceUpgradeTest) Setup(ctx context.Context, f *framework.Framework) { … } // Test runs a connectivity check to the service. func (t *ServiceUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{ … } // Teardown cleans up any remaining resources. func (t *ServiceUpgradeTest) Teardown(ctx context.Context, f *framework.Framework) { … } func (t *ServiceUpgradeTest) test(ctx context.Context, f *framework.Framework, done <-chan struct{ … }