component

package
v0.0.0-...-1144b69 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllComponents = []Component{
	{
		UserFacingName: BaseComponentName,
		SpecName:       "base",
		Default:        true,
		HelmSubDir:     "base",
		HelmTreeRoot:   "global",
	},
}
View Source
var (
	Icons = map[Name]string{
		BaseComponentName: "🚄",
	}
)

Functions

func UserFacingCompName

func UserFacingCompName(name Name) string

Types

type Component

type Component struct {
	UserFacingName Name
	SpecName       string
	Default        bool
	HelmSubDir     string
	HelmTreeRoot   string
	FlattenValues  bool
}

func (Component) Get

func (c Component) Get(merged values.Map) ([]apis.MetadataCompSpec, error)

type Name

type Name string
const (
	BaseComponentName Name = "Base"
)

Jump to

Keyboard shortcuts

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