cleaners

package
v0.0.0-...-4c64dde Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceGroupCleaners = []ResourceGroupCleaner{

	removeLocksFromResourceGroupCleaner{},
	removeDataProtectionFromResourceGroupCleaner{},
	eventhubNamespaceBreakPairingCleaner{},
	notificationHubNamespacesCleaner{},
	paloAltoLocalRulestackCleaner{},
	serviceBusNamespaceBreakPairingCleaner{},
}
View Source
var SubscriptionCleaners = []SubscriptionCleaner{
	deleteNetAppSubscriptionCleaner{},
	deleteStorageSyncSubscriptionCleaner{},
	deleteResourceGroupsInSubscriptionCleaner{},
	purgeSoftDeletedManagedHSMsInSubscriptionCleaner{},
	purgeSoftDeletedMachineLearningWorkspacesInSubscriptionCleaner{},
}

Functions

This section is empty.

Types

type ResourceGroupCleaner

type ResourceGroupCleaner interface {
	// Name returns the name of this ResourceGroupCleaner
	Name() string

	// Cleanup performs the cleanup operation for this ResourceGroupCleaner
	Cleanup(ctx context.Context, id commonids.ResourceGroupId, client *clients.AzureClient, opts options.Options) error

	// ResourceTypes returns the list of Resource Types supported by this ResourceGroupCleaner
	ResourceTypes() []string
}

type SubscriptionCleaner

type SubscriptionCleaner interface {
	// Name specifies the name of this SubscriptionCleaner
	Name() string

	// Cleanup performs this clean-up operation against the given Subscription
	Cleanup(ctx context.Context, subscriptionId commonids.SubscriptionId, client *clients.AzureClient, opts options.Options) error
}

Jump to

Keyboard shortcuts

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