Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Leftovers ¶
type Leftovers struct {
// contains filtered or unexported fields
}
func NewLeftovers ¶
NewLeftovers returns a new Leftovers for GCP that can be used to list resources, list types, or delete resources for the provided account. It returns an error if the credentials provided are invalid or if a client fails to be created.
func (Leftovers) Delete ¶
Delete will collect all resources that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.
func (Leftovers) DeleteType ¶ added in v0.32.0
DeleteType will collect all resources of the provied type that contain the provided filter in the resource's identifier, prompt you to confirm deletion (if enabled), and delete those that are selected.
Click to show internal directories.
Click to hide internal directories.