Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupManager ¶
type CleanupManager interface {
Cleanup(ctx context.Context, resource CleanupableResource) (ctrl.Result, error)
}
CleanupManager defines the interface for cleaning up resources
func NewDefaultCleanupManager ¶
func NewDefaultCleanupManager(client client.Client, log logr.Logger) CleanupManager
type CleanupableResource ¶ added in v0.4.0
type CleanupableResource interface { GetResources() []Resource ShouldDelete(resource Resource) bool }
CleanupableResource defines the interface for resources that can be cleaned up
Click to show internal directories.
Click to hide internal directories.