Documentation ¶
Overview ¶
Package internal GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TaskPath = cue.ParsePath("$$task.name")
Functions ¶
func FormatAsJSONPath ¶
Types ¶
type Controller ¶
func New ¶
func New(v cue.Value, optionFuncs ...OptionFunc) *Controller
func (Controller) RuntimeDoc ¶
func (v Controller) RuntimeDoc(names ...string) ([]string, bool)
func (*Controller) Tasks ¶
func (c *Controller) Tasks() []Node
type OptionFunc ¶
type OptionFunc func(c *Controller)
func WithRunTask ¶
func WithRunTask(runTask func(ctx context.Context, n Node) error) OptionFunc
func WithShouldRunFunc ¶
func WithShouldRunFunc(shouldRun func(value cue.Value) bool) OptionFunc
func (OptionFunc) RuntimeDoc ¶
func (OptionFunc) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.