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