lib

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 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

func SendFeedback added in v0.5.3

func SendFeedback(args []string) error

func SetupHof added in v0.5.3

func SetupHof(args []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
Package connector ...
Package connector ...
Should be able to query select by labels and then apply one more more lables So basically "Get" with label changes, will need to expand to some CRUD ops almost their own thing, but want some real flexibility here
Should be able to query select by labels and then apply one more more lables So basically "Get" with label changes, will need to expand to some CRUD ops almost their own thing, but want some real flexibility here
mod
parse/lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
util/par
Package par implements parallel execution helpers.
Package par implements parallel execution helpers.
package resources - for working with hof stuff and crds Resources are a conceptualization around things and bringing some consistency in how difinitions are written.
package resources - for working with hof stuff and crds Resources are a conceptualization around things and bringing some consistency in how difinitions are written.
Package par implements parallel execution helpers.
Package par implements parallel execution helpers.
configdir
Package configdir provides a cross platform means of detecting the system's configuration directories.
Package configdir provides a cross platform means of detecting the system's configuration directories.
par
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