Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateObject(context.Context, schema.CreateObjectRequest) (*schema.Object, error)
- func (c *Client) DeleteObjects(context.Context, schema.DeleteObjectsRequest) error
- func (c *Client) DiscoverConfig(ctx context.Context) (*auth.Config, error)
- func (c *Client) GetObject(context.Context, schema.GetObjectRequest) (*schema.Object, error)
- func (c *Client) ListObjects(context.Context, *schema.ObjectListIterator) error
- func (c *Client) Name() string
- func (c *Client) ReadObject(context.Context, schema.GetObjectRequest) (io.ReadCloser, *schema.Object, error)
- func (c *Client) URL() *url.URL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*authclient.Client
// contains filtered or unexported fields
}
func NewDriveBackend ¶
func (*Client) CreateObject ¶
func (*Client) DeleteObjects ¶
func (*Client) DiscoverConfig ¶
func (*Client) ListObjects ¶
func (*Client) ReadObject ¶
func (c *Client) ReadObject(context.Context, schema.GetObjectRequest) (io.ReadCloser, *schema.Object, error)
Click to show internal directories.
Click to hide internal directories.