Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSnapshotTTL ¶
func RunSnapshotTTL(client SnapshotTTLInterface, cancel <-chan interface{}, min, max time.Duration)
RunSnapshotTTL runs the ttl for snapshots
Types ¶
type SnapshotTTL ¶
type SnapshotTTL struct {
// contains filtered or unexported fields
}
SnapshotTTL is the TTL for snapshots
type SnapshotTTLInterface ¶
type SnapshotTTLInterface interface { // GetTenantIDs returns all tenant IDs GetTenantIDs(struct{}, *[]string) error // ListSnapshots returns the list of all snapshots given a service id ListSnapshots(string, *[]dao.SnapshotInfo) error // DeleteSnapshot deletes a snapshot by SnapshotID DeleteSnapshot(string, *int) error }
SnapshotTTLInterface is the client handler for SnapshotTTL
Click to show internal directories.
Click to hide internal directories.