Documentation ¶
Index ¶
- Constants
- Variables
- func ArchiveCRDs(fs billy.Filesystem, ...) error
- 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, packageVersion *int, ...) error
- func GetHelmMetadataVersion(fs billy.Filesystem, mainHelmChartPath string) (string, error)
- func UpdateHelmMetadataWithName(fs billy.Filesystem, mainHelmChartPath string, name string) error
Constants ¶
const (
NumPatchDigits = 2
)
Variables ¶
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 ¶
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 UpdateHelmMetadataWithName ¶
UpdateHelmMetadataWithName updates the name of the chart in the metadata
Types ¶
This section is empty.