generate

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ChartFileName is the default Chart file name.
	ChartFileName = "Chart.yaml"
	// ValuesFileName is the default values file name.
	ValuesFileName = "values.yaml"
	// TemplatesDir is the relative directory name for templates.
	TemplatesDir = "templates"
	// ChartsDir is the relative directory name for charts dependencies.
	ChartsDir = "charts"
	//HelpersFileName is the name of the helper file
	HelpersFileName = TemplatesDir + "/" + "_helpers.tpl"
	// IgnoreFileName is the name of the Helm ignore file.
	IgnoreFileName = ".helmignore"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	ChartName   string
	ReleaseName string
	Content     map[string][]byte
}

func (Chart) Generate

func (c Chart) Generate(client *discovery.ApiClient, out io.Writer, dryRun, debug bool) error

Generate adopt k8s resource and generate helm chart

Jump to

Keyboard shortcuts

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