loader

package
v0.0.0-...-ee163f1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrModeUnimplemented = errors.New("error: mode unimplemented")
)

Functions

func LoadPackage

func LoadPackage(path string, filename underline.Filename, system *discovery.System) v.Future[v.Result[v.Unit, error]]

func LoadSystem

func LoadSystem(system *discovery.System) v.Result[v.Unit, error]

Types

type ErrorArray

type ErrorArray []error

func (ErrorArray) Error

func (a ErrorArray) Error() string

type PackageLoader

type PackageLoader struct {
	// contains filtered or unexported fields
}

func NewPackageLoader

func NewPackageLoader(path string, filename underline.Filename, system *discovery.System) *PackageLoader

func (*PackageLoader) Load

func (loader *PackageLoader) Load() v.Future[v.Result[v.Unit, error]]

func (*PackageLoader) LoadNormal

func (loader *PackageLoader) LoadNormal() v.Result[v.Unit, error]

type ScriptResults

type ScriptResults struct {
	Lookup execute.LookupResult
	Output map[string]execute.ExecuteOutput
	Errors map[string]*exec.ExitError
}

Jump to

Keyboard shortcuts

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