Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Components ¶ added in v0.93.3
Components returns a slice of embedded component schematics or nil if there are none.
func GenerateComponent ¶
GenerateComponent writes the cue code for a component to the local working directory.
func GeneratePlatform ¶
GeneratePlatform writes the cue code for a named platform to path.
Types ¶
type Schematic ¶
type Schematic struct {
// Name represents the name of the resource the schematic generates.
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Short string `json:"short,omitempty" yaml:"short,omitempty"`
Long string `json:"long,omitempty" yaml:"long,omitempty"`
Chart *string `json:"chart,omitempty" yaml:"chart,omitempty"`
Version *string `json:"version,omitempty" yaml:"version,omitempty"`
Namespace *string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
RepoName *string `json:"reponame,omitempty" yaml:"reponame,omitempty"`
RepoURL *string `json:"repourl,omitempty" yaml:"repourl,omitempty"`
// contains filtered or unexported fields
}
Schematic represents the flags and command metadata stored in the schematic.yaml file along side each schematic.
Click to show internal directories.
Click to hide internal directories.