Documentation ¶
Index ¶
- type Config
- type QueryCache
- type SwiftContainer
- func (s *SwiftContainer) Batch() (ds.Batch, error)
- func (s *SwiftContainer) Close() error
- func (s *SwiftContainer) Delete(k ds.Key) error
- func (s *SwiftContainer) DiskUsage() (uint64, error)
- func (s *SwiftContainer) Get(k ds.Key) ([]byte, error)
- func (s *SwiftContainer) GetSize(k ds.Key) (int, error)
- func (s *SwiftContainer) Has(k ds.Key) (bool, error)
- func (s *SwiftContainer) Put(k ds.Key, val []byte) error
- func (s *SwiftContainer) Query(q dsq.Query) (dsq.Results, error)
- func (s *SwiftContainer) Sync(prefix ds.Key) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { swift.Connection Container string }
type QueryCache ¶
type QueryCache struct {
// contains filtered or unexported fields
}
func (*QueryCache) Invalidate ¶
func (c *QueryCache) Invalidate()
type SwiftContainer ¶
type SwiftContainer struct { Config // contains filtered or unexported fields }
func NewSwiftDatastore ¶
func NewSwiftDatastore(conf Config) (*SwiftContainer, error)
func (*SwiftContainer) Close ¶
func (s *SwiftContainer) Close() error
func (*SwiftContainer) DiskUsage ¶
func (s *SwiftContainer) DiskUsage() (uint64, error)
Click to show internal directories.
Click to hide internal directories.