template

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PREFIX = "LULA_"

Variables

This section is empty.

Functions

func CollectTemplatingData

func CollectTemplatingData(data map[string]interface{}) map[string]interface{}

func ExecuteTemplate

func ExecuteTemplate(data map[string]interface{}, templateString string) ([]byte, error)

ExecuteTemplate templates the template string with the data map

func GetEnvVars

func GetEnvVars(prefix string) map[string]interface{}

get all environment variables with the established prefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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