Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registry = make(map[string]NewFunc)
Registry maps ClusterMetadata.Platform() to per-platform Destroyer creators.
Functions ¶
This section is empty.
Types ¶
type Destroyer ¶
type Destroyer interface {
Run() (*types.ClusterQuota, error)
}
Destroyer allows multiple implementations of destroy for different platforms.
type NewFunc ¶
type NewFunc func(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (Destroyer, error)
NewFunc is an interface for creating platform-specific destroyers.
Click to show internal directories.
Click to hide internal directories.