helmchart

package
v0.0.0-...-c4d1043 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 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

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

type HelmValues

type HelmValues []HelmValue

func Doc

func Doc(s interface{}) HelmValues

func (HelmValues) ToMarkdown

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