providers

package
v1.4.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 4

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL