Documentation ¶
Index ¶
- Constants
- func GetVM(template *v1.Template) *kubevirtv1.VirtualMachine
- func TemplateParam(key, value string) string
- type TestTemplate
- func (t *TestTemplate) Build() *v1.Template
- func (t *TestTemplate) WithDescriptionParam() *TestTemplate
- func (t *TestTemplate) WithDisk(disk kubevirtv1.Disk) *TestTemplate
- func (t *TestTemplate) WithNoVM() *TestTemplate
- func (t *TestTemplate) WithNonMatchingDisk() *TestTemplate
- func (t *TestTemplate) WithSCSIDiskValidations() *TestTemplate
- func (t *TestTemplate) WithSataDiskValidations() *TestTemplate
- func (t *TestTemplate) WithVirtioDiskValidations() *TestTemplate
- func (t *TestTemplate) WithVolume(volume kubevirtv1.Volume) *TestTemplate
Constants ¶
View Source
const ( DescriptionParam = "DESCRIPTION" NameParam = "NAME" DataVolumeNameParam = "DATA_SOURCE_NAME" DataVolumeNamespaceParam = "DATA_SOURCE_NAMESPACE" )
View Source
const (
CirrosTemplateName = "cirros-vm-template"
)
View Source
const (
RhelTemplateName = "rhel8-desktop-tiny"
)
Variables ¶
This section is empty.
Functions ¶
func GetVM ¶
func GetVM(template *v1.Template) *kubevirtv1.VirtualMachine
func TemplateParam ¶
Types ¶
type TestTemplate ¶
func NewCirrosServerTinyTemplate ¶
func NewCirrosServerTinyTemplate() *TestTemplate
func NewFedoraServerTinyTemplate ¶
func NewFedoraServerTinyTemplate() *TestTemplate
func NewRhelDesktopTinyTemplate ¶
func NewRhelDesktopTinyTemplate() *TestTemplate
func (*TestTemplate) Build ¶
func (t *TestTemplate) Build() *v1.Template
func (*TestTemplate) WithDescriptionParam ¶
func (t *TestTemplate) WithDescriptionParam() *TestTemplate
func (*TestTemplate) WithDisk ¶
func (t *TestTemplate) WithDisk(disk kubevirtv1.Disk) *TestTemplate
func (*TestTemplate) WithNoVM ¶
func (t *TestTemplate) WithNoVM() *TestTemplate
func (*TestTemplate) WithNonMatchingDisk ¶
func (t *TestTemplate) WithNonMatchingDisk() *TestTemplate
func (*TestTemplate) WithSCSIDiskValidations ¶
func (t *TestTemplate) WithSCSIDiskValidations() *TestTemplate
func (*TestTemplate) WithSataDiskValidations ¶
func (t *TestTemplate) WithSataDiskValidations() *TestTemplate
func (*TestTemplate) WithVirtioDiskValidations ¶
func (t *TestTemplate) WithVirtioDiskValidations() *TestTemplate
func (*TestTemplate) WithVolume ¶
func (t *TestTemplate) WithVolume(volume kubevirtv1.Volume) *TestTemplate
Click to show internal directories.
Click to hide internal directories.