Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployMigrateWaiter ¶ added in v1.8.0
type DeployMigrateWaiter interface { Deployer Migrator MigrateWaiter Waiter }
DeployMigrateWaiter controls and waits for the life-cycle and control-plane migration operations of a component.
type DeployWaiter ¶
DeployWaiter controls and waits for life-cycle operations of a component.
func OpDestroy ¶
func OpDestroy(dw ...DeployWaiter) DeployWaiter
OpDestroy creates a DeployWaiter which calls Destroy instead of create and WaitCleanup instead of Wait
type Deployer ¶
type Deployer interface { // Deploy a component. Deploy(ctx context.Context) error // Destroy already deployed component. Destroy(ctx context.Context) error }
Deployer is used to control the life-cycle of a component.
func OpDestroyAndWait ¶
func OpDestroyAndWait(dw ...DeployWaiter) Deployer
OpDestroyAndWait creates a Deployer which calls Destroy instead of create and waits for destruction.
func OpWaiter ¶
func OpWaiter(dw ...DeployWaiter) Deployer
OpWaiter creates a Deployer which calls waits for each operation.
type MigrateWaiter ¶ added in v1.8.0
MigrateWaiter waits for the control-plane migration operations of a component to finish.
type Migrator ¶ added in v1.8.0
type Migrator interface { Restore(ctx context.Context, shootState *v1alpha1.ShootState) error Migrate(ctx context.Context) error }
Migrator is used to control the control-plane migration operations of a component.
type Waiter ¶
type Waiter interface { // Wait for deployment to finish and component to report ready. Wait(ctx context.Context) error // WaitCleanup for destruction to finish and component to be fully removed. WaitCleanup(ctx context.Context) error }
Waiter waits for life-cycle operations of a component to finish.