azure

package
v0.0.0-...-eafc989 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsResourceGroupNotFound

func IsResourceGroupNotFound(err error) bool

IsResourceGroupNotFound asserts resourceGroupNotFoundError.

Types

type Cleaner

type Cleaner struct {
	// contains filtered or unexported fields
}

func NewCleaner

func NewCleaner(config CleanerConfig) (*Cleaner, error)

func (*Cleaner) Clean

func (c *Cleaner) Clean(ctx context.Context) error

type CleanerConfig

type CleanerConfig struct {
	Logger micrologger.Logger

	ActivityLogsClient                     *insights.ActivityLogsClient
	DNSRecordSetsClient                    *dns.RecordSetsClient
	GroupsClient                           *resources.GroupsClient
	VirtualNetworkGatewayConnectionsClient *network.VirtualNetworkGatewayConnectionsClient
	VirtualNetworkPeeringsClient           *network.VirtualNetworkPeeringsClient
	VirtualNetworksClient                  *network.VirtualNetworksClient

	Installations []string
	AzureLocation string
}

Jump to

Keyboard shortcuts

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