Documentation ¶
Index ¶
- type ServiceAccountAdmissionControllerMigrationTest
- func (ServiceAccountAdmissionControllerMigrationTest) Name() string
- func (t *ServiceAccountAdmissionControllerMigrationTest) Setup(ctx context.Context, f *framework.Framework)
- func (t *ServiceAccountAdmissionControllerMigrationTest) Teardown(ctx context.Context, f *framework.Framework)
- func (t *ServiceAccountAdmissionControllerMigrationTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceAccountAdmissionControllerMigrationTest ¶
type ServiceAccountAdmissionControllerMigrationTest struct {
// contains filtered or unexported fields
}
ServiceAccountAdmissionControllerMigrationTest test that a pod is functioning before and after a cluster upgrade.
func (ServiceAccountAdmissionControllerMigrationTest) Name ¶
func (ServiceAccountAdmissionControllerMigrationTest) Name() string
Name returns the tracking name of the test.
func (*ServiceAccountAdmissionControllerMigrationTest) Setup ¶
func (t *ServiceAccountAdmissionControllerMigrationTest) Setup(ctx context.Context, f *framework.Framework)
Setup creates pod-before-migration which has legacy service account token.
func (*ServiceAccountAdmissionControllerMigrationTest) Teardown ¶
func (t *ServiceAccountAdmissionControllerMigrationTest) Teardown(ctx context.Context, f *framework.Framework)
Teardown cleans up any remaining resources.
func (*ServiceAccountAdmissionControllerMigrationTest) Test ¶
func (t *ServiceAccountAdmissionControllerMigrationTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
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.
Click to show internal directories.
Click to hide internal directories.