Documentation
¶
Index ¶
Constants ¶
View Source
const ( //ActionDelete Deletion would be performed ActionDelete Action = "delete" //ActionStatusDryRun Action will not be performed ActionStatusDryRun ActionStatus = "dry run" //ActionStatusInProgress Action is being performed currently ActionStatusInProgress ActionStatus = "in progress" //ActionStatusComplete Action has completed ActionStatusComplete ActionStatus = "complete" //ActionStatusSkipped Action has been skipped, not due to dry-run ActionStatusSkipped ActionStatus = "skipped" //ActionStatusEmpty Blank status of action ActionStatusEmpty ActionStatus = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionStatus ¶
type ActionStatus string
ActionStatus Descriptor of the current status of an action
type Client ¶
type Client interface { //DeleteResources delete resources belonging to a cluster based on filters from additional tags DeleteResourcesForCluster(clusterId string, tags map[string]string, dryRun bool) (*Report, error) }
Client Client for handling extra resources cleanup for a cluster
type Report ¶
type Report struct {
Items []*ReportItem
}
Report Information about what resources are found in the AWS account related to the cluster
func (*Report) AllItemsComplete ¶ added in v0.4.0
func (*Report) MergeForward ¶
MergeForward Merge provided report into this report, assuming the provided report was created after this one
type ReportItem ¶
type ReportItem struct { ID string Name string Action Action ActionStatus ActionStatus }
ReportItem Information about a specific AWS resource
func (*ReportItem) MergeForward ¶
func (r *ReportItem) MergeForward(mergeTarget *ReportItem)
MergeForward Merge provided item into this item, assuming the provided item was created after this one
Click to show internal directories.
Click to hide internal directories.