render

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HydrateValues added in v0.25.0

func HydrateValues(release *v1alpha1.Release, mappings *config.ValueMapping) (map[string]any, error)

func Render

func Render(ctx context.Context, params RenderParams) error

func RenderRelease added in v0.33.0

func RenderRelease(ctx context.Context, params RenderReleaseParams) error

Types

type CommonRenderParams added in v0.33.0

type CommonRenderParams struct {
	ValueMapping *config.ValueMapping
	IO           internal.IO
	Helm         helm.PullRenderer
	Color        bool
}

type ManifestColorWriter

type ManifestColorWriter struct {
	// contains filtered or unexported fields
}

ManifestColorWriter colorizes helm manifest by searching for document breaks and source comments. The implementation is naive and depends on the write buffer not breaking lines. In theory this means colorization can fail, however in practice it works well enough.

func (ManifestColorWriter) Write

func (w ManifestColorWriter) Write(data []byte) (int, error)

type RenderParams added in v0.33.0

type RenderParams struct {
	Env     string
	Release string
	Cache   helm.ChartCache
	Catalog *catalog.Catalog
	CommonRenderParams
}

type RenderReleaseParams added in v0.33.0

type RenderReleaseParams struct {
	Release *v1alpha1.Release
	Chart   *helm.ChartFS
	CommonRenderParams
}

Jump to

Keyboard shortcuts

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