uploader

package
v0.0.0-...-689d046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadAndRegister

func UploadAndRegister(a AwsUploader, filename, bucketName, imageName, targetArch string, pbar *pb.ProgressBar) error

Types

type AwsUploader

type AwsUploader interface {
	UploadFromReader(r io.Reader, bucketName, keyName string) (*s3manager.UploadOutput, error)
	Register(name, bucket, key string, shareWith []string, rpmArch string, bootMode *string) (*string, *string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL