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 DockerUploader ¶ added in v0.17.0
type DockerUploader interface {
Upload(image, registryAddr, repository, tag string) (string, error)
}
DockerUploader is a client for uploading docker images to a registry
type FileUploader ¶ added in v0.17.0
FileUploader is an interface for storing files in another place
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 FileUploader, dockerUploader DockerUploader, 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.