Documentation ¶
Index ¶
- Variables
- func WaitFileMigration(ctx context.Context, config files_sdk.Config, i interface{}, block bool, ...) (interface{}, error)
- type Transfers
- func (t *Transfers) EndingStatusErrors()
- func (t *Transfers) FinishMainTotal(job *status.Job)
- func (t *Transfers) Init(ctx context.Context, stdout io.Writer, stderr io.Writer) *Transfers
- func (t *Transfers) Log(str string, err error)
- func (t *Transfers) LogJobError(err error, path string)
- func (t *Transfers) ProcessJob(ctx context.Context, job *status.Job, config files_sdk.Config) error
- func (t *Transfers) RegisterFileEvents(ctx context.Context, job *status.Job, config files_sdk.Config)
- func (t *Transfers) SendLogs(ctx context.Context, config files_sdk.Config) error
- func (t *Transfers) SetupSignals(job *status.Job)
- func (t *Transfers) StartLog(transferType string)
- func (t *Transfers) UpdateMainTotal(job *status.Job)
Constants ¶
This section is empty.
Variables ¶
View Source
var SpinnerStyle = []string{"∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"}
Functions ¶
Types ¶
type Transfers ¶
type Transfers struct { SyncFlag bool SendLogsToCloud bool DisableProgressOutput bool PreserveTimes bool ConcurrentFiles int AfterMove string AfterDelete bool Progress *mpb.Progress ETA ewma.MovingAverage TransferRate ewma.MovingAverage Ignore *[]string *manager.Manager Stdout io.Writer Stderr io.Writer // contains filtered or unexported fields }
func (*Transfers) EndingStatusErrors ¶
func (t *Transfers) EndingStatusErrors()
func (*Transfers) FinishMainTotal ¶
func (*Transfers) LogJobError ¶
func (*Transfers) ProcessJob ¶ added in v1.2.0
func (*Transfers) RegisterFileEvents ¶ added in v1.2.0
func (*Transfers) SetupSignals ¶ added in v1.1.1679
func (*Transfers) UpdateMainTotal ¶
Click to show internal directories.
Click to hide internal directories.