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"
)
Variables ¶
This section is empty.
Functions ¶
func GetOperand ¶
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.
Click to show internal directories.
Click to hide internal directories.