Documentation ¶
Index ¶
- type BlobStore
- func (bs *BlobStore) Close() error
- func (bs *BlobStore) Enumerate(ctx context.Context, start, end string, limit int) ([]*blob.SizedBlobRef, string, error)
- func (bs *BlobStore) Get(ctx context.Context, hash string) ([]byte, error)
- func (bs *BlobStore) Put(ctx context.Context, blob *blob.Blob) (bool, error)
- func (bs *BlobStore) Stat(ctx context.Context, hash string) (bool, error)
- type KvStore
- func (kv *KvStore) Close() error
- func (kv *KvStore) Get(ctx context.Context, key string, version int64) (*vkv.KeyValue, error)
- func (kv *KvStore) GetMetaBlob(ctx context.Context, key string, version int64) (string, error)
- func (kv *KvStore) Keys(ctx context.Context, start, end string, limit int) ([]*vkv.KeyValue, string, error)
- func (kv *KvStore) Put(ctx context.Context, key, ref string, data []byte, version int64) (*vkv.KeyValue, error)
- func (kv *KvStore) ReverseKeys(ctx context.Context, start, end string, limit int) ([]*vkv.KeyValue, string, error)
- func (kv *KvStore) Versions(ctx context.Context, key, start string, limit int) (*vkv.KeyValueVersions, string, error)
- type Stash
- func (s *Stash) BlobStore() *BlobStore
- func (s *Stash) Close() error
- func (s *Stash) ContextNames() []string
- func (s *Stash) DataContextByName(name string) (*dataContext, bool)
- func (s *Stash) Destroy(ctx context.Context, name string) error
- func (s *Stash) DoAndDestroy(ctx context.Context, name string, ...) error
- func (s *Stash) KvStore() *KvStore
- func (s *Stash) MergeAndDestroy(ctx context.Context, name string) error
- func (s *Stash) MergeFileTreeVersionAndDestroy(ctx context.Context, name string, key string, version int64) error
- func (s *Stash) NewDataContext(name string) (*dataContext, error)
- func (s *Stash) Root() store.DataContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore struct {
// contains filtered or unexported fields
}
type KvStore ¶
type KvStore struct {
// contains filtered or unexported fields
}
func (*KvStore) GetMetaBlob ¶
func (*KvStore) ReverseKeys ¶
type Stash ¶
func (*Stash) ContextNames ¶
func (*Stash) DataContextByName ¶
func (*Stash) DoAndDestroy ¶
func (*Stash) MergeAndDestroy ¶
func (*Stash) MergeFileTreeVersionAndDestroy ¶
func (*Stash) NewDataContext ¶
func (*Stash) Root ¶
func (s *Stash) Root() store.DataContext
Click to show internal directories.
Click to hide internal directories.