kubernetes/test/e2e/upgrades/auth/serviceaccount_admission_controller_migration.go

const podBeforeMigrationName

const podAfterMigrationName

type ServiceAccountAdmissionControllerMigrationTest

// Name returns the tracking name of the test.
func (ServiceAccountAdmissionControllerMigrationTest) Name() string {}

// Setup creates pod-before-migration which has legacy service account token.
func (t *ServiceAccountAdmissionControllerMigrationTest) Setup(ctx context.Context, f *framework.Framework) {}

// Test waits for the upgrade to complete, and then verifies pod-before-migration
// and pod-after-migration are able to make requests using in cluster config.
func (t *ServiceAccountAdmissionControllerMigrationTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}

// Teardown cleans up any remaining resources.
func (t *ServiceAccountAdmissionControllerMigrationTest) Teardown(ctx context.Context, f *framework.Framework) {}

func inClusterClientMustWork(ctx context.Context, f *framework.Framework, pod *v1.Pod) {}

// createPod creates a pod.
func createPod(ctx context.Context, f *framework.Framework, podName string) *v1.Pod {}