Documentation ¶
Index ¶
Constants ¶
View Source
const ( TemplateVersionLabel = "template.kubevirt.io/version" TemplateTypeLabel = "template.kubevirt.io/type" TemplateTypeLabelBaseValue = "base" 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.16.2"
)
Variables ¶
View Source
var (
CommonTemplatesRestored = prometheus.NewCounter(prometheus.CounterOpts{
Name: "total_restored_common_templates",
Help: "The total number of common templates restored by the operator back to their original state",
})
)
Functions ¶
func ReadTemplates ¶
func ReadTemplates(filename string) ([]templatev1.Template, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.