Documentation ¶
Overview ¶
Package client implements repository REST client.
Index ¶
- type Client
- func (c *Client) Collect(ctx context.Context, live reflow.Liveset) error
- func (c *Client) Get(ctx context.Context, id digest.Digest) (io.ReadCloser, error)
- func (c *Client) Put(ctx context.Context, body io.Reader) (digest.Digest, error)
- func (c *Client) ReadFrom(ctx context.Context, id digest.Digest, u *url.URL) error
- func (c *Client) ShortString() string
- func (c *Client) Stat(ctx context.Context, id digest.Digest) (reflow.File, error)
- func (c *Client) String() string
- func (c *Client) WriteTo(ctx context.Context, id digest.Digest, u *url.URL) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is a Repository that dispatches requests to a server implementing the Repository REST API.
func (*Client) ReadFrom ¶
ReadFrom reads the object with digest id directly from the repository at URL u.
func (*Client) ShortString ¶
Click to show internal directories.
Click to hide internal directories.