Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentToken ¶
type Job ¶
type Job struct { ID string `json:"id"` Store string `config:"type=string,required" json:"store"` Target string `config:"type=string,required" json:"target"` Subpath string `config:"type=string" json:"subpath"` Schedule string `config:"type=string" json:"schedule"` Comment string `config:"type=string" json:"comment"` NotificationMode string `config:"type=string" json:"notification-mode"` Namespace string `config:"type=string" json:"ns"` NextRun *int64 `json:"next-run"` LastRunUpid string `config:"type=string" json:"last-run-upid"` LastRunState *string `json:"last-run-state"` LastRunEndtime *int64 `json:"last-run-endtime"` Duration *int64 `json:"duration"` Exclusions []Exclusion `json:"exclusions"` RawExclusions string `json:"rawexclusions"` }
type Target ¶
type Target struct { Name string `json:"name"` Path string `config:"type=string,required" json:"path"` IsAgent bool `json:"is_agent"` AgentVersion string `json:"agent_version"` ConnectionStatus bool `json:"connection_status"` Auth string `config:"type=string" json:"auth"` TokenUsed string `config:"type=string" json:"token_used"` DriveType string `config:"type=string" json:"drive_type"` DriveName string `config:"type=string" json:"drive_name"` DriveFS string `config:"type=string" json:"drive_fs"` DriveTotalBytes int `config:"type=int" json:"drive_total_bytes"` DriveUsedBytes int `config:"type=int" json:"drive_used_bytes"` DriveFreeBytes int `config:"type=int" json:"drive_free_bytes"` DriveTotal string `config:"type=string" json:"drive_total"` DriveUsed string `config:"type=string" json:"drive_used"` DriveFree string `config:"type=string" json:"drive_free"` }
Click to show internal directories.
Click to hide internal directories.