Documentation ¶
Overview ¶
Package seq implements a simple Sequential Uploader. Upload jobs are processed sequentially in-order.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debugf(format string, v ...interface{})
}
Logger defines the logger interface
type Uploader ¶
type Uploader struct {
// contains filtered or unexported fields
}
Uploader is a sequential uploader
func New ¶
func New(logger Logger, filecopyUploader, s3Uploader, dockerUploader upload.Uploader, status chan<- *scheduler.Result) *Uploader
New initializes a sequential uploader Status chan must have a buffer count > 1 otherwise a deadlock occurs
Click to show internal directories.
Click to hide internal directories.