Documentation
¶
Index ¶
- func BuildVendorBundleToDir(ctx context.Context, chartPath string) error
- func EnsureGitignore(chartPath string) error
- func InitChartStructure(ctx context.Context, chartPath, chartName string) error
- func InitTSBoilerplate(ctx context.Context, chartPath, chartName string) error
- func RenderChart(ctx context.Context, chart *helmchart.Chart, renderedValues chartutil.Values) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVendorBundleToDir ¶
BuildVendorBundleToDir scans the chart's TypeScript source for npm dependencies and creates a vendor bundle file at ts/vendor/libs.js.
func EnsureGitignore ¶
EnsureGitignore adds TypeScript entries to .gitignore, creating if needed.
func InitChartStructure ¶
InitChartStructure creates Chart.yaml and values.yaml if they don't exist. For .helmignore: creates if missing, or appends TS entries if exists. Returns error if ts/ directory already exists.
func InitTSBoilerplate ¶
InitTSBoilerplate creates TypeScript boilerplate files in ts/ directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.