kluctl_jinja2

package
v2.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtSource embed.FS

Functions

func IsConditionalTrue added in v2.19.0

func IsConditionalTrue(c string) bool

func NewKluctlJinja2

func NewKluctlJinja2(ctx context.Context, strict bool) (*x.Jinja2, error)

func RenderConditional added in v2.19.0

func RenderConditional(j *jinja2.Jinja2, vars map[string]any, conditional string) (string, error)

func RenderConditionals added in v2.19.0

func RenderConditionals(j *jinja2.Jinja2, vars map[string]any, conditionals []string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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