helm

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumPatchDigits = 2
)

Variables

View Source
var (
	PatchNumMultiplier = uint64(math.Pow10(2))
	MaxPatchNum        = PatchNumMultiplier - 1
)

Functions

func ArchiveCRDs added in v0.2.3

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

ArchiveCRDs bundles, compresses and saves the CRD files from the source to the destination

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, packageVersion *int, version *semver.Version, upstreamChartVersion, packageAssetsDirpath, packageChartsDirpath string, omitBuildMetadata bool) 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 GetHelmMetadataVersion added in v0.2.0

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

func UpdateHelmMetadataWithName

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

UpdateHelmMetadataWithName updates the name of the chart in the metadata

Types

This section is empty.

Jump to

Keyboard shortcuts

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