ts

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildVendorBundleToDir

func BuildVendorBundleToDir(ctx context.Context, chartPath string) error

BuildVendorBundleToDir scans the chart's TypeScript source for npm dependencies and creates a vendor bundle file at ts/vendor/libs.js.

func EnsureGitignore

func EnsureGitignore(chartPath string) error

EnsureGitignore adds TypeScript entries to .gitignore, creating if needed.

func InitChartStructure

func InitChartStructure(ctx context.Context, chartPath, chartName string) error

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

func InitTSBoilerplate(ctx context.Context, chartPath, chartName string) error

InitTSBoilerplate creates TypeScript boilerplate files in ts/ directory.

func RenderChart

func RenderChart(ctx context.Context, chart *helmchart.Chart, renderedValues chartutil.Values) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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