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 ¶
NewHelm3Engine returns a new Helm3 Engine to be used as resource.TemplatingEngine.
func (*Engine) Run ¶
func (e *Engine) Run(cr resource.ParentResource) ([]resource.ChildResource, error)
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
WithLogger returns an Option that changes the logger of the Engine.
func WithResourcePath ¶
WithResourcePath returns an Option that changes the resource path of the Engine.
Click to show internal directories.
Click to hide internal directories.