ts

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleChartsRecursive

func BundleChartsRecursive(ctx context.Context, chart *helmchart.Chart, path string, rebuildBundle bool, binaryPath string) error

func EnsureGitignore

func EnsureGitignore(chartPath string) error

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

func GetTSOptionsFromContext

func GetTSOptionsFromContext(ctx context.Context) helmopts.TypeScriptOptions

func InitChartStructure

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

InitChartStructure creates values.yaml and .helmignore if they don't exist. If values.yaml already exists, creates values-ts-example.yaml instead. Returns error if ts/ directory already exists.

func InitTSBoilerplate

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

func NewContextWithTSOptions

func NewContextWithTSOptions(ctx context.Context, opts helmopts.TypeScriptOptions) context.Context

func RenderChart

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

func RunDenoInstall

func RunDenoInstall(ctx context.Context, chartPath, binaryPath string) error

Types

type InitTSBoilerplateOptions

type InitTSBoilerplateOptions struct {
	RenderContextType string
}

Jump to

Keyboard shortcuts

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