Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonExistErr ¶
type NonExistErr string
NonExistErr VM, funcClient, etc does not exist.
func (NonExistErr) Error ¶
func (e NonExistErr) Error() string
type VM ¶
type VM struct { ID string ContainerSnapKey string SnapBooted bool Image *containerd.Image Container *containerd.Container Task *containerd.Task TaskCh <-chan containerd.ExitStatus NetConfig *networking.NetworkConfig }
VM type
func (*VM) GetGatewayAddr ¶
func (*VM) GetHostDevName ¶
GetHostDevName returns the name of the VM host device
func (*VM) GetMacAddress ¶
GetMacAddress returns the name of the VM MAC address
func (*VM) GetNetworkNamespace ¶
func (*VM) GetPrimaryAddr ¶
GetPrimaryAddr returns the primary IP address of the VM
type VMPool ¶
type VMPool struct {
// contains filtered or unexported fields
}
VMPool Pool of active VMs (can be in several states though)
func (*VMPool) CleanupNetwork ¶
func (p *VMPool) CleanupNetwork()
CleanupNetwork Removes the networks created by the network manager
Click to show internal directories.
Click to hide internal directories.