xenclient

package
v0.0.0-...-a58d3e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateVmParams

type CreateVmParams struct {
	Name           string
	Memory         int
	BootImage      string
	BootDeviceName string
	VmDir          string
	DataVolumes    []VolumeConfig
}

type VolumeConfig

type VolumeConfig struct {
	ImagePath  string
	DeviceName string
}

type XenClient

type XenClient struct {
	KernelPath string
	XenBridge  string
}

func (*XenClient) CreateVm

func (c *XenClient) CreateVm(params CreateVmParams) error

func (*XenClient) DestroyVm

func (c *XenClient) DestroyVm(name string) error

func (*XenClient) ListVms

func (c *XenClient) ListVms() (domList, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL