lib

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: BSD-3-Clause Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(flags, args []string, mode string) (string, error)

func Gen

func Gen(entrypoints, expressions []string, mode string) error

Types

type Runtime added in v0.2.8

type Runtime struct {
	// Setup options
	Entrypoints []string
	Expressions []string

	// Cue ralated
	CueRT           *cue.Runtime
	BuildInstances  []*build.Instance
	CueInstances    []*cue.Instance
	TopLevelValues  []cue.Value
	TopLevelStructs []*cue.Struct

	// Hof related
	Generators map[string]*gen.Generator
	Shadow     map[string]*gen.File
	// contains filtered or unexported fields
}

func NewRuntime added in v0.2.8

func NewRuntime(entrypoints, expressions []string) *Runtime

func (*Runtime) ExtractHofItems added in v0.2.8

func (R *Runtime) ExtractHofItems()

func (*Runtime) LoadCue added in v0.2.8

func (R *Runtime) LoadCue() []error

func (*Runtime) LoadGenerators added in v0.2.8

func (R *Runtime) LoadGenerators() []error

func (*Runtime) PrintMergeConflicts added in v0.2.8

func (R *Runtime) PrintMergeConflicts()

func (*Runtime) PrintStats added in v0.2.8

func (R *Runtime) PrintStats()

func (*Runtime) RunGenerators added in v0.2.8

func (R *Runtime) RunGenerators() []error

func (*Runtime) WriteOutput added in v0.2.8

func (R *Runtime) WriteOutput() []error

Directories

Path Synopsis
studios
app
Package par implements parallel execution helpers.
Package par implements parallel execution helpers.

Jump to

Keyboard shortcuts

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