type ConfigMapUpgradeTest … // Name returns the tracking name of the test. func (ConfigMapUpgradeTest) Name() string { … } // Setup creates a ConfigMap and then verifies that a pod can consume it. func (t *ConfigMapUpgradeTest) Setup(ctx context.Context, f *framework.Framework) { … } // Test waits for the upgrade to complete, and then verifies that a // pod can still consume the ConfigMap. func (t *ConfigMapUpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{ … } // Teardown cleans up any remaining resources. func (t *ConfigMapUpgradeTest) Teardown(ctx context.Context, f *framework.Framework) { … } // testPod creates a pod that consumes a ConfigMap and prints it out. The // output is then verified. func (t *ConfigMapUpgradeTest) testPod(ctx context.Context, f *framework.Framework) { … }