Documentation ¶
Index ¶
- type Client
- func (c *Client) AddImage(ns string, mf, l map[string][]byte) (string, error)
- func (c *Client) Download(path string) (io.ReadCloser, error)
- func (c *Client) DownloadDir(skynetLink, dir string) error
- func (c *Client) List(path string) ([]*SkynetMeta, error)
- func (c *Client) Metadata(skylink string) (*skynet.Metadata, error)
- func (c *Client) Upload(namespace, digest string, content []byte, pin bool) (string, error)
- type Config
- type Image
- type SkynetMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(oc *config.OpenRegistryConfig) *Client
func (*Client) DownloadDir ¶
Click to show internal directories.
Click to hide internal directories.