helm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyCRDsFromChart

func CopyCRDsFromChart(fs billy.Filesystem, srcHelmChartPath, srcCRDsDir, dstHelmChartPath, destCRDsDir string) error

CopyCRDsFromChart copies the CRDs from a chart to another chart

func CreateOrUpdateHelmIndex

func CreateOrUpdateHelmIndex(rootFs billy.Filesystem) error

CreateOrUpdateHelmIndex either creates or updates the index.yaml for the repository this package is within

func DeleteCRDsFromChart

func DeleteCRDsFromChart(fs billy.Filesystem, helmChartPath string) error

DeleteCRDsFromChart deletes all the CRDs loaded by a chart

func ExportHelmChart

func ExportHelmChart(rootFs, fs billy.Filesystem, helmChartPath string, chartVersion string, packageAssetsDirpath, packageChartsDirpath string) error

ExportHelmChart creates a Helm chart archive and an unarchived Helm chart at RepositoryAssetDirpath and RepositoryChartDirPath helmChartPath is a relative path (rooted at the package level) that contains the chart. packageAssetsPath is a relative path (rooted at the repository level) where the generated chart archive will be placed packageChartsPath is a relative path (rooted at the repository level) where the generated chart will be placed

func TrimRCVersionFromHelmChart added in v0.0.3

func TrimRCVersionFromHelmChart(fs billy.Filesystem, mainHelmChartPath string) error

TrimRCVersionFromHelmChart updates the chart's metadata to remove RC versions

func UpdateHelmMetadataWithName

func UpdateHelmMetadataWithName(fs billy.Filesystem, mainHelmChartPath string, name string) error

UpdateHelmMetadataWithName updates the name of the chart in the metadata

Types

type AutoInstallAnnotation added in v0.0.3

type AutoInstallAnnotation struct{}

AutoInstallAnnotation corresponds to catalog.cattle.io/auto-install

type ExportAnnotation added in v0.0.3

type ExportAnnotation interface {
	// contains filtered or unexported methods
}

ExportAnnotation is an annotation that is modified on an export

Jump to

Keyboard shortcuts

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