cue

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	UsagePrefix = "+usage="
	ShortPrefix = "+short="
)
View Source
const Template = "#Template"

Variables

This section is empty.

Functions

func Eval

func Eval(templatePath, workloadType string, value map[string]interface{}) (string, error)

func GetDefault

func GetDefault(val cue.Value) interface{}

func GetParameters

func GetParameters(templatePath string) ([]types.Parameter, string, error)

func RetrieveComments

func RetrieveComments(value cue.Value) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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