helmchart

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 26 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) ([]manifest.Manifest, error)

Types

type GithubChartRef

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

type Manifests

type Manifests []manifest.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) *manifest.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
JackTT - Gopher 🇻🇳