chartsconfig

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: ISC Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartsConfiguration

type ChartsConfiguration struct {
	APIVersion string                    `yaml:"apiVersion"`
	Name       string                    `yaml:"name"`
	Namespace  string                    `yaml:"namespace"`
	ChartsMap  []map[string]*chart.Chart `yaml:"charts"`
	ChartsList []*chart.Chart
}

ChartsConfiguration ...

func NewChartsConfiguration

func NewChartsConfiguration(input []byte, tpath string) (*ChartsConfiguration, error)

NewChartsConfiguration initializes a new ChartsConfiguration.

func (*ChartsConfiguration) ParseCharts

func (cc *ChartsConfiguration) ParseCharts() ([]byte, error)

ParseCharts loops through all charts, and returns the parsed resources.

func (*ChartsConfiguration) Validate

func (cc *ChartsConfiguration) Validate() error

Validate makes sure the charts configuration is configured as expected.

Jump to

Keyboard shortcuts

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