Documentation ¶
Index ¶
- func DiscoverTemplates(box *packr.Box, prefix string, t *template.Template) (*template.Template, error)
- func NewTxtTemplate() *template.Template
- type AioDxLab
- type AioSxLab
- type Disk
- type Lab
- type LibvirtDisk
- type LibvirtLab
- type LibvirtNetwork
- type LibvirtNic
- type LibvirtVm
- type Network
- type Nic
- type OamInfo
- type StandardLab
- type StorageAttachment
- type StorageController
- type StorageLab
- type Vm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverTemplates ¶
func NewTxtTemplate ¶
Types ¶
type AioDxLab ¶
type AioDxLab struct { Name string Hypervisor string SystemMode string NatNet string LoopBackPrefix string IntNetPrefix string Oam OamInfo Cpus uint Memory uint DiskSize uint DiskCount uint }
func DefaultAioDxLab ¶
func DefaultAioDxLab() AioDxLab
type AioSxLab ¶
type AioSxLab struct { Name string Hypervisor string SystemMode string NatNet string LoopBackPrefix string IntNetPrefix string Oam OamInfo Cpus uint Memory uint DiskSize uint DiskCount uint }
func DefaultAioSxLab ¶
func DefaultAioSxLab() AioSxLab
type LibvirtDisk ¶
type LibvirtLab ¶
type LibvirtLab struct { Type string Name string BasePath string Vms []LibvirtVm Networks []LibvirtNetwork }
type LibvirtNetwork ¶
type LibvirtNic ¶
type LibvirtVm ¶
type LibvirtVm struct { Name string Cpus uint Memory uint Serial string Disks []LibvirtDisk Nics []LibvirtNic }
type StandardLab ¶
type StandardLab struct { Name string Hypervisor string SystemMode string NatNet string LoopBackPrefix string IntNetPrefix string Oam OamInfo ControllerCpus uint ControllerMemory uint ControllerDiskSize uint ControllerDiskCount uint ComputeCount uint ComputeCpus uint ComputeMemory uint ComputeDiskSize uint ComputeDiskCount uint }
func DefaultStandardLab ¶
func DefaultStandardLab() StandardLab
type StorageAttachment ¶
type StorageController ¶
type StorageLab ¶
type StorageLab struct { Name string Hypervisor string SystemMode string NatNet string LoopBackPrefix string IntNetPrefix string Oam OamInfo ControllerCpus uint ControllerMemory uint ControllerDiskSize uint ControllerDiskCount uint ComputeCount uint ComputeCpus uint ComputeMemory uint ComputeDiskSize uint ComputeDiskCount uint StorageCount uint StorageCpus uint StorageMemory uint StorageDiskSize uint StorageDiskCount uint }
func DefaultStorageLab ¶
func DefaultStorageLab() StorageLab
type Vm ¶
type Vm struct { Name string Cpus uint Memory uint BootOrder []string Disks []Disk StorageControllers []StorageController StorageAttachments []StorageAttachment Nics []Nic }
Click to show internal directories.
Click to hide internal directories.