template

package
v0.23.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package template provides functions for templating yaml files

Package template provides functions for templating yaml files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessYamlFilesInPath

func ProcessYamlFilesInPath(path string, component types.ZarfComponent, values Values) []string

ProcessYamlFilesInPath iterates over all yaml files in a given path and performs Zarf templating + image swapping

Types

type Values

type Values struct {
	// contains filtered or unexported fields
}

func Generate

func Generate(cfg *types.PackagerConfig) (Values, error)

func (Values) Apply

func (values Values) Apply(component types.ZarfComponent, path string)

func (Values) GetRegistry

func (values Values) GetRegistry() string

func (Values) Ready

func (values Values) Ready() bool

Jump to

Keyboard shortcuts

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