package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Apr 26, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ResourceTypeDroplet = "droplet"
ResourceTypeVolume = "volume"
ResourceTypeAll = "all"
)
Prune Prune the old DigitalOcean snapshots based on the specified options
type Options struct {
DaysToDelete int
ResourceType string
}
Options A struct that encapsulates the configuration options for the prune job.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.