kclchart

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	HelmChart
	ChartBase
}

All possible chart configuration, inheriting from `helm.Chart(helm.ChartBase)`.

func (*Chart) GenerateKCL

func (c *Chart) GenerateKCL(w io.Writer) error

func (*Chart) GetSnakeCaseName

func (c *Chart) GetSnakeCaseName() string

type ChartBase

type ChartBase kclhelm.ChartBase

type ChartConfig

type ChartConfig struct {
	HelmChartConfig
	ChartBase
}

All possible chart configuration that can be defined in `charts.k`, inheriting from `helm.ChartConfig(helm.ChartBase)`.

func (*ChartConfig) GenerateKCL

func (c *ChartConfig) GenerateKCL(w io.Writer) error

func (*ChartConfig) GetSnakeCaseName

func (c *ChartConfig) GetSnakeCaseName() string

func (*ChartConfig) ToAutomation

func (c *ChartConfig) ToAutomation() kclautomation.Automation

func (*ChartConfig) Validate

func (c *ChartConfig) Validate() error

type ChartData

type ChartData struct {
	Charts map[string]ChartConfig `json:"charts"`
}

func (*ChartData) FilterByName

func (cd *ChartData) FilterByName(name string) map[string]ChartConfig

func (*ChartData) GetByKey

func (cd *ChartData) GetByKey(k string) (ChartConfig, bool)

func (*ChartData) GetSortedKeys

func (cd *ChartData) GetSortedKeys() []string

GetSortedKeys returns the chart keys in alphabetical order.

type HelmChart

type HelmChart kclhelm.Chart

type HelmChartConfig

type HelmChartConfig kclhelm.ChartConfig

Jump to

Keyboard shortcuts

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