component

package
v0.0.0-...-31b96a6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 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:   "base.global",
	},
	{
		UserFacingName: AdminComponentName,
		SpecName:       "admin",
		Default:        true,
		HelmSubDir:     "admin",
		HelmTreeRoot:   "",
	},
	{
		UserFacingName: RegisterComponentName,
		SpecName:       "register",
		Default:        true,
		HelmSubDir:     "dubbo-control/register-discovery",
		HelmTreeRoot:   "",
	},
}
View Source
var (
	Icons = map[Name]string{
		BaseComponentName:     "🛸",
		RegisterComponentName: "📡",
		AdminComponentName:    "🛰",
	}
)

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"
	AdminComponentName    Name = "Admin"
	RegisterComponentName Name = "Register"
)

Jump to

Keyboard shortcuts

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