render

package
v0.0.0-...-b40e610 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProduceOutput

func ProduceOutput(templPath string, inputData *TemplData, outputDst string) error

Receives path to a template, Node data and writes rendered file to output destination path

func StringSliceToStringMap

func StringSliceToStringMap(s []string) map[string]string

Converts slice of strings of form "key=value" into map[key]value

func StringifyStringsMap

func StringifyStringsMap(m map[string]string) string

Types

type TemplData

type TemplData struct {
	Nodes  *[]kubernetes.Node
	Values *map[string]interface{}
}

Jump to

Keyboard shortcuts

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