Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Create(ctx context.Context, provider string, fromWorkspaces ...string) (string, error)
- func (c *Client) DeleteFile(ctx context.Context, id, file string) error
- func (c *Client) Ls(ctx context.Context, id, prefix string) ([]string, error)
- func (c *Client) OpenFile(ctx context.Context, id, fileName string) (io.ReadCloser, error)
- func (c *Client) Providers() []string
- func (c *Client) RemoveAllWithPrefix(ctx context.Context, id, prefix string) error
- func (c *Client) Rm(ctx context.Context, id string) error
- func (c *Client) StatFile(ctx context.Context, id, fileName string) (FileInfo, error)
- func (c *Client) WriteFile(ctx context.Context, id, fileName string, reader io.Reader) error
- type FileInfo
- type NotFoundError
- type Options
Constants ¶
View Source
const ( DirectoryProvider = "directory" S3Provider = "s3" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) RemoveAllWithPrefix ¶
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.