Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand returns the subcommand that renders individual components.
Types ¶
type Component ¶
type Component struct {
// Root represents the cue module root directory.
Root string
// Path represents the component path relative to Root.
Path string
}
Component implements the holos render component command.
func (*Component) BuildPlan ¶
func (c *Component) BuildPlan(tm holos.TypeMeta, opts holos.BuildOpts, tagMap holos.TagMap) (BuildPlan, error)
BuildPlan returns the BuildPlan for the component.
type Config ¶
type Config struct {
// TagMap represents cue tags to inject.
TagMap holos.TagMap
// Concurrency represents the number of subcommands to execute concurrently.
Concurrency int
// WriteTo represents the output base directory for rendered artifacts.
WriteTo string
// Stderr represents the standard error output pipe. Used to copy stderr
// output from subcommands.
Stderr io.Writer
}
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance represents a cue instance to build. Use LoadInstance to create a new Instance.
func BuildInstance ¶
BuildInstance builds the cue configuration instance at leaf relative to the root cue module.
func (*Instance) Discriminate
deprecated
Click to show internal directories.
Click to hide internal directories.