Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerJob ¶
DockerJob is a docker container upload job
func (*DockerJob) GetUserData ¶
func (d *DockerJob) GetUserData() interface{}
GetUserData returns the UserData
func (*DockerJob) RemoteDest ¶
RemoteDest returns the upload path in the docker registry
func (*DockerJob) SetUserData ¶
func (d *DockerJob) SetUserData(u interface{})
SetUserData sets the UserData
type DockerUploader ¶
DockerUploader is an interface for docker uploader
type Job ¶
type Job interface { LocalPath() string RemoteDest() string Type() JobType GetUserData() interface{} SetUserData(interface{}) String() string }
Job is the interface for upload jobs
type JobType ¶
type JobType int
JobType describes the type of a job
const ( // JobS3 is the type for S3 file upload jobs JobS3 JobType // JobDocker is the type for Docker container uploader jobs JobDocker )
type Manager ¶
type Manager interface { Add(Job) Start() Stop() }
Manager is an interface for upload managers
type S3Job ¶
S3Job is an upload jobs for files to S3 repositories
func (*S3Job) GetUserData ¶
func (s *S3Job) GetUserData() interface{}
GetUserData returns the UserData
func (*S3Job) SetUserData ¶
func (s *S3Job) SetUserData(u interface{})
SetUserData sets the UserData
type S3Uploader ¶
S3Uploader is an interface for S3 uploader
Click to show internal directories.
Click to hide internal directories.