Documentation
¶
Index ¶
- func AcknowledgeVm(client *srpc.Client, ipAddress net.IP) error
- func AddVmVolumes(client *srpc.Client, ipAddress net.IP, sizes []uint64) error
- func ChangeVmSize(client *srpc.Client, request proto.ChangeVmSizeRequest) error
- func ConnectToVmConsole(client *srpc.Client, ipAddr net.IP, vncViewerCommand string, ...) error
- func CreateVm(client *srpc.Client, request proto.CreateVmRequest, ...) error
- func DeleteVmVolume(client *srpc.Client, ipAddr net.IP, accessToken []byte, volumeIndex uint) error
- func DestroyVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error
- func ExportLocalVm(client *srpc.Client, ipAddr net.IP, verificationCookie []byte) (proto.ExportLocalVmInfo, error)
- func GetRootCookiePath(client *srpc.Client) (string, error)
- func GetVmInfo(client *srpc.Client, ipAddr net.IP) (proto.VmInfo, error)
- func ListSubnets(client *srpc.Client, doSort bool) ([]proto.Subnet, error)
- func PowerOff(client *srpc.Client, stopVMs bool) error
- func PrepareVmForMigration(client *srpc.Client, ipAddr net.IP, accessToken []byte, enable bool) error
- func RegisterExternalLeases(client *srpc.Client, addressList proto.AddressList, hostnames []string) error
- func ScanVmRoot(client *srpc.Client, ipAddr net.IP, scanFilter *filter.Filter) (*filesystem.FileSystem, error)
- func StartVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error
- func StopVm(client *srpc.Client, ipAddr net.IP, accessToken []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeVmSize ¶
func ChangeVmSize(client *srpc.Client, request proto.ChangeVmSizeRequest) error
func ConnectToVmConsole ¶
func CreateVm ¶
func CreateVm(client *srpc.Client, request proto.CreateVmRequest, reply *proto.CreateVmResponse, logger log.DebugLogger) error
func DeleteVmVolume ¶
func ExportLocalVm ¶
func PrepareVmForMigration ¶
func RegisterExternalLeases ¶
func ScanVmRoot ¶
func ScanVmRoot(client *srpc.Client, ipAddr net.IP, scanFilter *filter.Filter) (*filesystem.FileSystem, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.