Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uploader ¶
type Uploader interface { // Check can be called before the actual upload to ensure // all permissions are correct Check(status io.Writer) error // UploadAndRegister will upload the given image from // the reader and write status message to the given // status writer. // To implement progress a proxy reader can be used. UploadAndRegister(f io.Reader, status io.Writer) error }
Uploader is an interface that is returned from the actual cloud implementation. The uploader will be parameterized by the actual cloud implemntation, e.g.
awscloud.NewUploader(region, bucket, image) Uploader
which is outside the scope of this interface.
Click to show internal directories.
Click to hide internal directories.