template

package
v1.23.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(name, version, path string) (*chart.Chart, error)

func NewTemplaterFunc

func NewTemplaterFunc(cfg *rest.Config) func(ctx context.Context, bundle *pluginsv1beta1.Plugin, dir string) ([]byte, error)

Types

type Templater

type Templater struct {
	Config *rest.Config
	DC     discovery.CachedDiscoveryInterface
}

func (Templater) Template

func (t Templater) Template(ctx context.Context, plugin *pluginsv1beta1.Plugin, dir string) ([]byte, error)

TemplatesTemplate using helm template engine to render,but allow apply to different namespaces

Jump to

Keyboard shortcuts

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