Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
// contains filtered or unexported fields
}
Args - simple args struct
type BackerConfig ¶
type BackerConfig struct { SyncOnStartup bool `json:"syncOnStartup"` DeleteOnRemove bool `json:"deleteOnRemove"` DeleteOnShutdown bool `json:"deleteOnShutdown"` Watchers []Watcher `json:"watchers"` S3 backends.S3Options `json:"s3"` Backends []backends.Uploader }
BackerConfig - Main configuration struct
func (*BackerConfig) ValidateWatcherPaths ¶
func (c *BackerConfig) ValidateWatcherPaths() error
ValidateWatcherPaths - Ensure that each path in the config file is valid and exists
type BucketObjects ¶
BucketObjects - An object and its given versions
type CLICommunication ¶
type CLICommunication interface { ListWatchers(args int, watchers *FileWatchers) error ListObjects(objects *[]BucketObjects) error ListObjectVersions(args *Args, object *BucketObjects) error }
CLICommunication - basic interface for communicating between the cli and the backend
type FileWatchers ¶
type FileWatchers struct {
Paths []string
}
FileWatchers - List of current file paths
Click to show internal directories.
Click to hide internal directories.