Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsContextEventAvaliable ¶
Types ¶
type BackupOutput ¶
type BackupOutput struct { FilesNew uint `json:"files_new"` FilesChanged uint `json:"files_changed"` FilesUnmodified uint `json:"files_unmodified"` DirsNew uint `json:"dirs_new"` DirsChanged uint `json:"dirs_changed"` DirsUnmodified uint `json:"dirs_unmodified"` TotalFilesProcessed uint `json:"total_files_processed"` TotalBytesProcessed uint64 `json:"total_bytes_processed"` SnapshotID string `json:"snapshot_id"` }
type EventType ¶
type EventType string // @name EventType
const ( EvOperationStart EventType = "OPERATION_START" EvOperationStop EventType = "OPERATION_STOP" EvOperationError EventType = "OPERATION_ERROR" EvSourceStart EventType = "SOURCE_START" EvSourceStop EventType = "SOURCE_STOP" EvSourceError EventType = "SOURCE_ERROR" EvDestinationStart EventType = "DESTINATION_START" EvDestinationStop EventType = "DESTINATION_STOP" EvDestinationError EventType = "DESTINATION_ERROR" )
type OperationType ¶
type OperationType string // @name OperationType
const ( OpTypeBackup OperationType = "BACKUP" OpTypePrune OperationType = "PRUNE" OpTypeRestore OperationType = "RESTORE" OpTypeSnapshots OperationType = "SNAPSHOTS" OpTypeStats OperationType = "STATS" )
type TriggerType ¶
type TriggerType string // @name TriggerType
const ( TSchedule TriggerType = "SCHEDULE" TApi TriggerType = "API" TManual TriggerType = "MANUAL" )
Click to show internal directories.
Click to hide internal directories.