bundle

package
v1.16.0-pre-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0, MIT Imports: 21 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAndLoadBundleFromRelease

func FetchAndLoadBundleFromRelease(ctx context.Context, basePath string, bs blockstore.Blockstore, av actors.Version, rel, netw string) (cid.Cid, error)

func FetchAndLoadBundleFromURL

func FetchAndLoadBundleFromURL(ctx context.Context, basePath string, bs blockstore.Blockstore, av actors.Version, rel, netw, url, cksum string) (cid.Cid, error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL