Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Client() *clientutil.Client
- func (c *Cache) Close() error
- func (c *Cache) Get(ctx context.Context, hash string) ([]byte, error)
- func (c *Cache) Put(hash string, blob []byte) error
- func (c *Cache) PutRemote(hash string, blob []byte) error
- func (c *Cache) Stat(hash string) (bool, error)
- func (c *Cache) StatRemote(hash string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.