Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, name, description string) error
- func (c *Client) Delete(ctx context.Context, repository string) error
- func (c *Client) DeleteFile(ctx context.Context, repository, filename string) error
- func (c *Client) Get(ctx context.Context, name string) (*repository.Repository, error)
- func (c *Client) GetFile(ctx context.Context, repository, filename string) (*File, error)
- func (c *Client) List(ctx context.Context) ([]*Repository, error)
- func (c *Client) ListFiles(ctx context.Context, repository string) ([]*File, error)
- func (c *Client) PutFile(ctx context.Context, repository, filename string, reader io.Reader) error
- type Error
- type File
- type Repository
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 (*Client) DeleteFile ¶
func (*Client) Get ¶
func (c *Client) Get(ctx context.Context, name string) (*repository.Repository, error)
type File ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.