Documentation
¶
Index ¶
- Variables
- type Transfers
- func (t *Transfers) AfterJob(ctx context.Context, job *status.Job, config files_sdk.Config) error
- func (t *Transfers) EndingStatusErrors()
- func (t *Transfers) FinishMainTotal(job *status.Job)
- func (t *Transfers) Init(ctx context.Context) *Transfers
- func (t *Transfers) LogJobError(err error, path string)
- func (t *Transfers) Reporter() status.EventsReporter
- 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 ¶
This section is empty.
Types ¶
type Transfers ¶
type Transfers struct {
SyncFlag bool
SendLogsToCloud bool
DisableProgressOutput bool
ConcurrentFiles int
Progress *mpb.Progress
ETA ewma.MovingAverage
TransferRate ewma.MovingAverage
Ignore *[]string
*manager.Manager
// contains filtered or unexported fields
}
func (*Transfers) EndingStatusErrors ¶
func (t *Transfers) EndingStatusErrors()
func (*Transfers) FinishMainTotal ¶
func (*Transfers) LogJobError ¶
func (*Transfers) Reporter ¶
func (t *Transfers) Reporter() status.EventsReporter
func (*Transfers) SetupSignals ¶ added in v1.1.1679
func (*Transfers) UpdateMainTotal ¶
Click to show internal directories.
Click to hide internal directories.