Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnotationTemplateNameKey string = "vm.kubevirt.io/template" AnnotationTemplateNamespaceKey string = "vm.kubevirt.io/template.namespace" AnnotationTemplateNamespaceOldKey string = "vm.kubevirt.io/template-namespace" AnnotationValidationKey string = "validations" // This is the new annotation we will be using for VirtualMachines that carry their own validation rules VmValidationAnnotationKey string = "vm.kubevirt.io/validations" // If this annotation exists on a VM, it means that validation should be skipped. // This annotation is used for troubleshooting, debugging and experimenting with templated VMs. VmSkipValidationAnnotationKey string = "vm.kubevirt.io/skip-validations" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateKey ¶
func (*TemplateKey) AnyNamespace ¶
func (t *TemplateKey) AnyNamespace() string
func (*TemplateKey) IsValid ¶
func (t *TemplateKey) IsValid() bool
func (*TemplateKey) String ¶
func (t *TemplateKey) String() string
type TemplateKeys ¶
type TemplateKeys struct { LabelKey TemplateKey AnnotationKey TemplateKey }
func GetTemplateKeys ¶
func GetTemplateKeys(obj meta.Object) TemplateKeys
func (*TemplateKeys) Get ¶
func (t *TemplateKeys) Get() *TemplateKey
func (*TemplateKeys) IsValid ¶
func (t *TemplateKeys) IsValid() bool
Click to show internal directories.
Click to hide internal directories.