Documentation
¶
Index ¶
- type Client
- func (c *Client) BucketExists(ctx context.Context, containerName string) (bool, error)
- func (c *Client) Close() error
- func (c *Client) DeleteObject(ctx context.Context, containerName, blobName string) error
- func (c *Client) EnsureBucketExists(ctx context.Context, containerName string) error
- func (c *Client) GetObject(ctx context.Context, containerName, blobName string) (*interfaces.ObjectInfo, io.ReadCloser, error)
- func (c *Client) ListObjects(ctx context.Context, containerName string) (map[string]*interfaces.ObjectInfo, error)
- func (c *Client) UploadObject(ctx context.Context, containerName, blobName string, reader io.Reader, ...) (*interfaces.UploadInfo, error)
- type Config
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) BucketExists ¶
func (*Client) DeleteObject ¶
func (*Client) EnsureBucketExists ¶
func (*Client) GetObject ¶
func (c *Client) GetObject(ctx context.Context, containerName, blobName string) (*interfaces.ObjectInfo, io.ReadCloser, error)
func (*Client) ListObjects ¶
func (c *Client) ListObjects(ctx context.Context, containerName string) (map[string]*interfaces.ObjectInfo, error)
func (*Client) UploadObject ¶
Click to show internal directories.
Click to hide internal directories.