Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoSnapshot = errors.New("no snapshot available")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Interval time.Duration `yaml:"interval"` TTL time.Duration `yaml:"ttl"` Provider string `yaml:"provider"` Params map[string]interface{} `yaml:",inline"` }
Config represents the configuration of the snapshot provider.
type Metadata ¶
func NewMetadata ¶
type MetadataSorter ¶
type MetadataSorter []*Metadata
func (MetadataSorter) Len ¶
func (ms MetadataSorter) Len() int
func (MetadataSorter) Less ¶
func (ms MetadataSorter) Less(i, j int) bool
func (MetadataSorter) Swap ¶
func (ms MetadataSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.