helm3

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// ResourcePath is the folder that the base resources reside in the
	// filesystem. It should be given as absolute path.
	ResourcePath string
	// contains filtered or unexported fields
}

Engine is used to do the templating operation via Helm3.

func NewHelm3Engine

func NewHelm3Engine(o ...Option) *Engine

NewHelm3Engine returns a new Helm3 Engine to be used as resource.TemplatingEngine.

func (*Engine) Run

Run returns the result of the templating operation.

type Option

type Option func(*Engine)

Option is used to manipulate the given *Engine instance.

func WithLogger added in v0.3.0

func WithLogger(l logging.Logger) Option

WithLogger returns an Option that changes the logger of the Engine.

func WithResourcePath

func WithResourcePath(path string) Option

WithResourcePath returns an Option that changes the resource path of the Engine.

Jump to

Keyboard shortcuts

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