Documentation
¶
Index ¶
- func BundleChartsRecursive(ctx context.Context, chart helmchart.Accessor, path string, rebuildBundle bool, ...) error
- func DownloadDenoForPlatform(ctx context.Context, goos, goarch, destDir string) (string, error)
- func EnsureGitignore(chartPath string) error
- func GetTSOptionsFromContext(ctx context.Context) common.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 common.TypeScriptOptions) context.Context
- func RenderChart(ctx context.Context, chart helmchart.Accessor, ...) (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 DownloadDenoForPlatform ¶
DownloadDenoForPlatform downloads the pinned Deno release for an arbitrary target platform into destDir and returns the path of the extracted binary.
func EnsureGitignore ¶
EnsureGitignore adds TypeScript entries to .gitignore, creating if needed.
func GetTSOptionsFromContext ¶
func GetTSOptionsFromContext(ctx context.Context) common.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
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.