Documentation ¶
Index ¶
Constants ¶
View Source
const (
TIMEOUT = 60 * time.Minute
)
Variables ¶
View Source
var ImageCMDOptions = &imageCMDOptions{}
Options for pvsadm image command
View Source
var Options = &options{}
Functions ¶
func IsPurgeable ¶
IsPurgeable is a function decides the candidate is really qualifies to be purged Condition:
- before and since are both
- If no before and since set then return true
- If both before and since set then return false
Types ¶
type Source ¶ added in v0.1.3
type Source struct { Bucket string `yaml:"bucket"` Cos string `yaml:"cos"` Object string `yaml:"object"` StorageClass string `yaml:"storageClass"` Region string `yaml:"region"` }
Source Specifications
type Spec ¶ added in v0.1.3
type Spec struct { Source `yaml:"source"` Target []TargetItem `yaml:"target"` }
Specifications
type TargetItem ¶ added in v0.1.3
type TargetItem struct { Bucket string `yaml:"bucket"` StorageClass string `yaml:"storageClass"` Region string `yaml:"region"` }
TargetItem Specifications
Click to show internal directories.
Click to hide internal directories.