helm

package
v0.0.0-...-246153e Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Chart               string `yaml:"chart"`
	ChartVersion        string `yaml:"chartVersion"`
	HelmYaml            string
	ValuesYaml          string
	PostRenderBinary    string `yaml:"postRenderBinary"`
	KeyValueAssignments map[string]string
}

Configuration defines a struct for the .helm.yaml file

func (*Configuration) BuildHelmConfig

func (h *Configuration) BuildHelmConfig(file io.Reader) error

BuildHelmConfig overrides the values of the Conf based on a .helm.yaml file, it also checks if all required attributes are set.

func (*Configuration) InstallChart

func (h *Configuration) InstallChart(vals chartutil.Values) ([]map[string]interface{}, error)

InstallChart uses the Helm sdk and Conf values to generate the Chart manifests

type Configurator

type Configurator interface {
	BuildHelmConfig(path string) error
	InstallChart(vals chartutil.Values) ([]map[string]interface{}, error)
	// contains filtered or unexported methods
}

Configurator defines the interface for implementing a Helm Configuration

Jump to

Keyboard shortcuts

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