Documentation
¶
Index ¶
- func DeleteExpiredACRs(sessions AzureSessions, options AzureOptions)
- func DeleteExpiredRGs(sessions AzureSessions, options AzureOptions)
- func DeleteExpiredStorageAccounts(sessions AzureSessions, options AzureOptions)
- func RunPlecoAzure(locations []string, interval int64, wg *sync.WaitGroup, options AzureOptions)
- type AzureOptions
- type AzureSessions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteExpiredACRs ¶
func DeleteExpiredACRs(sessions AzureSessions, options AzureOptions)
DeleteExpiredACRs identifies and deletes Azure Container Registries that have expired based on their TTL tags
func DeleteExpiredRGs ¶
func DeleteExpiredRGs(sessions AzureSessions, options AzureOptions)
DeleteExpiredRGs identifies and deletes Azure Resource Groups that have expired based on their TTL tags
func DeleteExpiredStorageAccounts ¶
func DeleteExpiredStorageAccounts(sessions AzureSessions, options AzureOptions)
DeleteExpiredStorageAccounts identifies and deletes Azure Storage Accounts that have expired based on their TTL tags
func RunPlecoAzure ¶
func RunPlecoAzure(locations []string, interval int64, wg *sync.WaitGroup, options AzureOptions)
Types ¶
type AzureOptions ¶
type AzureSessions ¶
type AzureSessions struct {
RG *armresources.ResourceGroupsClient
StorageAccount *armstorage.AccountsClient
ACR *armcontainerregistry.RegistriesClient
}
func Initialize ¶
func Initialize() (AzureSessions, error)
Initialize creates and returns an AzureSessions object with authenticated clients
Click to show internal directories.
Click to hide internal directories.