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 TrimRCVersionFromHelmChart(fs billy.Filesystem, mainHelmChartPath string) error
- func UpdateHelmMetadataWithName(fs billy.Filesystem, mainHelmChartPath string, name string) error
- type AutoInstallAnnotation
- type ExportAnnotation
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