history

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThresholdAssumeRunning = 8 * time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	rc_recipe.RemarkConsole
	Path               mo_string.OptionalString
	Days               mo_int.RangeInt
	ProgressArchiving  app_msg.Message
	ErrorFailedArchive app_msg.Message
}

func (*Archive) Exec

func (z *Archive) Exec(c app_control.Control) error

func (*Archive) Preset

func (z *Archive) Preset()

func (*Archive) Test

func (z *Archive) Test(c app_control.Control) error

type Delete

type Delete struct {
	rc_recipe.RemarkConsole
	Days   mo_int.RangeInt
	Path   mo_string.OptionalString
	Delete *job.Delete
}

func (*Delete) Exec

func (z *Delete) Exec(c app_control.Control) error

func (*Delete) Preset

func (z *Delete) Preset()

func (*Delete) Test

func (z *Delete) Test(c app_control.Control) error

type JobRecord

type JobRecord struct {
	JobId      string `json:"job_id"`
	AppVersion string `json:"app_version"`
	RecipeName string `json:"recipe_name"`
	TimeStart  string `json:"time_start"`
	TimeFinish string `json:"time_finish"`
}

type List

func (*List) Exec

func (z *List) Exec(c app_control.Control) error

func (*List) Preset

func (z *List) Preset()

func (*List) Test

func (z *List) Test(c app_control.Control) error

type Ship

type Ship struct {
	Peer                       dbx_conn.ConnScopedIndividual
	DropboxPath                mo_path.DropboxPath
	ProgressUploading          app_msg.Message
	ErrorFailedArchive         app_msg.Message
	ErrorFailedUpload          app_msg.Message
	SkipUnsupportedHistoryType app_msg.Message
	OperationLog               rp_model.TransactionReport
}

func (*Ship) Exec

func (z *Ship) Exec(c app_control.Control) error

func (*Ship) Preset

func (z *Ship) Preset()

func (*Ship) Test

func (z *Ship) Test(c app_control.Control) error

type ShipInfo

type ShipInfo struct {
	JobId      string `json:"job_id"`
	RecipeName string `json:"recipe_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL