Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseCasClientFactory ¶
func UseCasClientFactory(ctx context.Context, factory CasClientFactory) context.Context
UseCasClientFactory returns a context that causes new Client instances to use the given factory when getting the CAS client.
Types ¶
type CasClient ¶
type CasClient interface {
DownloadDirectory(ctx context.Context, d digest.Digest, outDir string, cache filemetadata.Cache) (map[string]*client.TreeOutput, *client.MovedBytesMetadata, error)
}
CasClient provides a subset of the client.Client interface.
type CasClientFactory ¶
CasClientFactory creates the client for downloading blobs from CAS.
Click to show internal directories.
Click to hide internal directories.