template

package
v1.24.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 19 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 nolint funlen

Jump to

Keyboard shortcuts

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