templates

package
v0.1.69 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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
)
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)
)

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