Documentation ¶
Index ¶
- func NewAliCloudOSSBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)
- type AliCloudOSSBackend
- func (a *AliCloudOSSBackend) Delete(ctx context.Context, key string) error
- func (a *AliCloudOSSBackend) Get(ctx context.Context, key string) (*physical.Entry, error)
- func (a *AliCloudOSSBackend) List(ctx context.Context, prefix string) ([]string, error)
- func (a *AliCloudOSSBackend) Put(ctx context.Context, entry *physical.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliCloudOSSBackend ¶
type AliCloudOSSBackend struct {
// contains filtered or unexported fields
}
AliCloudOSSBackend is a physical backend that stores data within an Alibaba OSS bucket.
func (*AliCloudOSSBackend) Delete ¶
func (a *AliCloudOSSBackend) 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.