common_templates

package
v0.1.4-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoldenImagesNSname = "kubevirt-os-images"
	BundleDir          = "data/common-templates-bundle/"

	TemplateVersionLabel         = "template.kubevirt.io/version"
	TemplateTypeLabel            = "template.kubevirt.io/type"
	TemplateOsLabelPrefix        = "os.template.kubevirt.io/"
	TemplateFlavorLabelPrefix    = "flavor.template.kubevirt.io/"
	TemplateWorkloadLabelPrefix  = "workload.template.kubevirt.io/"
	TemplateDeprecatedAnnotation = "template.kubevirt.io/deprecated"
)
View Source
const (
	ViewRoleName        = "os-images.kubevirt.io:view"
	EditClusterRoleName = "os-images.kubevirt.io:edit"
)
View Source
const (
	Version = "v0.14.0-rc.2"
)

Variables

This section is empty.

Functions

func GetOperand

func GetOperand() operands.Operand

func ReadTemplates

func ReadTemplates(filename string) ([]templatev1.Template, error)

ReadTemplates from the combined yaml file and return the list of its templates

Types

This section is empty.

Jump to

Keyboard shortcuts

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