postrender

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 52

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, 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

Jump to

Keyboard shortcuts

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