type DaemonSetUpgradeTest … // Name returns the tracking name of the test. func (DaemonSetUpgradeTest) Name() string { … } // Setup creates a DaemonSet and verifies that it's running func (t *DaemonSetUpgradeTest) Setup(ctx context.Context, f *framework.Framework) { … } // Test waits until the upgrade has completed and then verifies that the DaemonSet // is still running func (t *DaemonSetUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{ … } // Teardown cleans up any remaining resources. func (t *DaemonSetUpgradeTest) Teardown(ctx context.Context, f *framework.Framework) { … } func (t *DaemonSetUpgradeTest) validateRunningDaemonSet(ctx context.Context, f *framework.Framework) { … }