Documentation
¶
Index ¶
- func Main()
- func Root() star.Command
- func RunTest(t testing.TB, env map[string]string, calledAs string, args []string, ...)
- type Service
- func (s *Service) Abort(ctx context.Context, h blobcache.Handle) error
- func (s *Service) AllowLink(ctx context.Context, h blobcache.Handle, subvol blobcache.Handle) error
- func (s *Service) Await(ctx context.Context, cond blobcache.Conditions) error
- func (s *Service) BeginTx(ctx context.Context, volh blobcache.Handle, txp blobcache.TxParams) (*blobcache.Handle, error)
- func (s *Service) CloneVolume(ctx context.Context, caller *blobcache.PeerID, volh blobcache.Handle) (*blobcache.Handle, error)
- func (s *Service) Commit(ctx context.Context, h blobcache.Handle) error
- func (s *Service) Copy(ctx context.Context, h blobcache.Handle, cids []blobcache.CID, ...) error
- func (s *Service) CreateVolume(ctx context.Context, host *blobcache.Endpoint, vspec blobcache.VolumeSpec) (*blobcache.Handle, error)
- func (s *Service) Delete(ctx context.Context, h blobcache.Handle, cids []blobcache.CID) error
- func (s *Service) Drop(ctx context.Context, h blobcache.Handle) error
- func (s *Service) Endpoint(ctx context.Context) (ep blobcache.Endpoint, _ error)
- func (s *Service) Exists(ctx context.Context, h blobcache.Handle, cids []blobcache.CID, dst []bool) error
- func (s *Service) Get(ctx context.Context, h blobcache.Handle, cid blobcache.CID, buf []byte, ...) (int, error)
- func (s *Service) InspectHandle(ctx context.Context, h blobcache.Handle) (*blobcache.HandleInfo, error)
- func (s *Service) InspectTx(ctx context.Context, h blobcache.Handle) (*blobcache.TxInfo, error)
- func (s *Service) InspectVolume(ctx context.Context, h blobcache.Handle) (*blobcache.VolumeInfo, error)
- func (s *Service) IsVisited(ctx context.Context, h blobcache.Handle, cids []blobcache.CID, ...) error
- func (s *Service) KeepAlive(ctx context.Context, hs []blobcache.Handle) error
- func (s *Service) Load(ctx context.Context, h blobcache.Handle, dst *[]byte) error
- func (s *Service) OpenFiat(ctx context.Context, x blobcache.OID, mask blobcache.ActionSet) (*blobcache.Handle, error)
- func (s *Service) OpenFrom(ctx context.Context, base blobcache.Handle, x blobcache.OID, ...) (*blobcache.Handle, error)
- func (s *Service) Post(ctx context.Context, h blobcache.Handle, data []byte, opts blobcache.PostOpts) (blobcache.CID, error)
- func (s *Service) Save(ctx context.Context, h blobcache.Handle, src []byte) error
- func (s *Service) Share(ctx context.Context, h blobcache.Handle, to blobcache.PeerID, ...) (*blobcache.Handle, error)
- func (s *Service) Visit(ctx context.Context, h blobcache.Handle, cids []blobcache.CID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
func (*Service) CloneVolume ¶
func (*Service) CreateVolume ¶
func (s *Service) CreateVolume(ctx context.Context, host *blobcache.Endpoint, vspec blobcache.VolumeSpec) (*blobcache.Handle, error)
VolumeAPI
func (*Service) InspectHandle ¶
func (*Service) InspectVolume ¶
func (*Service) OpenFiat ¶
func (s *Service) OpenFiat(ctx context.Context, x blobcache.OID, mask blobcache.ActionSet) (*blobcache.Handle, error)
Backward-compat shim to satisfy any stale interface checks
Click to show internal directories.
Click to hide internal directories.