Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "drainer"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func NewResource ¶
func NewResource(config ResourceConfig) (*Resource, error)
func (*Resource) EnsureCreated ¶
func (*Resource) EnsureDeleted ¶
type ResourceConfig ¶
type ResourceConfig struct { G8sClient versioned.Interface Logger micrologger.Logger ToClusterFunc func(v interface{}) (infrastructurev1alpha2.AWSCluster, error) }
Click to show internal directories.
Click to hide internal directories.