helmchart

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmptyManifest

func IsEmptyManifest(manifest string) bool

func RenderChartFromGithub

func RenderChartFromGithub(ctx context.Context, ref GithubChartRef) (*chart.Chart, error)

func RenderChartsFromGithub

func RenderChartsFromGithub(ctx context.Context, parentRef GithubChartRef) (map[string]*chart.Chart, error)

func RenderManifestsFromGithub

func RenderManifestsFromGithub(ctx context.Context, ref GithubChartRef, values, releaseName, namespace, kubeVersion string) ([]releaseutil.Manifest, error)

Types

type GithubChartRef

type GithubChartRef struct {
	Owner          string
	Repo           string
	Ref            string
	ChartDirectory string
}

type HelmValue added in v0.9.12

type HelmValue struct {
	Key          string
	Type         string
	DefaultValue string
	Description  string
}

type HelmValues added in v0.9.12

type HelmValues []HelmValue

func Doc added in v0.9.12

func Doc(s interface{}) HelmValues

func (HelmValues) ToMarkdown added in v0.9.12

func (v HelmValues) ToMarkdown() string

type Manifests

type Manifests []releaseutil.Manifest

func ManifestsFromResources

func ManifestsFromResources(resources kuberesource.UnstructuredResources) (Manifests, error)

func RenderManifests

func RenderManifests(ctx context.Context, chartUri, values, releaseName, namespace, kubeVersion string) (Manifests, error)

func (Manifests) CombinedString

func (m Manifests) CombinedString() string

func (Manifests) Find

func (m Manifests) Find(name string) *releaseutil.Manifest

func (Manifests) Names

func (m Manifests) Names() []string

func (Manifests) ResourceList

func (m Manifests) ResourceList() (kuberesource.UnstructuredResources, error)

Jump to

Keyboard shortcuts

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