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