Documentation ¶ Index ¶ type Prepper func (p *Prepper) Prepare(_ context.Context, imagePath, _ string) (string, error) type Uploader func NewUploader(config config.Config, log *log.Logger) (*Uploader, error) func (u *Uploader) Upload(ctx context.Context, image io.ReadSeeker, _ int64) (refs []string, retErr error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Prepper ¶ type Prepper struct{} func (*Prepper) Prepare ¶ func (p *Prepper) Prepare(_ context.Context, imagePath, _ string) (string, error) type Uploader ¶ type Uploader struct { // contains filtered or unexported fields } Uploader can upload and remove os images on AWS. func NewUploader ¶ func NewUploader(config config.Config, log *log.Logger) (*Uploader, error) func (*Uploader) Upload ¶ func (u *Uploader) Upload(ctx context.Context, image io.ReadSeeker, _ int64) (refs []string, retErr error) Source Files ¶ View all Source files apis.goprepper.gouploader.go Click to show internal directories. Click to hide internal directories.