Documentation ¶
Index ¶
- func FetchAndLoadBundleFromRelease(ctx context.Context, basePath string, bs blockstore.Blockstore, ...) (cid.Cid, error)
- func FetchAndLoadBundleFromURL(ctx context.Context, basePath string, bs blockstore.Blockstore, ...) (cid.Cid, error)
- func FetchAndLoadBundles(ctx context.Context, bs blockstore.Blockstore, ...) error
- func LoadBundle(ctx context.Context, bs blockstore.Blockstore, path string, av actors.Version) (cid.Cid, error)
- type BundleFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchAndLoadBundles ¶
func FetchAndLoadBundles(ctx context.Context, bs blockstore.Blockstore, bar map[actors.Version]build.Bundle) error
utility for blanket loading outside DI
func LoadBundle ¶
func LoadBundle(ctx context.Context, bs blockstore.Blockstore, path string, av actors.Version) (cid.Cid, error)
Types ¶
type BundleFetcher ¶
type BundleFetcher struct {
// contains filtered or unexported fields
}
func NewBundleFetcher ¶
func NewBundleFetcher(basepath string) (*BundleFetcher, error)
func (*BundleFetcher) FetchFromRelease ¶
func (b *BundleFetcher) FetchFromRelease(version int, release, netw string) (path string, err error)
func (*BundleFetcher) FetchFromURL ¶
func (b *BundleFetcher) FetchFromURL(version int, release, netw, url, cksum string) (path string, err error)
Click to show internal directories.
Click to hide internal directories.