catalog

package
v0.0.0-...-47278bc Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseComponent

type BaseComponent struct {
	Repo             string `json:"repository"`
	Chart            string `json:"chart"`
	Version          string `json:"version"`
	Values           string `json:"values"`
	Hooks            string `json:"hooks"`
	ApplicationHooks string `json:"applicationHooks,omitempty"`
}

baseComponent contains default fields and methods for implemented components.

type ComponentCatalog

type ComponentCatalog struct {
	HookSource string                  `json:"hookSource"`
	Components map[string]component    `json:"components"`
	Config     *componentCatalogConfig `json:"config"`
}

ComponentCatalog contains the component manifests.

func NewComponentCatalog

func NewComponentCatalog() (*ComponentCatalog, error)

newComponentCatalog creates the

func (*ComponentCatalog) AddComponent

func (c *ComponentCatalog) AddComponent(name string, component component)

addComponent adds the component to the catalog.

type ComponentConfig

type ComponentConfig struct {
	Repo      string
	Chart     string
	Version   string
	Values    string
	Manifests string
}

ComponentConfig contains the component configuration fields.

Jump to

Keyboard shortcuts

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