templates

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NodepoolJobNamespaceRBAC templateFile = "./nodepool-job-namespace-rbac.yml.tpl"
	NodepoolJob              templateFile = "./nodepool-job.yml.tpl"
)

Variables

View Source
var ParseBytes = templates.ParseBytes

Functions

func Read

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

Types

type NodepoolJobVars added in v1.1.0

type NodepoolJobVars struct {
	JobMetadata  metav1.ObjectMeta
	NodeSelector map[string]string
	Tolerations  []corev1.Toleration
	JobImage     string

	TFWorkspaceName      string
	TfWorkspaceNamespace string

	CloudProvider string

	ValuesJSON string
}

Jump to

Keyboard shortcuts

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