Documentation ¶
Overview ¶
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 ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) (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
Click to show internal directories.
Click to hide internal directories.