Documentation
¶
Index ¶
- func BundleChartsRecursive(ctx context.Context, chart *helmchart.Chart, path string, rebuildBundle bool, ...) error
- func EnsureGitignore(chartPath string) error
- func GetTSOptionsFromContext(ctx context.Context) helmopts.TypeScriptOptions
- func InitChartStructure(ctx context.Context, chartPath, chartName string) error
- func InitTSBoilerplate(ctx context.Context, chartPath, chartName string, ...) error
- func NewContextWithTSOptions(ctx context.Context, opts helmopts.TypeScriptOptions) context.Context
- func RenderChart(ctx context.Context, chart *helmchart.Chart, renderedValues chartutil.Values, ...) (map[string]string, error)
- func RunDenoInstall(ctx context.Context, chartPath, binaryPath string) error
- type InitTSBoilerplateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleChartsRecursive ¶
func EnsureGitignore ¶
EnsureGitignore adds TypeScript entries to .gitignore, creating if needed.
func GetTSOptionsFromContext ¶
func GetTSOptionsFromContext(ctx context.Context) helmopts.TypeScriptOptions
func InitChartStructure ¶
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 RenderChart ¶
Types ¶
type InitTSBoilerplateOptions ¶
type InitTSBoilerplateOptions struct {
RenderContextType string
}
Click to show internal directories.
Click to hide internal directories.