helm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindCharts

func FindCharts(chartSearchDir string) ([]string, error)

FindCharts locates all "Chart.yaml" files in the current directory, and all sub-directories

Types

type Chart

type Chart struct {
	APIVersion  string `yaml:"apiVersion"`
	AppVersion  string `yaml:"appVersion"`
	KubeVersion string `yaml:"kubeVersion"`
	Name        string
	Deprecated  bool
	Description string
	Version     string
}

Chart contains all info about a chart from the Chart.yaml file

func GetChart

func GetChart(chartFile io.Reader) (Chart, error)

GetChart reads the content of the io.Reader and unmarshals the content into a Chart struct

type Release

type Release struct {
	ReleaseDate *time.Time
	Chart       Chart
	ValueDiff   string
	Commits     []git.GitCommit
}

Release represents a release of a Helm Chart including: - metadata for the released chart - all commits - the difference in default values

func CreateHelmReleases

func CreateHelmReleases(log *logrus.Logger, chartFile, chartDir string, g git.Git, commits []git.GitCommit) []*Release

Jump to

Keyboard shortcuts

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