Documentation ¶
Index ¶
- func NewGCSBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)
- type GCSBackend
- func (g *GCSBackend) Delete(ctx context.Context, key string) error
- func (g *GCSBackend) Get(ctx context.Context, key string) (*physical.Entry, error)
- func (g *GCSBackend) List(ctx context.Context, prefix string) ([]string, error)
- func (g *GCSBackend) Put(ctx context.Context, entry *physical.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GCSBackend ¶
type GCSBackend struct {
// contains filtered or unexported fields
}
GCSBackend is a physical backend that stores data within an Google Cloud Storage bucket.
func (*GCSBackend) Delete ¶
func (g *GCSBackend) Delete(ctx context.Context, key string) error
Delete is used to permanently delete an entry
Click to show internal directories.
Click to hide internal directories.