Documentation ¶
Index ¶
- func Download(ctx context.Context, conf DownloadConfig) error
- func GetLocalDatasetSize(ctx context.Context, dataPath string) (int64, error)
- func GetRemoteDatasetSize(ctx context.Context, batchClient *v1batch.Client, dataOps v1data.DataOps, ...) (int64, error)
- func Upload(ctx context.Context, conf UploadConfig) (string, error)
- type DownloadConfig
- type UploadConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
func Download(ctx context.Context, conf DownloadConfig) error
Download downloads a dataset or fails if it is still being uploaded
func GetLocalDatasetSize ¶
GetLocalDatasetSize calculates the total size in bytes of the archived version of a directory on disk
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.