Documentation ¶
Index ¶
Constants ¶
View Source
const ResourceGroupMetaKey = "resource-group"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
Disk holds information about an Azure compute disk.
func (*Disk) LastUsedAt ¶
LastUsedAt returns a zero time.Time value, as Azure does not provide this information.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Providcer implements unused.Provider for Azure.
func NewProvider ¶
NewProvider creates a new Azure unused.Provider.
A valid Azure compute disks client must be supplied in order to list the unused resources.
func (*Provider) ListUnusedDisks ¶
ListUnusedDisks returns all the Azure compute disks that are not managed by other resources.
Click to show internal directories.
Click to hide internal directories.