v3helm.sh/helm/v3/pkg/postrender Index | Files

package postrender

import "helm.sh/helm/v3/pkg/postrender"

Package postrender contains an interface that can be implemented for custom post-renderers and an exec implementation that can be used for arbitrary binaries and scripts

Index

Types

type PostRenderer

type PostRenderer interface {
	// Run expects a single buffer filled with Helm rendered manifests. It
	// expects the modified results to be returned on a separate buffer or an
	// error if there was an issue or failure while running the post render step
	Run(renderedManifests *bytes.Buffer) (modifiedManifests *bytes.Buffer, err error)
}

func NewExec

func NewExec(binaryPath string, args ...string) (PostRenderer, error)

NewExec returns a PostRenderer implementation that calls the provided binary. It returns an error if the binary cannot be found. If the path does not contain any separators, it will search in $PATH, otherwise it will resolve any relative paths to a fully qualified path

Source Files

exec.go postrender.go

Version
v3.17.3 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 month ago

Tools for package owners.