Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketHandle ¶
type BucketHandle interface { Object(string) ObjectHandle Objects(context.Context, *storage.Query) ObjectIterator SignedURL(string, *storage.SignedURLOptions) (string, error) }
type BucketIterator ¶
type BucketIterator interface {
Next() (*storage.BucketAttrs, error)
}
type ObjectHandle ¶
type ObjectIterator ¶ added in v0.16.0
type ObjectIterator interface {
Next() (*storage.ObjectAttrs, error)
}
type Reader ¶
type Reader interface { io.ReadCloser }
type StorageClient ¶
type StorageClient interface { Bucket(string) BucketHandle Buckets(context.Context, string) BucketIterator }
func AdaptStorageClient ¶
func AdaptStorageClient(c *storage.Client) StorageClient
AdaptClientStorageClient wraps a storage.Client so that it satisfies the Client
type Writer ¶
type Writer interface { io.WriteCloser }
Click to show internal directories.
Click to hide internal directories.