common_templates

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 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"

	TemplateTypeLabelBaseValue = "base"

	CdiApiGroup   = "cdi.kubevirt.io"
	CdiApiVersion = "v1beta1"
)
View Source
const (
	ViewRoleName        = "os-images.kubevirt.io:view"
	EditClusterRoleName = "os-images.kubevirt.io:edit"
)
View Source
const (
	Version = "v0.16.0"
)

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