render

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 20 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 IsNotFoundError added in v0.47.5

func IsNotFoundError(err error) bool

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 NotFoundError added in v0.47.5

type NotFoundError string

func (NotFoundError) Error added in v0.47.5

func (err NotFoundError) Error() string

func (NotFoundError) Is added in v0.47.5

func (NotFoundError) Is(err error) bool

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