Documentation ¶
Index ¶
- func Download(ctx context.Context, workdir, casInstance string, ts oauth2.TokenSource, ...) error
- func DownloadFromFlags(ctx context.Context, workdir string, ts oauth2.TokenSource, f *Flags) error
- func Upload(ctx context.Context, workdir, casInstance string, ts oauth2.TokenSource, ...) (string, error)
- type CASDownload
- type Flags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(ctx context.Context, workdir, casInstance string, ts oauth2.TokenSource, dls ...*CASDownload) error
Download downloads the given CAS digests.
func DownloadFromFlags ¶
DownloadFromFlags downloads the CAS digests requested using the given flags.
Types ¶
type CASDownload ¶
func GetCASDownloads ¶
func GetCASDownloads(f *Flags) ([]*CASDownload, error)
GetCASDownloads creates a slice of CASDownload from the Flags.
Click to show internal directories.
Click to hide internal directories.