Documentation
¶
Overview ¶
package factory defines the full function factory interface package base defines the base factory interface package cache direct and template implement base.Factory package single and multi implement fatory.Factory
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
GetVm(cpu, mem int) (*hypervisor.Vm, error)
CloseFactory()
}
func NewFromConfigs ¶
func NewFromConfigs(kernel, initrd string, vsock bool, configs []FactoryConfig) Factory
Click to show internal directories.
Click to hide internal directories.