Documentation
¶
Index ¶
- func CopyCRDsFromChart(fs billy.Filesystem, ...) error
- func CreateOrUpdateHelmIndex(rootFs billy.Filesystem) error
- func DeleteCRDsFromChart(fs billy.Filesystem, helmChartPath string) error
- func ExportHelmChart(rootFs, fs billy.Filesystem, helmChartPath string, chartVersion string, ...) error
- func TrimRCVersionFromHelmMetadataVersion(fs billy.Filesystem, mainHelmChartPath string) error
- func UpdateHelmMetadataWithName(fs billy.Filesystem, mainHelmChartPath string, name string) error
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 TrimRCVersionFromHelmMetadataVersion ¶
func TrimRCVersionFromHelmMetadataVersion(fs billy.Filesystem, mainHelmChartPath string) error
TrimRCVersionFromHelmMetadataVersion updates the name of the chart in the metadata
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.