Documentation
¶
Index ¶
- Constants
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func UploadOCIArchive(ctx context.Context, workDir, name string, version meta.Version, ...) error
- type Downloader
- func (d *Downloader) FromORAS(ctx context.Context, destPath, name string, version meta.Version, ...) error
- func (d *Downloader) GetOCI(ctx context.Context, name string, version meta.Version, target string) error
- func (d *Downloader) WithORAS(ctx context.Context, name string, version meta.Version, ...) error
- type ORASFile
Constants ¶
View Source
const (
Version = "v1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloaderWithDockerCreds ¶
func NewDownloaderWithDockerCreds(cacheDir, repo, prefix string) (*Downloader, error)
Click to show internal directories.
Click to hide internal directories.