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 ChangeVmVolumeSize(client *srpc.Client, ipAddress net.IP, index uint, size uint64) 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 GetCapacity(client *srpc.Client) (proto.GetCapacityResponse, error)
- func GetRootCookiePath(client *srpc.Client) (string, error)
- func GetVmInfo(client *srpc.Client, ipAddr net.IP) (proto.VmInfo, error)
- func GetVmLastPatchLog(client *srpc.Client, ipAddr net.IP) ([]byte, time.Time, error)
- func HoldLock(client *srpc.Client, timeout time.Duration, writeLock bool) error
- func HoldVmLock(client *srpc.Client, ipAddr net.IP, timeout time.Duration, writeLock bool) error
- func ListSubnets(client *srpc.Client, doSort bool) ([]proto.Subnet, error)
- func ListVolumeDirectories(client *srpc.Client, doSort bool) ([]string, 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 ReorderVmVolumes(client *srpc.Client, ipAddr net.IP, accessToken []byte, volumeIndices []uint) error
- func ScanVmRoot(client *srpc.Client, ipAddr net.IP, scanFilter *filter.Filter) (*filesystem.FileSystem, error)
- func SetDisabledState(client *srpc.Client, disable bool) 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 ChangeVmVolumeSize ¶ added in v0.3.2
func ConnectToVmConsole ¶
func CreateVm ¶
func CreateVm(client *srpc.Client, request proto.CreateVmRequest, reply *proto.CreateVmResponse, logger log.DebugLogger) error
func DeleteVmVolume ¶
func ExportLocalVm ¶
func GetCapacity ¶ added in v0.3.4
func GetCapacity(client *srpc.Client) (proto.GetCapacityResponse, error)
func GetVmLastPatchLog ¶ added in v0.3.4
func HoldVmLock ¶ added in v0.3.3
func ListVolumeDirectories ¶ added in v0.3.4
func PrepareVmForMigration ¶
func RegisterExternalLeases ¶
func ReorderVmVolumes ¶ added in v0.3.2
func ScanVmRoot ¶
func ScanVmRoot(client *srpc.Client, ipAddr net.IP, scanFilter *filter.Filter) (*filesystem.FileSystem, error)
func SetDisabledState ¶ added in v0.3.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.