Documentation ¶
Index ¶
- func HydrateValues(release *v1alpha1.Release, mappings *config.ValueMapping) (map[string]any, error)
- func Render(ctx context.Context, params RenderParams) error
- func RenderRelease(ctx context.Context, params RenderReleaseParams) error
- type CommonRenderParams
- type ManifestColorWriter
- type RenderParams
- type RenderReleaseParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HydrateValues ¶ added in v0.25.0
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.
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 }
Click to show internal directories.
Click to hide internal directories.