templates

package
v0.1.137 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed project.yaml.tpl
	ProjectYAML string

	//go:embed values.yaml.tpl
	ValuesYAML string

	//go:embed app-static.yaml.tpl
	StaticAppYAML string
	//go:embed app-service.yaml.tpl
	ServiceAppYAML string
	//go:embed app-function.yaml.tpl
	FunctionAppYAML string
)
View Source
var (
	ProjectYAMLTemplate     = lazyInit("project.yaml", ProjectYAML)
	ValuesYAMLTemplate      = lazyInit("values.yaml", ValuesYAML)
	StaticAppYAMLTemplate   = lazyInit("static_app.yaml", StaticAppYAML)
	ServiceAppYAMLTemplate  = lazyInit("service_app.yaml", ServiceAppYAML)
	FunctionAppYAMLTemplate = lazyInit("function_app.yaml", FunctionAppYAML)
)

Functions

func LoadTemplate added in v0.1.58

func LoadTemplate(name string) *template.Template

Types

This section is empty.

Jump to

Keyboard shortcuts

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