templates

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: (user) add your template files here
	// ClusterJobTemplate        templateFile = "./cluster-job.yml.tpl"
	AppDeployment templateFile = "./app-deployment-svc-hpa.yml.tpl"
	HPATemplate   templateFile = "./hpa-template.yml.tpl"
	AppIntercept  templateFile = "./app-intercept.yml.tpl"
)

Variables

View Source
var ParseBytes = templates.ParseBytes

Functions

func Read

func Read(t templateFile) ([]byte, error)

Types

type HPATemplateVars added in v1.1.0

type HPATemplateVars struct {
	Metadata metav1.ObjectMeta
	*crdsv1.HPA
}

Jump to

Keyboard shortcuts

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