Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { IsCached(ctx context.Context, name, tag string) (bool, error) PushData(ctx context.Context, data io.ReadCloser, mediaType, name, tag string) (string, int64, error) FetchDataByIdentity(ctx context.Context, name, tag string) (io.ReadCloser, string, int64, error) FetchDataByDigest(ctx context.Context, name, digest string) (io.ReadCloser, error) DeleteData(ctx context.Context, name, tag string) error }
Cache defines capabilities for a cache whatever the backing medium might be.
Click to show internal directories.
Click to hide internal directories.