Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteClusterStep ¶
type DeleteClusterStep struct {
// contains filtered or unexported fields
}
func NewDeleteClusterStep ¶
func NewDeleteClusterStep(gardenerClient GardenerClient, nextStep model.OperationStage, timeLimit time.Duration) *DeleteClusterStep
func (*DeleteClusterStep) Name ¶
func (s *DeleteClusterStep) Name() model.OperationStage
func (*DeleteClusterStep) Run ¶
func (s *DeleteClusterStep) Run(cluster model.Cluster, _ model.Operation, logger logrus.FieldLogger) (operations.StageResult, error)
func (*DeleteClusterStep) TimeLimit ¶
func (s *DeleteClusterStep) TimeLimit() time.Duration
type GardenerClient ¶
type GardenerClient interface { Get(ctx context.Context, name string, options metav1.GetOptions) (*gardener_types.Shoot, error) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error }
type WaitForClusterDeletionStep ¶
type WaitForClusterDeletionStep struct {
// contains filtered or unexported fields
}
func NewWaitForClusterDeletionStep ¶
func NewWaitForClusterDeletionStep(gardenerClient GardenerClient, dbsFactory dbsession.Factory, nextStep model.OperationStage, timeLimit time.Duration) *WaitForClusterDeletionStep
func (*WaitForClusterDeletionStep) Name ¶
func (s *WaitForClusterDeletionStep) Name() model.OperationStage
func (*WaitForClusterDeletionStep) Run ¶
func (s *WaitForClusterDeletionStep) Run(cluster model.Cluster, _ model.Operation, _ logrus.FieldLogger) (operations.StageResult, error)
func (*WaitForClusterDeletionStep) TimeLimit ¶
func (s *WaitForClusterDeletionStep) TimeLimit() time.Duration
Click to show internal directories.
Click to hide internal directories.