v1alpha5

package
v0.104.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const Description string = "app.holos.run/description"

Description represents the annotation used to describe the component when printing user feedback.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildPlan

type BuildPlan struct {
	core.BuildPlan
	Opts holos.BuildOpts
}

BuildPlan represents a component builder.

func (*BuildPlan) Build

func (b *BuildPlan) Build(ctx context.Context) error

func (*BuildPlan) Export

func (b *BuildPlan) Export(idx int, encoder holos.OrderedEncoder) error

func (*BuildPlan) Load

func (b *BuildPlan) Load(v cue.Value) error

type Component

type Component struct {
	Component core.Component
}

func (*Component) Describe

func (c *Component) Describe() string

func (*Component) ExtractYAML deprecated

func (c *Component) ExtractYAML() ([]string, error)

ExtractYAML returns the path values for the --extract-yaml command line flag.

Deprecated: use cue embed instead. Removed in v1alpha6.

func (*Component) Labels

func (c *Component) Labels() holos.Labels

func (*Component) Path

func (c *Component) Path() string

func (*Component) Tags

func (c *Component) Tags() ([]string, error)

func (*Component) WriteTo

func (c *Component) WriteTo() string

Jump to

Keyboard shortcuts

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