Documentation ¶
Overview ¶
Package storage contains Storage client wrappers to be able to UT things.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { // AddNotification see https://godoc.org/cloud.google.com/go/storage#BucketHandle.AddNotification AddNotification(ctx context.Context, n *storage.Notification) (*storage.Notification, error) // Notifications see https://godoc.org/cloud.google.com/go/storage#BucketHandle.Notifications Notifications(ctx context.Context) (map[string]*storage.Notification, error) // DeleteNotification see https://godoc.org/cloud.google.com/go/storage#BucketHandle.DeleteNotification DeleteNotification(ctx context.Context, id string) error }
Bucket matches the interface exposed by storage.BucketHandle see https://godoc.org/cloud.google.com/go/storage#BucketHandle
type Client ¶
type Client interface { // Close see https://godoc.org/cloud.google.com/go/storage#Client.Close Close() error // Bucket see https://godoc.org/cloud.google.com/go/storage#Client.Bucket Bucket(name string) Bucket }
Client matches the interface exposed by storage.Client see https://godoc.org/cloud.google.com/go/storage#Client
Click to show internal directories.
Click to hide internal directories.