Versions in this module Expand all Collapse all v0 v0.9.1 Dec 21, 2017 v0.9.0 Nov 14, 2017 Changes in this version + const StoragePackerBucketsPrefix + type Bucket struct + Items []*Item + Key string + func (*Bucket) Descriptor() ([]byte, []int) + func (*Bucket) ProtoMessage() + func (m *Bucket) GetItems() []*Item + func (m *Bucket) GetKey() string + func (m *Bucket) Reset() + func (m *Bucket) String() string + type Item struct + ID string + Message *google_protobuf.Any + func (*Item) Descriptor() ([]byte, []int) + func (*Item) ProtoMessage() + func (m *Item) GetID() string + func (m *Item) GetMessage() *google_protobuf.Any + func (m *Item) Reset() + func (m *Item) String() string + type StoragePacker struct + func NewStoragePacker(view logical.Storage, logger log.Logger, viewPrefix string) (*StoragePacker, error) + func (s *StoragePacker) BucketIndex(key string) uint8 + func (s *StoragePacker) BucketKey(itemID string) string + func (s *StoragePacker) BucketKeyHashByItemID(itemID string) string + func (s *StoragePacker) BucketKeyHashByKey(bucketKey string) string + func (s *StoragePacker) BucketPath(bucketKey string) string + func (s *StoragePacker) DeleteItem(itemID string) error + func (s *StoragePacker) GetBucket(key string) (*Bucket, error) + func (s *StoragePacker) GetItem(itemID string) (*Item, error) + func (s *StoragePacker) PutBucket(bucket *Bucket) error + func (s *StoragePacker) PutItem(item *Item) error + func (s *StoragePacker) View() logical.Storage