client

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcknowledgeVm

func AcknowledgeVm(client *srpc.Client, ipAddress net.IP) error

func AddVmVolumes

func AddVmVolumes(client *srpc.Client, ipAddress net.IP, sizes []uint64) error

func ChangeVmSize

func ChangeVmSize(client *srpc.Client,
	request proto.ChangeVmSizeRequest) error

func ConnectToVmConsole

func ConnectToVmConsole(client *srpc.Client, ipAddr net.IP,
	vncViewerCommand string, logger log.DebugLogger) error

func CreateVm

func CreateVm(client *srpc.Client, request proto.CreateVmRequest,
	reply *proto.CreateVmResponse, logger log.DebugLogger) error

func DeleteVmVolume

func DeleteVmVolume(client *srpc.Client, ipAddr net.IP, accessToken []byte,
	volumeIndex uint) error

func DestroyVm

func DestroyVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error

func ExportLocalVm

func ExportLocalVm(client *srpc.Client, ipAddr net.IP,
	verificationCookie []byte) (proto.ExportLocalVmInfo, error)

func GetRootCookiePath

func GetRootCookiePath(client *srpc.Client) (string, error)

func GetVmInfo

func GetVmInfo(client *srpc.Client, ipAddr net.IP) (proto.VmInfo, error)

func ListSubnets

func ListSubnets(client *srpc.Client, doSort bool) ([]proto.Subnet, error)

func PowerOff

func PowerOff(client *srpc.Client, stopVMs bool) error

func PrepareVmForMigration

func PrepareVmForMigration(client *srpc.Client, ipAddr net.IP,
	accessToken []byte, enable bool) error

func RegisterExternalLeases

func RegisterExternalLeases(client *srpc.Client, addressList proto.AddressList,
	hostnames []string) error

func ScanVmRoot

func ScanVmRoot(client *srpc.Client, ipAddr net.IP,
	scanFilter *filter.Filter) (*filesystem.FileSystem, error)

func StartVm

func StartVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error

func StopVm

func StopVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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