Documentation
¶
Index ¶
- func AcknowledgeVm(client *srpc.Client, ipAddress net.IP) error
- func AddVmVolumes(client *srpc.Client, ipAddress net.IP, sizes []uint64) error
- func ChangeVmConsoleType(client *srpc.Client, ipAddress net.IP, consoleType proto.ConsoleType) error
- func ChangeVmCpuPriority(client *srpc.Client, ipAddress net.IP, ...) error
- func ChangeVmMachineType(client *srpc.Client, ipAddress net.IP, machineType proto.MachineType) error
- func ChangeVmSize(client *srpc.Client, request proto.ChangeVmSizeRequest) error
- func ChangeVmVolumeInterfaces(client *srpc.Client, ipAddress net.IP, ...) 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 GetIdentityProvider(client srpc.ClientI) (string, error)
- func GetPublicKey(client srpc.ClientI) ([]byte, error)
- func GetRootCookiePath(client *srpc.Client) (string, error)
- func GetVmInfo(client *srpc.Client, ipAddr net.IP) (proto.VmInfo, error)
- func GetVmInfos(client *srpc.Client, request proto.GetVmInfosRequest) ([]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 ListVMs(client *srpc.Client, request proto.ListVMsRequest) ([]net.IP, 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 ReplaceVmIdentity(client srpc.ClientI, request proto.ReplaceVmIdentityRequest) 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 ChangeVmConsoleType ¶ added in v0.4.0
func ChangeVmCpuPriority ¶ added in v0.4.0
func ChangeVmMachineType ¶ added in v0.4.0
func ChangeVmSize ¶
func ChangeVmSize(client *srpc.Client, request proto.ChangeVmSizeRequest) error
func ChangeVmVolumeInterfaces ¶ added in v0.4.0
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 GetIdentityProvider ¶ added in v0.4.0
GetIdentityProvider will get the base URL of the Identity Provider.
func GetPublicKey ¶ added in v0.4.0
GetPublicKey will get the PEM-encoded public key for the Hypervisor.
func GetVmInfos ¶ added in v0.4.0
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 ReplaceVmIdentity ¶ added in v0.4.0
func ReplaceVmIdentity(client srpc.ClientI, request proto.ReplaceVmIdentityRequest) error
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.