engine

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package engine provides an implementation of Helm's templating engine required for a Helm operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOwnerRefEngine

func NewOwnerRefEngine(baseEngine environment.Engine, refs []metav1.OwnerReference) environment.Engine

NewOwnerRefEngine creates a new OwnerRef engine with a set of metav1.OwnerReferences to be added to assets

Types

type OwnerRefEngine

type OwnerRefEngine struct {
	environment.Engine
	// contains filtered or unexported fields
}

OwnerRefEngine wraps a tiller Render engine, adding ownerrefs to rendered assets

func (*OwnerRefEngine) Render

func (o *OwnerRefEngine) Render(chart *chart.Chart, values chartutil.Values) (map[string]string, error)

Render proxies to the wrapped Render engine and then adds ownerRefs to each rendered file

Jump to

Keyboard shortcuts

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