kaddons

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHelmChart added in v0.0.2

func AddHelmChart(scope kgen.Scope, props HelmChartProps)

func ExecHelmTemplateAndGetObjects

func ExecHelmTemplateAndGetObjects(props HelmTemplateOptions) ([]runtime.Object, error)

func SetOptions added in v0.0.2

func SetOptions(scope kgen.Scope, opts Options)

Types

type HelmChartInfo

type HelmChartInfo struct {
	Repo    string
	Chart   string
	Version string
}

type HelmChartProps

type HelmChartProps struct {
	ChartInfo           HelmChartInfo
	ChartFileNamePrefix string
	ReleaseName         string
	Namespace           string
	Values              map[string]interface{}
	PatchObject         func(obj runtime.Object) error
}

type HelmTemplateOptions added in v0.0.2

type HelmTemplateOptions struct {
	ChartInfo           HelmChartInfo
	ChartFileNamePrefix string
	ReleaseName         string
	Namespace           string
	Values              map[string]interface{}

	CacheDir        string
	HelmKubeVersion string
	Logger          kgen.Logger
}

type Options added in v0.0.2

type Options struct {
	CacheDir        string
	HelmKubeVersion string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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