Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestNamespace = "kubemacpool-test" OtherTestNamespace = "kubemacpool-test-alternative" )
Variables ¶
This section is empty.
Functions ¶
func CreateVmObject ¶
func CreateVmObject(namespace string, running bool, interfaces []kubevirtv1.Interface, networks []kubevirtv1.Network) *kubevirtv1.VirtualMachine
Types ¶
type TestClient ¶
type TestClient struct {
VirtClient kubecli.KubevirtClient
}
func NewTestClient ¶
func NewTestClient() (*TestClient, error)
Click to show internal directories.
Click to hide internal directories.