Documentation
¶
Index ¶
- type Tx
- func (v *Tx) Abort(ctx context.Context) error
- func (v *Tx) Commit(ctx context.Context) error
- func (v *Tx) Delete(ctx context.Context, cids []blobcache.CID) error
- func (v *Tx) Exists(ctx context.Context, cids []blobcache.CID, dst []bool) error
- func (v *Tx) Get(ctx context.Context, cid blobcache.CID, buf []byte, opts blobcache.GetOpts) (int, error)
- func (v *Tx) Hash(salt *blobcache.CID, data []byte) blobcache.CID
- func (v *Tx) IsVisited(ctx context.Context, ptcids []blobcache.CID, dst []bool) error
- func (v *Tx) Link(ctx context.Context, subvol blobcache.OID, rights blobcache.ActionSet, ...) error
- func (v *Tx) Load(ctx context.Context, dst *[]byte) error
- func (v *Tx) MaxSize() int
- func (tx *Tx) Params() blobcache.TxParams
- func (v *Tx) Post(ctx context.Context, data []byte, opts blobcache.PostOpts) (blobcache.CID, error)
- func (v *Tx) Save(ctx context.Context, src []byte) error
- func (v *Tx) Unlink(ctx context.Context, targets []blobcache.OID) error
- func (v *Tx) Visit(ctx context.Context, ptcids []blobcache.CID) error
- func (v *Tx) VisitLinks(ctx context.Context, targets []blobcache.OID) error
- func (tx *Tx) Volume() volumes.Volume
- type Vault
- func (v *Vault) AccessSubVolume(ctx context.Context, target blobcache.OID) (blobcache.ActionSet, error)
- func (v *Vault) Await(ctx context.Context, prev []byte, next *[]byte) error
- func (v *Vault) BeginTx(ctx context.Context, params blobcache.TxParams) (volumes.Tx, error)
- func (v *Vault) GetBackend() blobcache.VolumeBackend[blobcache.OID]
- func (v *Vault) GetParams() blobcache.VolumeConfig
- func (v *Vault) Inner() volumes.Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
func (*Vault) AccessSubVolume ¶
func (*Vault) GetBackend ¶
func (v *Vault) GetBackend() blobcache.VolumeBackend[blobcache.OID]
func (*Vault) GetParams ¶
func (v *Vault) GetParams() blobcache.VolumeConfig
Click to show internal directories.
Click to hide internal directories.