chart

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIV1                    string = "v1"
	APIV2                    string = "v2"
	ChartFilename            string = "Chart.yaml"
	ChartLockFilename        string = "Chart.lock"
	ValuesFilename           string = "values.yaml"
	ValuesProductionFilename string = "values-production.yaml"
	RequirementsFilename     string = "requirements.yaml"
	RequirementsLockFilename string = "requirements.lock"
	ReadmeFilename           string = "README.md"
)

Constants

Variables

This section is empty.

Functions

func BuildDependencies added in v0.6.1

func BuildDependencies(chartPath string, r client.ChartsReader, sourceRepo, targetRepo *api.Repo) error

BuildDependencies updates the chart dependencies and their repository references in the provided chart path

It reads the lock file to download the versions from the target chart repository (it assumes all charts are stored in a single repo).

func ChangeReferences

func ChangeReferences(chartPath, name, version string, source *api.Source, target *api.Target) error

ChangeReferences changes the references of a chart tgz file from the source repo to the target repo

func GetChartDependencies

func GetChartDependencies(filepath string, name string) ([]*chart.Dependency, error)

GetChartDependencies returns the chart chart.Dependencies from a chart in tgz format.

func GetChartLock

func GetChartLock(chartPath string) (*chart.Lock, error)

GetChartLock returns the chart.Lock from an uncompressed chart

func GetLockAPIVersion

func GetLockAPIVersion(chartPath string) (string, error)

GetLockAPIVersion returns the apiVersion field of a chart's lock file

Types

This section is empty.

Jump to

Keyboard shortcuts

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