xenAPI

package module
v0.0.0-...-1879bcf Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: MIT Imports: 9 Imported by: 0

README

Go XenAPI client library

This is a client library for the Xapi toolstack (http://xapi-project.github.io/).

This library covers the entire XenAPI and I have successfully used it to implement a Terraform plugin that interfaces Citrix XenServer. That being said, this library is not production-ready yet. Use it at your own risk, and don't expect everything in this library to work out of the box.

Usage example

The following example demonstrates how to instruct XenServer to start a VM with a given name label:

package main

import (
    "fmt"
    "github.com/terra-farm/go-xen-api-client"
)

const XEN_API_URL string = "https://IP.OF.XEN.SERVER"
const XEN_API_USERNAME string = "USERNAME"
const XEN_API_PASSWORD string = "PASSWORD"
const VM_NAME_LABEL = "VM NAME LABEL"

func main() {
    xapi, err := xenAPI.NewClient(XEN_API_URL, nil)
    if err != nil {
        panic(err)
    }

    session, err := xapi.Session.LoginWithPassword(XEN_API_USERNAME, XEN_API_PASSWORD, "1.0", "example")
    if err != nil {
        panic(err)
    }

    vms, err := xapi.VM.GetByNameLabel(session, VM_NAME_LABEL)
    if err != nil {
        panic(err)
    }

    if len(vms) == 0 {
        panic(fmt.Errorf("No VM template with name label %q has been found", VM_NAME_LABEL))
    }

    if len(vms) > 1 {
        panic(fmt.Errorf("More than one VM with name label %q has been found", VM_NAME_LABEL))
    }

    vm := vms[0]

    xapi.VM.Start(session, vm, false, false)
    if err != nil {
        panic(err)
    }

    err = xapi.Session.Logout(session)
    if err != nil {
        panic(err)
    }
}

Project status

The most important missing pieces before this library is production-ready are:

  • A strategy how to handle the differences in the XenAPI versions.
  • Tests, at least for the various data type conversions.
  • Embed XenAPI documentation as GoDoc in the generated code.
  • Better error messages.
  • Usage examples.

Contributions welcome!

Please note that I want to keep this library lean. I envision it to merely provide a one-to-one mapping of XenAPI functions to Go functions. Because of this, I will likely not accept pull requests that implement higher level functionality.

Implementation notes

Most of the code in this library is generated from a description of the XenAPI. This description is the file xenapi.json, the source of which is the XenAPI documentation at http://xapi-project.github.io/:

The list of error code constants in error.go is borrowed from xapi-projects OCaml client:

The JSON file contains the lifecycle of published classes, fields and messages. Each of the release names can be mapped back to a version listed here:

Regenerating API after xenapi.json update

If XenAPI was updated, it is required to regenerate all of files with a new API description. In order to do that one needs to follow these steps:

  • Get newest xenapi.json from the link above.
  • Delete old generated APIs using rm *_gen.go
  • Generate new API with go generate

Documentation

Index

Constants

View Source
const (
	ERR_MESSAGE_DEPRECATED = "MESSAGE_DEPRECATED"
	ERR_MESSAGE_REMOVED    = "MESSAGE_REMOVED"

	ERR_PERMISSION_DENIED                  = "PERMISSION_DENIED"
	ERR_INTERNAL_ERROR                     = "INTERNAL_ERROR"
	ERR_MAP_DUPLICATE_KEY                  = "MAP_DUPLICATE_KEY"
	ERR_DB_UNIQUENESS_CONSTRAINT_VIOLATION = "DB_UNIQUENESS_CONSTRAINT_VIOLATION"
	ERR_LOCATION_NOT_UNIQUE                = "LOCATION_NOT_UNIQUE"
	ERR_MESSAGE_METHOD_UNKNOWN             = "MESSAGE_METHOD_UNKNOWN"
	ERR_MESSAGE_PARAMETER_COUNT_MISMATCH   = "MESSAGE_PARAMETER_COUNT_MISMATCH"
	ERR_VALUE_NOT_SUPPORTED                = "VALUE_NOT_SUPPORTED"
	ERR_INVALID_VALUE                      = "INVALID_VALUE"
	ERR_MEMORY_CONSTRAINT_VIOLATION        = "MEMORY_CONSTRAINT_VIOLATION"
	ERR_FIELD_TYPE_ERROR                   = "FIELD_TYPE_ERROR"
	ERR_SESSION_AUTHENTICATION_FAILED      = "SESSION_AUTHENTICATION_FAILED"
	ERR_SESSION_INVALID                    = "SESSION_INVALID"
	ERR_CHANGE_PASSWORD_REJECTED           = "CHANGE_PASSWORD_REJECTED"
	ERR_USER_IS_NOT_LOCAL_SUPERUSER        = "USER_IS_NOT_LOCAL_SUPERUSER"
	ERR_CANNOT_CONTACT_HOST                = "CANNOT_CONTACT_HOST"
	ERR_NOT_SUPPORTED_DURING_UPGRADE       = "NOT_SUPPORTED_DURING_UPGRADE"

	ERR_HANDLE_INVALID = "HANDLE_INVALID"
	ERR_UUID_INVALID   = "UUID_INVALID"

	ERR_VM_HVM_REQUIRED  = "VM_HVM_REQUIRED"
	ERR_VM_NO_VCPUS      = "VM_NO_VCPUS"
	ERR_VM_TOOMANY_VCPUS = "VM_TOO_MANY_VCPUS"
	ERR_VM_IS_PROTECTED  = "VM_IS_PROTECTED"

	ERR_HOST_IN_USE                     = "HOST_IN_USE"
	ERR_HOST_IN_EMERGENCY_MODE          = "HOST_IN_EMERGENCY_MODE"
	ERR_HOST_CANNOT_READ_METRICS        = "HOST_CANNOT_READ_METRICS"
	ERR_HOST_DISABLED                   = "HOST_DISABLED"
	ERR_HOST_DISABLED_UNTIL_REBOOT      = "HOST_DISABLED_UNTIL_REBOOT"
	ERR_HOST_NOT_DISABLED               = "HOST_NOT_DISABLED"
	ERR_HOST_NOT_LIVE                   = "HOST_NOT_LIVE"
	ERR_HOST_IS_LIVE                    = "HOST_IS_LIVE"
	ERR_HOST_POWER_ON_MODE_DISABLED     = "HOST_POWER_ON_MODE_DISABLED"
	ERR_HOST_NOT_ENOUGH_FREE_MEMORY     = "HOST_NOT_ENOUGH_FREE_MEMORY"
	ERR_NO_HOSTS_AVAILABLE              = "NO_HOSTS_AVAILABLE"
	ERR_HOST_OFFLINE                    = "HOST_OFFLINE"
	ERR_HOST_CANNOT_DESTROY_SELF        = "HOST_CANNOT_DESTROY_SELF"
	ERR_HOST_IS_SLAVE                   = "HOST_IS_SLAVE"
	ERR_HOST_NAME_INVALID               = "HOST_NAME_INVALID"
	ERR_HOST_HAS_RESIDENT_VMS           = "HOST_HAS_RESIDENT_VMS"
	ERR_HOSTS_FAILED_TO_ENABLE_CACHING  = "HOSTS_FAILED_TO_ENABLE_CACHING"
	ERR_HOSTS_FAILED_TO_DISABLE_CACHING = "HOSTS_FAILED_TO_DISABLE_CACHING"
	ERR_HOST_CANNOT_SEE_SR              = "HOST_CANNOT_SEE_SR"

	// (* HOST ERRORS WHICH EXPLAIN WHY THE HOST IS IN EMERGENCY MODE *)
	ERR_HOST_ITS_OWN_SLAVE = "HOST_ITS_OWN_SLAVE"
	ERR_HOST_STILL_BOOTING = "HOST_STILL_BOOTING"

	// (* LICENSE *)
	ERR_HOST_HAS_NO_MANAGEMENT_IP    = "HOST_HAS_NO_MANAGEMENT_IP"
	ERR_HOST_MASTER_CANNOT_TALK_BACK = "HOST_MASTER_CANNOT_TALK_BACK"
	ERR_HOST_UNKNOWN_TO_MASTER       = "HOST_UNKNOWN_TO_MASTER"

	// (* SHOULD BE FENCED *)
	ERR_HOST_BROKEN                         = "HOST_BROKEN"
	ERR_INTERFACE_HAS_NO_IP                 = "INTERFACE_HAS_NO_IP"
	ERR_INVALID_IP_ADDRESS_SPECIFIED        = "INVALID_IP_ADDRESS_SPECIFIED"
	ERR_PIF_HAS_NO_NETWORK_CONFIGURATION    = "PIF_HAS_NO_NETWORK_CONFIGURATION"
	ERR_PIF_HAS_NO_V6_NETWORK_CONFIGURATION = "PIF_HAS_NO_V6_NETWORK_CONFIGURATION"

	ERR_DEVICE_ATTACH_TIMEOUT  = "DEVICE_ATTACH_TIMEOUT"
	ERR_DEVICE_DETACH_TIMEOUT  = "DEVICE_DETACH_TIMEOUT"
	ERR_DEVICE_DETACH_REJECTED = "DEVICE_DETACH_REJECTED"

	ERR_OPERATION_NOT_ALLOWED                                                       = "OPERATION_NOT_ALLOWED"
	ERR_OPERATION_BLOCKED                                                           = "OPERATION_BLOCKED"
	ERR_NETWORK_ALREADY_CONNECTED                                                   = "NETWORK_ALREADY_CONNECTED"
	ERR_CANNOT_DESTROY_SYSTEM_NETWORK                                               = "CANNOT_DESTROY_SYSTEM_NETWORK"
	ERR_PIF_IS_PHYSICAL                                                             = "PIF_IS_PHYSICAL"
	ERR_PIF_IS_VLAN                                                                 = "PIF_IS_VLAN"
	ERR_PIF_VLAN_EXISTS                                                             = "PIF_VLAN_EXISTS"
	ERR_PIF_VLAN_STILL_EXISTS                                                       = "PIF_VLAN_STILL_EXISTS"
	ERR_PIF_DEVICE_NOT_FOUND                                                        = "PIF_DEVICE_NOT_FOUND"
	ERR_PIF_ALREADY_BONDED                                                          = "PIF_ALREADY_BONDED"
	ERR_PIF_CANNOT_BOND_CROSS_HOST                                                  = "PIF_CANNOT_BOND_CROSS_HOST"
	ERR_PIF_BOND_NEEDS_MORE_MEMBERS                                                 = "PIF_BOND_NEEDS_MORE_MEMBERS"
	ERR_PIF_CONFIGURATION_ERROR                                                     = "PIF_CONFIGURATION_ERROR"
	ERR_PIF_IS_MANAGEMENT_IFACE                                                     = "PIF_IS_MANAGEMENT_INTERFACE"
	ERR_PIF_INCOMPATIBLE_PRIMARY_ADDRESS_TYPE                                       = "PIF_INCOMPATIBLE_PRIMARY_ADDRESS_TYPE"
	ERR_REQUIRED_PIF_IS_UNPLUGGED                                                   = "REQUIRED_PIF_IS_UNPLUGGED"
	ERR_PIF_DOES_NOT_ALLOW_UNPLUG                                                   = "PIF_DOES_NOT_ALLOW_UNPLUG"
	ERR_PIF_UNMANAGED                                                               = "PIF_UNMANAGED"
	ERR_CANNOT_PLUG_BOND_SLAVE                                                      = "CANNOT_PLUG_BOND_SLAVE"
	ERR_CANNOT_ADD_VLAN_TO_BOND_SLAVE                                               = "CANNOT_ADD_VLAN_TO_BOND_SLAVE"
	ERR_CANNOT_ADD_TUNNEL_TO_BOND_SLAVE                                             = "CANNOT_ADD_TUNNEL_TO_BOND_SLAVE"
	ERR_CANNOT_CHANGE_PIF_PROPERTIES                                                = "CANNOT_CHANGE_PIF_PROPERTIES"
	ERR_INCOMPATIBLE_PIF_PROPERTIES                                                 = "INCOMPATIBLE_PIF_PROPERTIES"
	ERR_SLAVE_REQUIRES_MANAGEMENT_IFACE                                             = "SLAVE_REQUIRES_MANAGEMENT_INTERFACE"
	ERR_VIF_IN_USE                                                                  = "VIF_IN_USE"
	ERR_CANNOT_PLUG_VIF                                                             = "CANNOT_PLUG_VIF"
	ERR_MAC_STILL_EXISTS                                                            = "MAC_STILL_EXISTS"
	ERR_MAC_DOES_NOT_EXIST                                                          = "MAC_DOES_NOT_EXIST"
	ERR_MAC_INVALID                                                                 = "MAC_INVALID"
	ERR_DUPLICATE_PIF_DEVICE_NAME                                                   = "DUPLICATE_PIF_DEVICE_NAME"
	ERR_COULD_NOT_FIND_NETWORK_INTERFACE_WITH_SPECIFIED_DEVICE_NAME_AND_MAC_ADDRESS = "COULD_NOT_FIND_NETWORK_INTERFACE_WITH_SPECIFIED_DEVICE_NAME_AND_MAC_ADDRESS"

	ERR_OPENVSWITCH_NOT_ACTIVE                                                   = "OPENVSWITCH_NOT_ACTIVE"
	ERR_TRANSPORT_PIF_NOT_CONFIGURED                                             = "TRANSPORT_PIF_NOT_CONFIGURED"
	ERR_IS_TUNNEL_ACCESS_PIF                                                     = "IS_TUNNEL_ACCESS_PIF"
	ERR_PIF_TUNNEL_STILL_EXISTS                                                  = "PIF_TUNNEL_STILL_EXISTS"
	ERR_BRIDGE_NOT_AVAILABLE                                                     = "BRIDGE_NOT_AVAILABLE"
	ERR_VLAN_TAG_INVALID                                                         = "VLAN_TAG_INVALID"
	ERR_VM_BAD_POWER_STATE                                                       = "VM_BAD_POWER_STATE"
	ERR_VM_IS_TEMPLATE                                                           = "VM_IS_TEMPLATE"
	ERR_VM_IS_SNAPSHOT                                                           = "VM_IS_SNAPSHOT"
	ERR_OTHER_OPERATION_IN_PROGRESS                                              = "OTHER_OPERATION_IN_PROGRESS"
	ERR_VBD_NOT_REMOVABLE_MEDIA                                                  = "VBD_NOT_REMOVABLE_MEDIA"
	ERR_VBD_NOT_UNPLUGGABLE                                                      = "VBD_NOT_UNPLUGGABLE"
	ERR_VBD_NOT_EMPTY                                                            = "VBD_NOT_EMPTY"
	ERR_VBD_IS_EMPTY                                                             = "VBD_IS_EMPTY"
	ERR_VBD_TRAY_LOCKED                                                          = "VBD_TRAY_LOCKED"
	ERR_VBD_MISSING                                                              = "VBD_MISSING"
	ERR_VM_NO_EMPTY_CD_VBD                                                       = "VM_NO_EMPTY_CD_VBD"
	ERR_VM_SNAPSHOT_FAILED                                                       = "VM_SNAPSHOT_FAILED"
	ERR_VM_SNAPSHOT_WITH_QUIESCE_FAILED                                          = "VM_SNAPSHOT_WITH_QUIESCE_FAILED"
	ERR_VM_SNAPSHOT_WITH_QUIESCE_TIMEOUT                                         = "VM_SNAPSHOT_WITH_QUIESCE_TIMEOUT"
	ERR_VM_SNAPSHOT_WITH_QUIESCE_PLUGIN_DOES_NOT_RESPOND                         = "VM_SNAPSHOT_WITH_QUIESCE_PLUGIN_DEOS_NOT_RESPOND"
	ERR_VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED                                   = "VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED"
	ERR_XEN_VSS_REQ_ERROR_INIT_FAILED                                            = "XEN_VSS_REQ_ERROR_INIT_FAILED"
	ERR_XEN_VSS_REQ_ERROR_PROV_NOT_LOADED                                        = "XEN_VSS_REQ_ERROR_PROV_NOT_LOADED"
	ERR_XEN_VSS_REQ_ERROR_NO_VOLUMES_SUPPORTED                                   = "XEN_VSS_REQ_ERROR_NO_VOLUMES_SUPPORTED"
	ERR_XEN_VSS_REQ_ERROR_START_SNAPSHOT_SET_FAILED                              = "XEN_VSS_REQ_ERROR_START_SNAPSHOT_SET_FAILED"
	ERR_XEN_VSS_REQ_ERROR_ADDING_VOLUME_TO_SNAPSET_FAILED                        = "XEN_VSS_REQ_ERROR_ADDING_VOLUME_TO_SNAPSET_FAILED"
	ERR_XEN_VSS_REQ_ERROR_PREPARING_WRITERS                                      = "XEN_VSS_REQ_ERROR_PREPARING_WRITERS"
	ERR_XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT                                      = "XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT"
	ERR_XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT_XML_STRING                           = "XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT_XML_STRING"
	ERR_VM_REVERT_FAILED                                                         = "VM_REVERT_FAILED"
	ERR_VM_CHECKPOINT_SUSPEND_FAILED                                             = "VM_CHECKPOINT_SUSPEND_FAILED"
	ERR_VM_CHECKPOINT_RESUME_FAILED                                              = "VM_CHECKPOINT_RESUME_FAILED"
	ERR_VM_UNSAFE_BOOT                                                           = "VM_UNSAFE_BOOT"
	ERR_VM_REQUIRES_SR                                                           = "VM_REQUIRES_SR"
	ERR_VM_REQUIRES_VDI                                                          = "VM_REQUIRES_VDI"
	ERR_VM_REQUIRES_NET                                                          = "VM_REQUIRES_NETWORK"
	ERR_VM_REQUIRES_GPU                                                          = "VM_REQUIRES_GPU"
	ERR_VM_REQUIRES_VGPU                                                         = "VM_REQUIRES_VGPU"
	ERR_VM_REQUIRES_IOMMU                                                        = "VM_REQUIRES_IOMMU"
	ERR_VM_HOST_INCOMPATIBLE_VERSION                                             = "VM_HOST_INCOMPATIBLE_VERSION"
	ERR_VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION                   = "VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION"
	ERR_VM_HAS_PCI_ATTACHED                                                      = "VM_HAS_PCI_ATTACHED"
	ERR_VM_HAS_VGPU                                                              = "VM_HAS_VGPU"
	ERR_HOST_CANNOT_ATTACH_NETWORK                                               = "HOST_CANNOT_ATTACH_NETWORK"
	ERR_VM_NO_SUSPEND_SR                                                         = "VM_NO_SUSPEND_SR"
	ERR_VM_NO_CRASHDUMP_SR                                                       = "VM_NO_CRASHDUMP_SR"
	ERR_VM_MIGRATE_FAILED                                                        = "VM_MIGRATE_FAILED"
	ERR_VM_MISSING_PV_DRIVERS                                                    = "VM_MISSING_PV_DRIVERS"
	ERR_VM_FAILED_SHUTDOWN_ACK                                                   = "VM_FAILED_SHUTDOWN_ACKNOWLEDGMENT"
	ERR_VM_OLD_PV_DRIVERS                                                        = "VM_OLD_PV_DRIVERS"
	ERR_VM_LACKS_FEATURE_SHUTDOWN                                                = "VM_LACKS_FEATURE_SHUTDOWN"
	ERR_VM_LACKS_FEATURE_SUSPEND                                                 = "VM_LACKS_FEATURE_SUSPEND"
	ERR_VM_LACKS_FEATURE_VCPU_HOTPLUG                                            = "VM_LACKS_FEATURE_VCPU_HOTPLUG"
	ERR_VM_CANNOT_DELETE_DEFAULT_TEMPLATE                                        = "VM_CANNOT_DELETE_DEFAULT_TEMPLATE"
	ERR_VM_MEMORY_SIZE_TOO_LOW                                                   = "VM_MEMORY_SIZE_TOO_LOW"
	ERR_VM_MEMORY_TARGET_WAIT_TIMEOUT                                            = "VM_MEMORY_TARGET_WAIT_TIMEOUT"
	ERR_VM_SHUTDOWN_TIMEOUT                                                      = "VM_SHUTDOWN_TIMEOUT"
	ERR_VM_DUPLICATE_VBD_DEVICE                                                  = "VM_DUPLICATE_VBD_DEVICE"
	ERR_ILLEGAL_VBD_DEVICE                                                       = "ILLEGAL_VBD_DEVICE"
	ERR_VM_NOT_RESIDENT_HERE                                                     = "VM_NOT_RESIDENT_HERE"
	ERR_VM_CRASHED                                                               = "VM_CRASHED"
	ERR_VM_REBOOTED                                                              = "VM_REBOOTED"
	ERR_VM_HALTED                                                                = "VM_HALTED"
	ERR_VM_ATTACHED_TO_MORE_THAN_ONE_VDI_WITH_TIMEOFFSET_MARKED_AS_RESET_ON_BOOT = "VM_ATTACHED_TO_MORE_THAN_ONE_VDI_WITH_TIMEOFFSET_MARKED_AS_RESET_ON_BOOT"
	ERR_VMS_FAILED_TO_COOPERATE                                                  = "VMS_FAILED_TO_COOPERATE"
	ERR_VM_PV_DRIVERS_IN_USE                                                     = "VM_PV_DRIVERS_IN_USE"
	ERR_DOMAIN_EXISTS                                                            = "DOMAIN_EXISTS"
	ERR_CANNOT_RESET_CONTROL_DOMAIN                                              = "CANNOT_RESET_CONTROL_DOMAIN"
	ERR_NOT_SYSTEM_DOMAIN                                                        = "NOT_SYSTEM_DOMAIN"
	ERR_ONLY_PROVISION_TEMPLATE                                                  = "PROVISION_ONLY_ALLOWED_ON_TEMPLATE"
	ERR_ONLY_REVERT_SNAPSHOT                                                     = "REVERT_ONLY_ALLOWED_ON_SNAPSHOT"
	ERR_PROVISION_FAILED_OUT_OF_SPACE                                            = "PROVISION_FAILED_OUT_OF_SPACE"
	ERR_BOOTLOADER_FAILED                                                        = "BOOTLOADER_FAILED"
	ERR_UNKNOWN_BOOTLOADER                                                       = "UNKNOWN_BOOTLOADER"
	ERR_OBJECT_NOLONGER_EXISTS                                                   = "OBJECT_NOLONGER_EXISTS"
	ERR_SR_ATTACH_FAILED                                                         = "SR_ATTACH_FAILED"
	ERR_SR_FULL                                                                  = "SR_FULL"
	ERR_SR_HAS_PBD                                                               = "SR_HAS_PBD"
	ERR_SR_REQUIRES_UPGRADE                                                      = "SR_REQUIRES_UPGRADE"
	ERR_SR_IS_CACHE_SR                                                           = "SR_IS_CACHE_SR"
	ERR_VDI_IN_USE                                                               = "VDI_IN_USE"
	ERR_VDI_IS_SHARABLE                                                          = "VDI_IS_SHARABLE"
	ERR_VDI_READONLY                                                             = "VDI_READONLY"
	ERR_VDI_TOO_SMALL                                                            = "VDI_TOO_SMALL"
	ERR_VDI_NOT_SPARSE                                                           = "VDI_NOT_SPARSE"
	ERR_VDI_IS_A_PHYSICAL_DEVICE                                                 = "VDI_IS_A_PHYSICAL_DEVICE"
	ERR_VDI_IS_NOT_ISO                                                           = "VDI_IS_NOT_ISO"
	ERR_VBD_CDS_MUST_BE_READONLY                                                 = "VBD_CDS_MUST_BE_READONLY"

	// (* CA-83260 *)
	ERR_DISK_VBD_MUST_BE_READWRITE_FOR_HVM           = "DISK_VBD_MUST_BE_READWRITE_FOR_HVM"
	ERR_HOST_CD_DRIVE_EMPTY                          = "HOST_CD_DRIVE_EMPTY"
	ERR_VDI_NOT_AVAILABLE                            = "VDI_NOT_AVAILABLE"
	ERR_VDI_HAS_RRDS                                 = "VDI_HAS_RRDS"
	ERR_VDI_LOCATION_MISSING                         = "VDI_LOCATION_MISSING"
	ERR_VDI_CONTENT_ID_MISSING                       = "VDI_CONTENT_ID_MISSING"
	ERR_VDI_MISSING                                  = "VDI_MISSING"
	ERR_VDI_INCOMPATIBLE_TYPE                        = "VDI_INCOMPATIBLE_TYPE"
	ERR_VDI_NOT_MANAGED                              = "VDI_NOT_MANAGED"
	ERR_VDI_IO_ERROR                                 = "VDI_IO_ERROR"
	ERR_VDI_ON_BOOT_MODE_INCOMPATIBLE_WITH_OPERATION = "VDI_ON_BOOT_MODE_INCOMPATIBLE_WITH_OPERATION"
	ERR_VDI_NOT_IN_MAP                               = "VDI_NOT_IN_MAP"
	ERR_CANNOT_CREATE_STATE_FILE                     = "CANNOT_CREATE_STATE_FILE"

	ERR_OPERATION_PARTIALLY_FAILED = "OPERATION_PARTIALLY_FAILED"

	ERR_SR_UUID_EXISTS             = "SR_UUID_EXISTS"
	ERR_SR_NO_PBDS                 = "SR_HAS_NO_PBDS"
	ERR_SR_HAS_MULTIPLE_PBDS       = "SR_HAS_MULTIPLE_PBDS"
	ERR_SR_BACKEND_FAILURE         = "SR_BACKEND_FAILURE"
	ERR_SR_UNKNOWN_DRIVER          = "SR_UNKNOWN_DRIVER"
	ERR_SR_VDI_LOCKING_FAILED      = "SR_VDI_LOCKING_FAILED"
	ERR_SR_NOT_EMPTY               = "SR_NOT_EMPTY"
	ERR_SR_DEVICE_IN_USE           = "SR_DEVICE_IN_USE"
	ERR_SR_OPERATION_NOT_SUPPORTED = "SR_OPERATION_NOT_SUPPORTED"
	ERR_SR_NOT_SHARABLE            = "SR_NOT_SHARABLE"
	ERR_SR_INDESTRUCTIBLE          = "SR_INDESTRUCTIBLE"
	ERR_SR_DETACHED_ON_MASTER      = "SR_DETACHED_ON_MASTER"
	ERR_SR_ATTACHED_ON_SLAVE       = "SR_ATTACHED_ON_SLAVE"
	ERR_CLUSTERED_SR_DEGRADED      = "CLUSTERED_SR_DEGRADED"

	ERR_SM_PLUGIN_COMMUNICATION_FAILURE = "SM_PLUGIN_COMMUNICATION_FAILURE"

	ERR_PBD_EXISTS = "PBD_EXISTS"

	ERR_NOT_IMPLEMENTED                  = "NOT_IMPLEMENTED"
	ERR_DEVICE_ALREADY_ATTACHED          = "DEVICE_ALREADY_ATTACHED"
	ERR_DEVICE_ALREADY_DETACHED          = "DEVICE_ALREADY_DETACHED"
	ERR_DEVICE_ALREADY_EXISTS            = "DEVICE_ALREADY_EXISTS"
	ERR_DEVICE_NOT_ATTACHED              = "DEVICE_NOT_ATTACHED"
	ERR_NETWORK_CONTAINS_PIF             = "NETWORK_CONTAINS_PIF"
	ERR_NETWORK_CONTAINS_VIF             = "NETWORK_CONTAINS_VIF"
	ERR_GPU_GROUP_CONTAINS_VGPU          = "GPU_GROUP_CONTAINS_VGPU"
	ERR_GPU_GROUP_CONTAINS_PGPU          = "GPU_GROUP_CONTAINS_PGPU"
	ERR_GPU_GROUP_CONTAINS_NO_PGPUS      = "GPU_GROUP_CONTAINS_NO_PGPUS"
	ERR_INVALID_DEVICE                   = "INVALID_DEVICE"
	ERR_EVENTS_LOST                      = "EVENTS_LOST"
	ERR_EVENT_SUBSCRIPTION_PARSE_FAILURE = "EVENT_SUBSCRIPTION_PARSE_FAILURE"
	ERR_EVENT_FROM_TOKEN_PARSE_FAILURE   = "EVENT_FROM_TOKEN_PARSE_FAILURE"
	ERR_SESSION_NOT_REGISTERED           = "SESSION_NOT_REGISTERED"

	ERR_PGPU_IN_USE_BY_VM                          = "PGPU_IN_USE_BY_VM"
	ERR_PGPU_NOT_COMPATIBLE_WITH_GPU_GROUP         = "PGPU_NOT_COMPATIBLE_WITH_GPU_GROUP"
	ERR_PGPU_INSUFFICIENT_CAPACITY_FOR_VGPU        = "PGPU_INSUFFICIENT_CAPACITY_FOR_VGPU"
	ERR_VGPU_TYPE_NOT_ENABLED                      = "VGPU_TYPE_NOT_ENABLED"
	ERR_VGPU_TYPE_NOT_SUPPORTED                    = "VGPU_TYPE_NOT_SUPPORTED"
	ERR_VGPU_TYPE_NOT_COMPATIBLE_WITH_RUNNING_TYPE = "VGPU_TYPE_NOT_COMPATIBLE_WITH_RUNNING_TYPE"

	ERR_IMPORT_ERROR_GENERIC                  = "IMPORT_ERROR"
	ERR_IMPORT_ERROR_PREMATURE_EOF            = "IMPORT_ERROR_PREMATURE_EOF"
	ERR_IMPORT_ERROR_SOME_CHECKSUMS_FAILED    = "IMPORT_ERROR_SOME_CHECKSUMS_FAILED"
	ERR_IMPORT_ERROR_CANNOT_HANDLE_CHUNKED    = "IMPORT_ERROR_CANNOT_HANDLE_CHUNKED"
	ERR_IMPORT_ERROR_FAILED_TO_FIND_OBJECT    = "IMPORT_ERROR_FAILED_TO_FIND_OBJECT"
	ERR_IMPORT_ERROR_ATTACHED_DISKS_NOT_FOUND = "IMPORT_ERROR_ATTACHED_DISKS_NOT_FOUND"
	ERR_IMPORT_ERROR_UNEXPECTED_FILE          = "IMPORT_ERROR_UNEXPECTED_FILE"
	ERR_IMPORT_INCOMPATIBLE_VERSION           = "IMPORT_INCOMPATIBLE_VERSION"

	ERR_RESTORE_INCOMPATIBLE_VERSION         = "RESTORE_INCOMPATIBLE_VERSION"
	ERR_RESTORE_TARGET_MISSING_DEVICE        = "RESTORE_TARGET_MISSING_DEVICE"
	ERR_RESTORE_TARGET_MGMT_IF_NOT_IN_BACKUP = "RESTORE_TARGET_MGMT_IF_NOT_IN_BACKUP"

	ERR_POOL_NOT_IN_EMERGENCY_MODE                                = "NOT_IN_EMERGENCY_MODE"
	ERR_POOL_HOSTS_NOT_COMPATIBLE                                 = "HOSTS_NOT_COMPATIBLE"
	ERR_POOL_HOSTS_NOT_HOMOGENEOUS                                = "HOSTS_NOT_HOMOGENEOUS"
	ERR_POOL_JOINING_HOST_CANNOT_CONTAIN_SHARED_SRS               = "JOINING_HOST_CANNOT_CONTAIN_SHARED_SRS"
	ERR_POOL_JOINING_HOST_CANNOT_CONTAIN_NETWORK_BOND             = "JOINING_HOST_CANNOT_CONTAIN_NETWORK_BOND"
	ERR_POOL_JOINING_HOST_CANNOT_HAVE_RUNNING_OR_SUSPENDED_VMS    = "JOINING_HOST_CANNOT_HAVE_RUNNING_OR_SUSPENDED_VMS"
	ERR_POOL_JOINING_HOST_CANNOT_HAVE_RUNNING_VMS                 = "JOINING_HOST_CANNOT_HAVE_RUNNING_VMS"
	ERR_POOL_JOINING_HOST_CANNOT_HAVE_VMS_WITH_CURRENT_OPERATIONS = "JOINING_HOST_CANNOT_HAVE_VMS_WITH_CURRENT_OPERATIONS"
	ERR_POOL_JOINING_HOST_CANNOT_BE_MASTER_OF_OTHER_HOSTS         = "JOINING_HOST_CANNOT_BE_MASTER_OF_OTHER_HOSTS"
	ERR_POOL_JOINING_HOST_CONNECTION_FAILED                       = "JOINING_HOST_CONNECTION_FAILED"
	ERR_POOL_JOINING_HOST_SERVICE_FAILED                          = "JOINING_HOST_SERVICE_FAILED"
	ERR_POOL_JOINING_HOST_MUST_HAVE_PHYSICAL_MANAGEMENT_NIC       = "POOL_JOINING_HOST_MUST_HAVE_PHYSICAL_MANAGEMENT_NIC"
	ERR_POOL_JOINING_EXTERNAL_AUTH_MISMATCH                       = "POOL_JOINING_EXTERNAL_AUTH_MISMATCH"
	ERR_POOL_JOINING_HOST_MUST_HAVE_SAME_PRODUCT_VERSION          = "POOL_JOINING_HOST_MUST_HAVE_SAME_PRODUCT_VERSION"

	// (*WORKLOAD BALANCING*)
	ERR_WLB_NOT_INITIALIZED                 = "WLB_NOT_INITIALIZED"
	ERR_WLB_DISABLED                        = "WLB_DISABLED"
	ERR_WLB_CONNECTION_REFUSED              = "WLB_CONNECTION_REFUSED"
	ERR_WLB_UNKNOWN_HOST                    = "WLB_UNKNOWN_HOST"
	ERR_WLB_TIMEOUT                         = "WLB_TIMEOUT"
	ERR_WLB_AUTHENTICATION_FAILED           = "WLB_AUTHENTICATION_FAILED"
	ERR_WLB_MALFORMED_REQUEST               = "WLB_MALFORMED_REQUEST"
	ERR_WLB_MALFORMED_RESPONSE              = "WLB_MALFORMED_RESPONSE"
	ERR_WLB_XENSERVER_CONNECTION_REFUSED    = "WLB_XENSERVER_CONNECTION_REFUSED"
	ERR_WLB_XENSERVER_UNKNOWN_HOST          = "WLB_XENSERVER_UNKNOWN_HOST"
	ERR_WLB_XENSERVER_TIMEOUT               = "WLB_XENSERVER_TIMEOUT"
	ERR_WLB_XENSERVER_AUTHENTICATION_FAILED = "WLB_XENSERVER_AUTHENTICATION_FAILED"
	ERR_WLB_XENSERVER_MALFORMED_RESPONSE    = "WLB_XENSERVER_MALFORMED_RESPONSE"
	ERR_WLB_INTERNAL_ERROR                  = "WLB_INTERNAL_ERROR"
	ERR_WLB_URL_INVALID                     = "WLB_URL_INVALID"
	ERR_WLB_CONNECTION_RESET                = "WLB_CONNECTION_RESET"

	ERR_SR_NOT_SHARED = "SR_NOT_SHARED"

	ERR_DEFAULT_SR_NOT_FOUND = "DEFAULT_SR_NOT_FOUND"

	ERR_TASK_CANCELLED = "TASK_CANCELLED"

	ERR_TOO_MANY_PENDING_TASKS = "TOO_MANY_PENDING_TASKS"
	ERR_TOO_BUSY               = "TOO_BUSY"

	ERR_OUT_OF_SPACE                               = "OUT_OF_SPACE"
	ERR_INVALID_PATCH                              = "INVALID_PATCH"
	ERR_INVALID_PATCH_WITH_LOG                     = "INVALID_PATCH_WITH_LOG"
	ERR_PATCH_ALREADY_EXISTS                       = "PATCH_ALREADY_EXISTS"
	ERR_PATCH_IS_APPLIED                           = "PATCH_IS_APPLIED"
	ERR_CANNOT_FIND_PATCH                          = "CANNOT_FIND_PATCH"
	ERR_CANNOT_FETCH_PATCH                         = "CANNOT_FETCH_PATCH"
	ERR_PATCH_ALREADY_APPLIED                      = "PATCH_ALREADY_APPLIED"
	ERR_PATCH_PRECHECK_FAILED_UNKNOWN_ERROR        = "PATCH_PRECHECK_FAILED_UNKNOWN_ERROR"
	ERR_PATCH_PRECHECK_FAILED_PREREQUISITE_MISSING = "PATCH_PRECHECK_FAILED_PREREQUISITE_MISSING"
	ERR_PATCH_PRECHECK_FAILED_WRONG_SERVER_VERSION = "PATCH_PRECHECK_FAILED_WRONG_SERVER_VERSION"
	ERR_PATCH_PRECHECK_FAILED_WRONG_SERVER_BUILD   = "PATCH_PRECHECK_FAILED_WRONG_SERVER_BUILD"
	ERR_PATCH_PRECHECK_FAILED_VM_RUNNING           = "PATCH_PRECHECK_FAILED_VM_RUNNING"
	ERR_PATCH_PRECHECK_FAILED_OUT_OF_SPACE         = "PATCH_PRECHECK_FAILED_OUT_OF_SPACE"
	ERR_PATCH_PRECHECK_TOOLS_ISO_MOUNTED           = "PATCH_PRECHECK_FAILED_ISO_MOUNTED"
	ERR_PATCH_APPLY_FAILED                         = "PATCH_APPLY_FAILED"
	ERR_PATCH_APPLY_FAILED_BACKUP_FILES_EXIST      = "PATCH_APPLY_FAILED_BACKUP_FILES_EXIST"
	ERR_CANNOT_FIND_OEM_BACKUP_PARTITION           = "CANNOT_FIND_OEM_BACKUP_PARTITION"
	ERR_ONLY_ALLOWED_ON_OEM_EDITION                = "ONLY_ALLOWED_ON_OEM_EDITION"
	ERR_NOT_ALLOWED_ON_OEM_EDITION                 = "NOT_ALLOWED_ON_OEM_EDITION"
	ERR_CANNOT_FIND_STATE_PARTITION                = "CANNOT_FIND_STATE_PARTITION"
	ERR_BACKUP_SCRIPT_FAILED                       = "BACKUP_SCRIPT_FAILED"
	ERR_RESTORE_SCRIPT_FAILED                      = "RESTORE_SCRIPT_FAILED"

	ERR_LICENSE_EXPIRED                  = "LICENSE_EXPIRED"
	ERR_LICENSE_RESTRICTION              = "LICENCE_RESTRICTION"
	ERR_LICENSE_DOES_NOT_SUPPORT_POOLING = "LICENSE_DOES_NOT_SUPPORT_POOLING"
	ERR_LICENSE_HOST_POOL_MISMATCH       = "LICENSE_HOST_POOL_MISMATCH"
	ERR_LICENSE_PROCESSING_ERROR         = "LICENSE_PROCESSING_ERROR"
	ERR_LICENSE_CANNOT_DOWNGRADE_IN_POOL = "LICENSE_CANNOT_DOWNGRADE_WHILE_IN_POOL"
	ERR_LICENSE_DOES_NOT_SUPPORT_XHA     = "LICENSE_DOES_NOT_SUPPORT_XHA"

	ERR_V6D_FAILURE                = "V6D_FAILURE"
	ERR_INVALID_EDITION            = "INVALID_EDITION"
	ERR_MISSING_CONNECTION_DETAILS = "MISSING_CONNECTION_DETAILS"
	ERR_LICENSE_CHECKOUT_ERROR     = "LICENSE_CHECKOUT_ERROR"
	ERR_LICENSE_FILE_DEPRECATED    = "LICENSE_FILE_DEPRECATED"
	ERR_ACTIVATION_WHILE_NOT_FREE  = "ACTIVATION_WHILE_NOT_FREE"

	ERR_FEATURE_RESTRICTED = "FEATURE_RESTRICTED"

	ERR_XMLRPC_UNMARSHAL_FAILURE = "XMLRPC_UNMARSHAL_FAILURE"

	ERR_DUPLICATE_VM       = "DUPLICATE_VM"
	ERR_DUPLICATE_MAC_SEED = "DUPLICATE_MAC_SEED"

	ERR_CLIENT_ERROR = "CLIENT_ERROR"

	ERR_BALLOONING_DISABLED = "BALLOONING_DISABLED"

	ERR_HA_HOST_IS_ARMED         = "HA_HOST_IS_ARMED"
	ERR_HA_IS_ENABLED            = "HA_IS_ENABLED"
	ERR_HA_NOT_ENABLED           = "HA_NOT_ENABLED"
	ERR_HA_ENABLE_IN_PROGRESS    = "HA_ENABLE_IN_PROGRESS"
	ERR_HA_DISABLE_IN_PROGRESS   = "HA_DISABLE_IN_PROGRESS"
	ERR_HA_NOT_INSTALLED         = "HA_NOT_INSTALLED"
	ERR_HA_HOST_CANNOT_SEE_PEERS = "HA_HOST_CANNOT_SEE_PEERS"
	ERR_HA_TOO_FEW_HOSTS         = "HA_TOO_FEW_HOSTS"
	ERR_HA_SHOULD_BE_FENCED      = "HA_SHOULD_BE_FENCED"

	ERR_HA_ABORT_NEW_MASTER = "HA_ABORT_NEW_MASTER"

	ERR_HA_NO_PLAN                              = "HA_NO_PLAN"
	ERR_HA_LOST_STATEFILE                       = "HA_LOST_STATEFILE"
	ERR_HA_POOL_IS_ENABLED_BUT_HOST_IS_DISABLED = "HA_POOL_IS_ENABLED_BUT_HOST_IS_DISABLED"

	ERR_HA_HEARTBEAT_DAEMON_STARTUP_FAILED = "HA_HEARTBEAT_DAEMON_STARTUP_FAILED"
	ERR_HA_HOST_CANNOT_ACCESS_STATEFILE    = "HA_HOST_CANNOT_ACCESS_STATEFILE"

	ERR_HA_FAILED_TO_FORM_LIVESET = "HA_FAILED_TO_FORM_LIVESET"

	ERR_HA_CANNOT_CHANGE_BOND_STATUS_OF_MGMT_IFACE = "HA_CANNOT_CHANGE_BOND_STATUS_OF_MGMT_IFACE"

	// (* CA-16480: PREVENT CONFIGURATION ERRORS WHICH NULLIFY XHA GOODNESS *)
	ERR_HA_CONSTRAINT_VIOLATION_SR_NOT_SHARED      = "HA_CONSTRAINT_VIOLATION_SR_NOT_SHARED"
	ERR_HA_CONSTRAINT_VIOLATION_NETWORK_NOT_SHARED = "HA_CONSTRAINT_VIOLATION_NETWORK_NOT_SHARED"

	ERR_HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN = "HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN"

	ERR_INCOMPATIBLE_STATEFILE_SR         = "INCOMPATIBLE_STATEFILE_SR"
	ERR_INCOMPATIBLE_CLUSTER_STACK_ACTIVE = "INCOMPATIBLE_CLUSTER_STACK_ACTIVE"

	ERR_CANNOT_EVACUATE_HOST      = "CANNOT_EVACUATE_HOST"
	ERR_HOST_EVACUATE_IN_PROGRESS = "HOST_EVACUATE_IN_PROGRESS"

	ERR_SYSTEM_STATUS_RETRIEVAL_FAILED    = "SYSTEM_STATUS_RETRIEVAL_FAILED"
	ERR_SYSTEM_STATUS_MUST_USE_TAR_ON_OEM = "SYSTEM_STATUS_MUST_USE_TAR_ON_OEM"

	ERR_XAPI_HOOK_FAILED = "XAPI_HOOK_FAILED"

	ERR_NO_LOCAL_STORAGE = "NO_LOCAL_STORAGE"

	ERR_XENAPI_MISSING_PLUGIN = "XENAPI_MISSING_PLUGIN"
	ERR_XENAPI_PLUGIN_FAILURE = "XENAPI_PLUGIN_FAILURE"

	ERR_SR_ATTACHED     = "SR_ATTACHED"
	ERR_SR_NOT_ATTACHED = "SR_NOT_ATTACHED"

	ERR_DOMAIN_BUILDER_ERROR = "DOMAIN_BUILDER_ERROR"

	ERR_AUTH_ALREADY_ENABLED                         = "AUTH_ALREADY_ENABLED"
	ERR_AUTH_UNKNOWN_TYPE                            = "AUTH_UNKNOWN_TYPE"
	ERR_AUTH_IS_DISABLED                             = "AUTH_IS_DISABLED"
	ERR_AUTH_ENABLE_FAILED                           = "AUTH_ENABLE_FAILED"
	ERR_AUTH_ENABLE_FAILED_WRONG_CREDENTIALS         = "AUTH_ENABLE_FAILED_WRONG_CREDENTIALS"
	ERR_AUTH_ENABLE_FAILED_PERMISSION_DENIED         = "AUTH_ENABLE_FAILED_PERMISSION_DENIED"
	ERR_AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED      = "AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED"
	ERR_AUTH_ENABLE_FAILED_UNAVAILABLE               = "AUTH_ENABLE_FAILED_UNAVAILABLE"
	ERR_AUTH_ENABLE_FAILED_INVALID_OU                = "AUTH_ENABLE_FAILED_INVALID_OU"
	ERR_AUTH_DISABLE_FAILED                          = "AUTH_DISABLE_FAILED"
	ERR_AUTH_DISABLE_FAILED_WRONG_CREDENTIALS        = "AUTH_DISABLE_FAILED_WRONG_CREDENTIALS"
	ERR_AUTH_DISABLE_FAILED_PERMISSION_DENIED        = "AUTH_DISABLE_FAILED_PERMISSION_DENIED"
	ERR_POOL_AUTH_ALREADY_ENABLED                    = "POOL_AUTH_ALREADY_ENABLED"
	ERR_POOL_AUTH_ENABLE_FAILED                      = "POOL_AUTH_ENABLE_FAILED"
	ERR_POOL_AUTH_ENABLE_FAILED_WRONG_CREDENTIALS    = "POOL_AUTH_ENABLE_FAILED_WRONG_CREDENTIALS"
	ERR_POOL_AUTH_ENABLE_FAILED_PERMISSION_DENIED    = "POOL_AUTH_ENABLE_FAILED_PERMISSION_DENIED"
	ERR_POOL_AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED = "POOL_AUTH_ENABLE_FAILED_DOMAIN_LOOKUP_FAILED"
	ERR_POOL_AUTH_ENABLE_FAILED_UNAVAILABLE          = "POOL_AUTH_ENABLE_FAILED_UNAVAILABLE"
	ERR_POOL_AUTH_ENABLE_FAILED_INVALID_OU           = "POOL_AUTH_ENABLE_FAILED_INVALID_OU"
	ERR_POOL_AUTH_ENABLE_FAILED_DUPLICATE_HOSTNAME   = "POOL_AUTH_ENABLE_FAILED_DUPLICATE_HOSTNAME"
	ERR_POOL_AUTH_DISABLE_FAILED                     = "POOL_AUTH_DISABLE_FAILED"
	ERR_POOL_AUTH_DISABLE_FAILED_WRONG_CREDENTIALS   = "POOL_AUTH_DISABLE_FAILED_WRONG_CREDENTIALS"
	ERR_POOL_AUTH_DISABLE_FAILED_PERMISSION_DENIED   = "POOL_AUTH_DISABLE_FAILED_PERMISSION_DENIED"
	ERR_SUBJECT_CANNOT_BE_RESOLVED                   = "SUBJECT_CANNOT_BE_RESOLVED"
	ERR_AUTH_SERVICE_ERROR                           = "AUTH_SERVICE_ERROR"
	ERR_SUBJECT_ALREADY_EXISTS                       = "SUBJECT_ALREADY_EXISTS"
	ERR_ROLE_NOT_FOUND                               = "ROLE_NOT_FOUND"
	ERR_ROLE_ALREADY_EXISTS                          = "ROLE_ALREADY_EXISTS"
	ERR_RBAC_PERMISSION_DENIED                       = "RBAC_PERMISSION_DENIED"

	ERR_CERTIFICATE_DOES_NOT_EXIST  = "CERTIFICATE_DOES_NOT_EXIST"
	ERR_CERTIFICATE_ALREADY_EXISTS  = "CERTIFICATE_ALREADY_EXISTS"
	ERR_CERTIFICATE_NAME_INVALID    = "CERTIFICATE_NAME_INVALID"
	ERR_CERTIFICATE_CORRUPT         = "CERTIFICATE_CORRUPT"
	ERR_CERTIFICATE_LIBRARY_CORRUPT = "CERTIFICATE_LIBRARY_CORRUPT"
	ERR_CRL_DOES_NOT_EXIST          = "CRL_DOES_NOT_EXIST"
	ERR_CRL_ALREADY_EXISTS          = "CRL_ALREADY_EXISTS"
	ERR_CRL_NAME_INVALID            = "CRL_NAME_INVALID"
	ERR_CRL_CORRUPT                 = "CRL_CORRUPT"

	ERR_VMPP_HAS_VM                            = "VMPP_HAS_VM"
	ERR_VMPP_ARCHIVE_MORE_FREQUENT_THAN_BACKUP = "VMPP_ARCHIVE_MORE_FREQUENT_THAN_BACKUP"
	ERR_VM_ASSIGNED_TO_PROTECTION_POLICY       = "VM_ASSIGNED_TO_PROTECTION_POLICY"

	ERR_SSL_VERIFY_ERROR = "SSL_VERIFY_ERROR"

	ERR_CANNOT_ENABLE_REDO_LOG = "CANNOT_ENABLE_REDO_LOG"
	ERR_REDO_LOG_IS_ENABLED    = "REDO_LOG_IS_ENABLED"

	ERR_VM_BIOS_STRINGS_ALREADY_SET = "VM_BIOS_STRINGS_ALREADY_SET"

	ERR_INVALID_FEATURE_STRING            = "INVALID_FEATURE_STRING"
	ERR_CPU_FEATURE_MASKING_NOT_SUPPORTED = "CPU_FEATURE_MASKING_NOT_SUPPORTED"

	ERR_FEATURE_REQUIRES_HVM = "FEATURE_REQUIRES_HVM"

	// (* DISASTER RECOVERY *)
	ERR_VDI_CONTAINS_METADATA_OF_THIS_POOL       = "VDI_CONTAINS_METADATA_OF_THIS_POOL"
	ERR_NO_MORE_REDO_LOGS_ALLOWED                = "NO_MORE_REDO_LOGS_ALLOWED"
	ERR_COULD_NOT_IMPORT_DATABASE                = "COULD_NOT_IMPORT_DATABASE"
	ERR_VM_INCOMPATIBLE_WITH_THIS_HOST           = "VM_INCOMPATIBLE_WITH_THIS_HOST"
	ERR_CANNOT_DESTROY_DISASTER_RECOVERY_TASK    = "CANNOT_DESTROY_DISASTER_RECOVERY_TASK"
	ERR_VM_IS_PART_OF_AN_APPLIANCE               = "VM_IS_PART_OF_AN_APPLIANCE"
	ERR_VM_TO_IMPORT_IS_NOT_NEWER_VERSION        = "VM_TO_IMPORT_IS_NOT_NEWER_VERSION"
	ERR_SUSPEND_VDI_REPLACEMENT_IS_NOT_IDENTICAL = "SUSPEND_VDI_REPLACEMENT_IS_NOT_IDENTICAL"
	ERR_VDI_COPY_FAILED                          = "VDI_COPY_FAILED"

	ERR_VDI_NEEDS_VM_FOR_MIGRATE  = "VDI_NEEDS_VM_FOR_MIGRATE"
	ERR_VM_HAS_TOO_MANY_SNAPSHOTS = "VM_HAS_TOO_MANY_SNAPSHOTS"
	ERR_VM_HAS_CHECKPOINT         = "VM_HAS_CHECKPOINT"

	ERR_MIRROR_FAILED                 = "MIRROR_FAILED"
	ERR_TOO_MANY_STORAGE_MIGRATES     = "TOO_MANY_STORAGE_MIGRATES"
	ERR_SR_DOES_NOT_SUPPORT_MIGRATION = "SR_DOES_NOT_SUPPORT_MIGRATION"
	ERR_UNIMPLEMENTED_IN_SM_BACKEND   = "UNIMPLEMENTED_IN_SM_BACKEND"

	ERR_VM_CALL_PLUGIN_RATE_LIMIT = "VM_CALL_PLUGIN_RATE_LIMIT"
)

Variables

View Source
var AuthClassGetGroupMembershipMockedCallback = AuthClassGetGroupMembershipMockDefault
View Source
var AuthClassGetSubjectIdentifierMockedCallback = AuthClassGetSubjectIdentifierMockDefault
View Source
var AuthClassGetSubjectInformationFromIdentifierMockedCallback = AuthClassGetSubjectInformationFromIdentifierMockDefault
View Source
var BlobClassCreateMockedCallback = BlobClassCreateMockDefault
View Source
var BlobClassDestroyMockedCallback = BlobClassDestroyMockDefault
View Source
var BlobClassGetAllMockedCallback = BlobClassGetAllMockDefault
View Source
var BlobClassGetAllRecordsMockedCallback = BlobClassGetAllRecordsMockDefault
View Source
var BlobClassGetByNameLabelMockedCallback = BlobClassGetByNameLabelMockDefault
View Source
var BlobClassGetByUUIDMockedCallback = BlobClassGetByUUIDMockDefault
View Source
var BlobClassGetLastUpdatedMockedCallback = BlobClassGetLastUpdatedMockDefault
View Source
var BlobClassGetMimeTypeMockedCallback = BlobClassGetMimeTypeMockDefault
View Source
var BlobClassGetNameDescriptionMockedCallback = BlobClassGetNameDescriptionMockDefault
View Source
var BlobClassGetNameLabelMockedCallback = BlobClassGetNameLabelMockDefault
View Source
var BlobClassGetPublicMockedCallback = BlobClassGetPublicMockDefault
View Source
var BlobClassGetRecordMockedCallback = BlobClassGetRecordMockDefault
View Source
var BlobClassGetSizeMockedCallback = BlobClassGetSizeMockDefault
View Source
var BlobClassGetUUIDMockedCallback = BlobClassGetUUIDMockDefault
View Source
var BlobClassSetNameDescriptionMockedCallback = BlobClassSetNameDescriptionMockDefault
View Source
var BlobClassSetNameLabelMockedCallback = BlobClassSetNameLabelMockDefault
View Source
var BlobClassSetPublicMockedCallback = BlobClassSetPublicMockDefault
View Source
var BondClassAddToOtherConfigMockedCallback = BondClassAddToOtherConfigMockDefault
View Source
var BondClassCreateMockedCallback = BondClassCreateMockDefault
View Source
var BondClassDestroyMockedCallback = BondClassDestroyMockDefault
View Source
var BondClassGetAllMockedCallback = BondClassGetAllMockDefault
View Source
var BondClassGetAllRecordsMockedCallback = BondClassGetAllRecordsMockDefault
View Source
var BondClassGetByUUIDMockedCallback = BondClassGetByUUIDMockDefault
View Source
var BondClassGetLinksUpMockedCallback = BondClassGetLinksUpMockDefault
View Source
var BondClassGetMasterMockedCallback = BondClassGetMasterMockDefault
View Source
var BondClassGetModeMockedCallback = BondClassGetModeMockDefault
View Source
var BondClassGetOtherConfigMockedCallback = BondClassGetOtherConfigMockDefault
View Source
var BondClassGetPrimarySlaveMockedCallback = BondClassGetPrimarySlaveMockDefault
View Source
var BondClassGetPropertiesMockedCallback = BondClassGetPropertiesMockDefault
View Source
var BondClassGetRecordMockedCallback = BondClassGetRecordMockDefault
View Source
var BondClassGetSlavesMockedCallback = BondClassGetSlavesMockDefault
View Source
var BondClassGetUUIDMockedCallback = BondClassGetUUIDMockDefault
View Source
var BondClassRemoveFromOtherConfigMockedCallback = BondClassRemoveFromOtherConfigMockDefault
View Source
var BondClassSetModeMockedCallback = BondClassSetModeMockDefault
View Source
var BondClassSetOtherConfigMockedCallback = BondClassSetOtherConfigMockDefault
View Source
var BondClassSetPropertyMockedCallback = BondClassSetPropertyMockDefault
View Source
var ConsoleClassAddToOtherConfigMockedCallback = ConsoleClassAddToOtherConfigMockDefault
View Source
var ConsoleClassCreateMockedCallback = ConsoleClassCreateMockDefault
View Source
var ConsoleClassDestroyMockedCallback = ConsoleClassDestroyMockDefault
View Source
var ConsoleClassGetAllMockedCallback = ConsoleClassGetAllMockDefault
View Source
var ConsoleClassGetAllRecordsMockedCallback = ConsoleClassGetAllRecordsMockDefault
View Source
var ConsoleClassGetByUUIDMockedCallback = ConsoleClassGetByUUIDMockDefault
View Source
var ConsoleClassGetLocationMockedCallback = ConsoleClassGetLocationMockDefault
View Source
var ConsoleClassGetOtherConfigMockedCallback = ConsoleClassGetOtherConfigMockDefault
View Source
var ConsoleClassGetProtocolMockedCallback = ConsoleClassGetProtocolMockDefault
View Source
var ConsoleClassGetRecordMockedCallback = ConsoleClassGetRecordMockDefault
View Source
var ConsoleClassGetUUIDMockedCallback = ConsoleClassGetUUIDMockDefault
View Source
var ConsoleClassGetVMMockedCallback = ConsoleClassGetVMMockDefault
View Source
var ConsoleClassRemoveFromOtherConfigMockedCallback = ConsoleClassRemoveFromOtherConfigMockDefault
View Source
var ConsoleClassSetOtherConfigMockedCallback = ConsoleClassSetOtherConfigMockDefault
View Source
var CrashdumpClassAddToOtherConfigMockedCallback = CrashdumpClassAddToOtherConfigMockDefault
View Source
var CrashdumpClassDestroyMockedCallback = CrashdumpClassDestroyMockDefault
View Source
var CrashdumpClassGetAllMockedCallback = CrashdumpClassGetAllMockDefault
View Source
var CrashdumpClassGetAllRecordsMockedCallback = CrashdumpClassGetAllRecordsMockDefault
View Source
var CrashdumpClassGetByUUIDMockedCallback = CrashdumpClassGetByUUIDMockDefault
View Source
var CrashdumpClassGetOtherConfigMockedCallback = CrashdumpClassGetOtherConfigMockDefault
View Source
var CrashdumpClassGetRecordMockedCallback = CrashdumpClassGetRecordMockDefault
View Source
var CrashdumpClassGetUUIDMockedCallback = CrashdumpClassGetUUIDMockDefault
View Source
var CrashdumpClassGetVDIMockedCallback = CrashdumpClassGetVDIMockDefault
View Source
var CrashdumpClassGetVMMockedCallback = CrashdumpClassGetVMMockDefault
View Source
var CrashdumpClassRemoveFromOtherConfigMockedCallback = CrashdumpClassRemoveFromOtherConfigMockDefault
View Source
var CrashdumpClassSetOtherConfigMockedCallback = CrashdumpClassSetOtherConfigMockDefault
View Source
var DRTaskClassCreateMockedCallback = DRTaskClassCreateMockDefault
View Source
var DRTaskClassDestroyMockedCallback = DRTaskClassDestroyMockDefault
View Source
var DRTaskClassGetAllMockedCallback = DRTaskClassGetAllMockDefault
View Source
var DRTaskClassGetAllRecordsMockedCallback = DRTaskClassGetAllRecordsMockDefault
View Source
var DRTaskClassGetByUUIDMockedCallback = DRTaskClassGetByUUIDMockDefault
View Source
var DRTaskClassGetIntroducedSRsMockedCallback = DRTaskClassGetIntroducedSRsMockDefault
View Source
var DRTaskClassGetRecordMockedCallback = DRTaskClassGetRecordMockDefault
View Source
var DRTaskClassGetUUIDMockedCallback = DRTaskClassGetUUIDMockDefault
View Source
var EventClassFromMockedCallback = EventClassFromMockDefault
View Source
var EventClassGetCurrentIDMockedCallback = EventClassGetCurrentIDMockDefault
View Source
var EventClassInjectMockedCallback = EventClassInjectMockDefault
View Source
var EventClassNextMockedCallback = EventClassNextMockDefault
View Source
var EventClassRegisterMockedCallback = EventClassRegisterMockDefault
View Source
var EventClassUnregisterMockedCallback = EventClassUnregisterMockDefault
View Source
var FeatureClassGetAllMockedCallback = FeatureClassGetAllMockDefault
View Source
var FeatureClassGetAllRecordsMockedCallback = FeatureClassGetAllRecordsMockDefault
View Source
var FeatureClassGetByNameLabelMockedCallback = FeatureClassGetByNameLabelMockDefault
View Source
var FeatureClassGetByUUIDMockedCallback = FeatureClassGetByUUIDMockDefault
View Source
var FeatureClassGetEnabledMockedCallback = FeatureClassGetEnabledMockDefault
View Source
var FeatureClassGetExperimentalMockedCallback = FeatureClassGetExperimentalMockDefault
View Source
var FeatureClassGetHostMockedCallback = FeatureClassGetHostMockDefault
View Source
var FeatureClassGetNameDescriptionMockedCallback = FeatureClassGetNameDescriptionMockDefault
View Source
var FeatureClassGetNameLabelMockedCallback = FeatureClassGetNameLabelMockDefault
View Source
var FeatureClassGetRecordMockedCallback = FeatureClassGetRecordMockDefault
View Source
var FeatureClassGetUUIDMockedCallback = FeatureClassGetUUIDMockDefault
View Source
var FeatureClassGetVersionMockedCallback = FeatureClassGetVersionMockDefault
View Source
var GPUGroupClassAddToOtherConfigMockedCallback = GPUGroupClassAddToOtherConfigMockDefault
View Source
var GPUGroupClassCreateMockedCallback = GPUGroupClassCreateMockDefault
View Source
var GPUGroupClassDestroyMockedCallback = GPUGroupClassDestroyMockDefault
View Source
var GPUGroupClassGetAllMockedCallback = GPUGroupClassGetAllMockDefault
View Source
var GPUGroupClassGetAllRecordsMockedCallback = GPUGroupClassGetAllRecordsMockDefault
View Source
var GPUGroupClassGetAllocationAlgorithmMockedCallback = GPUGroupClassGetAllocationAlgorithmMockDefault
View Source
var GPUGroupClassGetByNameLabelMockedCallback = GPUGroupClassGetByNameLabelMockDefault
View Source
var GPUGroupClassGetByUUIDMockedCallback = GPUGroupClassGetByUUIDMockDefault
View Source
var GPUGroupClassGetEnabledVGPUTypesMockedCallback = GPUGroupClassGetEnabledVGPUTypesMockDefault
View Source
var GPUGroupClassGetGPUTypesMockedCallback = GPUGroupClassGetGPUTypesMockDefault
View Source
var GPUGroupClassGetNameDescriptionMockedCallback = GPUGroupClassGetNameDescriptionMockDefault
View Source
var GPUGroupClassGetNameLabelMockedCallback = GPUGroupClassGetNameLabelMockDefault
View Source
var GPUGroupClassGetOtherConfigMockedCallback = GPUGroupClassGetOtherConfigMockDefault
View Source
var GPUGroupClassGetPGPUsMockedCallback = GPUGroupClassGetPGPUsMockDefault
View Source
var GPUGroupClassGetRecordMockedCallback = GPUGroupClassGetRecordMockDefault
View Source
var GPUGroupClassGetRemainingCapacityMockedCallback = GPUGroupClassGetRemainingCapacityMockDefault
View Source
var GPUGroupClassGetSupportedVGPUTypesMockedCallback = GPUGroupClassGetSupportedVGPUTypesMockDefault
View Source
var GPUGroupClassGetUUIDMockedCallback = GPUGroupClassGetUUIDMockDefault
View Source
var GPUGroupClassGetVGPUsMockedCallback = GPUGroupClassGetVGPUsMockDefault
View Source
var GPUGroupClassRemoveFromOtherConfigMockedCallback = GPUGroupClassRemoveFromOtherConfigMockDefault
View Source
var GPUGroupClassSetAllocationAlgorithmMockedCallback = GPUGroupClassSetAllocationAlgorithmMockDefault
View Source
var GPUGroupClassSetNameDescriptionMockedCallback = GPUGroupClassSetNameDescriptionMockDefault
View Source
var GPUGroupClassSetNameLabelMockedCallback = GPUGroupClassSetNameLabelMockDefault
View Source
var GPUGroupClassSetOtherConfigMockedCallback = GPUGroupClassSetOtherConfigMockDefault
View Source
var HostCPUClassAddToOtherConfigMockedCallback = HostCPUClassAddToOtherConfigMockDefault
View Source
var HostCPUClassGetAllMockedCallback = HostCPUClassGetAllMockDefault
View Source
var HostCPUClassGetAllRecordsMockedCallback = HostCPUClassGetAllRecordsMockDefault
View Source
var HostCPUClassGetByUUIDMockedCallback = HostCPUClassGetByUUIDMockDefault
View Source
var HostCPUClassGetFamilyMockedCallback = HostCPUClassGetFamilyMockDefault
View Source
var HostCPUClassGetFeaturesMockedCallback = HostCPUClassGetFeaturesMockDefault
View Source
var HostCPUClassGetFlagsMockedCallback = HostCPUClassGetFlagsMockDefault
View Source
var HostCPUClassGetHostMockedCallback = HostCPUClassGetHostMockDefault
View Source
var HostCPUClassGetModelMockedCallback = HostCPUClassGetModelMockDefault
View Source
var HostCPUClassGetModelnameMockedCallback = HostCPUClassGetModelnameMockDefault
View Source
var HostCPUClassGetNumberMockedCallback = HostCPUClassGetNumberMockDefault
View Source
var HostCPUClassGetOtherConfigMockedCallback = HostCPUClassGetOtherConfigMockDefault
View Source
var HostCPUClassGetRecordMockedCallback = HostCPUClassGetRecordMockDefault
View Source
var HostCPUClassGetSpeedMockedCallback = HostCPUClassGetSpeedMockDefault
View Source
var HostCPUClassGetSteppingMockedCallback = HostCPUClassGetSteppingMockDefault
View Source
var HostCPUClassGetUUIDMockedCallback = HostCPUClassGetUUIDMockDefault
View Source
var HostCPUClassGetUtilisationMockedCallback = HostCPUClassGetUtilisationMockDefault
View Source
var HostCPUClassGetVendorMockedCallback = HostCPUClassGetVendorMockDefault
View Source
var HostCPUClassRemoveFromOtherConfigMockedCallback = HostCPUClassRemoveFromOtherConfigMockDefault
View Source
var HostCPUClassSetOtherConfigMockedCallback = HostCPUClassSetOtherConfigMockDefault
View Source
var HostClassAddTagsMockedCallback = HostClassAddTagsMockDefault
View Source
var HostClassAddToGuestVCPUsParamsMockedCallback = HostClassAddToGuestVCPUsParamsMockDefault
View Source
var HostClassAddToLicenseServerMockedCallback = HostClassAddToLicenseServerMockDefault
View Source
var HostClassAddToLoggingMockedCallback = HostClassAddToLoggingMockDefault
View Source
var HostClassAddToOtherConfigMockedCallback = HostClassAddToOtherConfigMockDefault
View Source
var HostClassApplyEditionMockedCallback = HostClassApplyEditionMockDefault
View Source
var HostClassAssertCanEvacuateMockedCallback = HostClassAssertCanEvacuateMockDefault
View Source
var HostClassBackupRrdsMockedCallback = HostClassBackupRrdsMockDefault
View Source
var HostClassBugreportUploadMockedCallback = HostClassBugreportUploadMockDefault
View Source
var HostClassCallExtensionMockedCallback = HostClassCallExtensionMockDefault
View Source
var HostClassCallPluginMockedCallback = HostClassCallPluginMockDefault
View Source
var HostClassComputeFreeMemoryMockedCallback = HostClassComputeFreeMemoryMockDefault
View Source
var HostClassComputeMemoryOverheadMockedCallback = HostClassComputeMemoryOverheadMockDefault
View Source
var HostClassCreateNewBlobMockedCallback = HostClassCreateNewBlobMockDefault
View Source
var HostClassDeclareDeadMockedCallback = HostClassDeclareDeadMockDefault
View Source
var HostClassDestroyMockedCallback = HostClassDestroyMockDefault
View Source
var HostClassDisableDisplayMockedCallback = HostClassDisableDisplayMockDefault
View Source
var HostClassDisableExternalAuthMockedCallback = HostClassDisableExternalAuthMockDefault
View Source
var HostClassDisableLocalStorageCachingMockedCallback = HostClassDisableLocalStorageCachingMockDefault
View Source
var HostClassDisableMockedCallback = HostClassDisableMockDefault
View Source
var HostClassDmesgClearMockedCallback = HostClassDmesgClearMockDefault
View Source
var HostClassDmesgMockedCallback = HostClassDmesgMockDefault
View Source
var HostClassEmergencyHaDisableMockedCallback = HostClassEmergencyHaDisableMockDefault
View Source
var HostClassEnableDisplayMockedCallback = HostClassEnableDisplayMockDefault
View Source
var HostClassEnableExternalAuthMockedCallback = HostClassEnableExternalAuthMockDefault
View Source
var HostClassEnableLocalStorageCachingMockedCallback = HostClassEnableLocalStorageCachingMockDefault
View Source
var HostClassEnableMockedCallback = HostClassEnableMockDefault
View Source
var HostClassEvacuateMockedCallback = HostClassEvacuateMockDefault
View Source
var HostClassForgetDataSourceArchivesMockedCallback = HostClassForgetDataSourceArchivesMockDefault
View Source
var HostClassGetAPIVersionMajorMockedCallback = HostClassGetAPIVersionMajorMockDefault
View Source
var HostClassGetAPIVersionMinorMockedCallback = HostClassGetAPIVersionMinorMockDefault
View Source
var HostClassGetAPIVersionVendorImplementationMockedCallback = HostClassGetAPIVersionVendorImplementationMockDefault
View Source
var HostClassGetAPIVersionVendorMockedCallback = HostClassGetAPIVersionVendorMockDefault
View Source
var HostClassGetAddressMockedCallback = HostClassGetAddressMockDefault
View Source
var HostClassGetAllMockedCallback = HostClassGetAllMockDefault
View Source
var HostClassGetAllRecordsMockedCallback = HostClassGetAllRecordsMockDefault
View Source
var HostClassGetAllowedOperationsMockedCallback = HostClassGetAllowedOperationsMockDefault
View Source
var HostClassGetBiosStringsMockedCallback = HostClassGetBiosStringsMockDefault
View Source
var HostClassGetBlobsMockedCallback = HostClassGetBlobsMockDefault
View Source
var HostClassGetByNameLabelMockedCallback = HostClassGetByNameLabelMockDefault
View Source
var HostClassGetByUUIDMockedCallback = HostClassGetByUUIDMockDefault
View Source
var HostClassGetCPUConfigurationMockedCallback = HostClassGetCPUConfigurationMockDefault
View Source
var HostClassGetCPUInfoMockedCallback = HostClassGetCPUInfoMockDefault
View Source
var HostClassGetCapabilitiesMockedCallback = HostClassGetCapabilitiesMockDefault
View Source
var HostClassGetChipsetInfoMockedCallback = HostClassGetChipsetInfoMockDefault
View Source
var HostClassGetControlDomainMockedCallback = HostClassGetControlDomainMockDefault
View Source
var HostClassGetCrashDumpSrMockedCallback = HostClassGetCrashDumpSrMockDefault
View Source
var HostClassGetCrashdumpsMockedCallback = HostClassGetCrashdumpsMockDefault
View Source
var HostClassGetCurrentOperationsMockedCallback = HostClassGetCurrentOperationsMockDefault
View Source
var HostClassGetDataSourcesMockedCallback = HostClassGetDataSourcesMockDefault
View Source
var HostClassGetDisplayMockedCallback = HostClassGetDisplayMockDefault
View Source
var HostClassGetEditionMockedCallback = HostClassGetEditionMockDefault
View Source
var HostClassGetEnabledMockedCallback = HostClassGetEnabledMockDefault
View Source
var HostClassGetExternalAuthConfigurationMockedCallback = HostClassGetExternalAuthConfigurationMockDefault
View Source
var HostClassGetExternalAuthServiceNameMockedCallback = HostClassGetExternalAuthServiceNameMockDefault
View Source
var HostClassGetExternalAuthTypeMockedCallback = HostClassGetExternalAuthTypeMockDefault
View Source
var HostClassGetFeaturesMockedCallback = HostClassGetFeaturesMockDefault
View Source
var HostClassGetGuestVCPUsParamsMockedCallback = HostClassGetGuestVCPUsParamsMockDefault
View Source
var HostClassGetHaNetworkPeersMockedCallback = HostClassGetHaNetworkPeersMockDefault
View Source
var HostClassGetHaStatefilesMockedCallback = HostClassGetHaStatefilesMockDefault
View Source
var HostClassGetHostCPUsMockedCallback = HostClassGetHostCPUsMockDefault
View Source
var HostClassGetHostnameMockedCallback = HostClassGetHostnameMockDefault
View Source
var HostClassGetLicenseParamsMockedCallback = HostClassGetLicenseParamsMockDefault
View Source
var HostClassGetLicenseServerMockedCallback = HostClassGetLicenseServerMockDefault
View Source
var HostClassGetLocalCacheSrMockedCallback = HostClassGetLocalCacheSrMockDefault
View Source
var HostClassGetLogMockedCallback = HostClassGetLogMockDefault
View Source
var HostClassGetLoggingMockedCallback = HostClassGetLoggingMockDefault
View Source
var HostClassGetManagementInterfaceMockedCallback = HostClassGetManagementInterfaceMockDefault
View Source
var HostClassGetMemoryOverheadMockedCallback = HostClassGetMemoryOverheadMockDefault
View Source
var HostClassGetMetricsMockedCallback = HostClassGetMetricsMockDefault
View Source
var HostClassGetNameDescriptionMockedCallback = HostClassGetNameDescriptionMockDefault
View Source
var HostClassGetNameLabelMockedCallback = HostClassGetNameLabelMockDefault
View Source
var HostClassGetOtherConfigMockedCallback = HostClassGetOtherConfigMockDefault
View Source
var HostClassGetPBDsMockedCallback = HostClassGetPBDsMockDefault
View Source
var HostClassGetPCIsMockedCallback = HostClassGetPCIsMockDefault
View Source
var HostClassGetPGPUsMockedCallback = HostClassGetPGPUsMockDefault
View Source
var HostClassGetPIFsMockedCallback = HostClassGetPIFsMockDefault
View Source
var HostClassGetPUSBsMockedCallback = HostClassGetPUSBsMockDefault
View Source
var HostClassGetPatchesMockedCallback = HostClassGetPatchesMockDefault
View Source
var HostClassGetPowerOnConfigMockedCallback = HostClassGetPowerOnConfigMockDefault
View Source
var HostClassGetPowerOnModeMockedCallback = HostClassGetPowerOnModeMockDefault
View Source
var HostClassGetRecordMockedCallback = HostClassGetRecordMockDefault
View Source
var HostClassGetResidentVMsMockedCallback = HostClassGetResidentVMsMockDefault
View Source
var HostClassGetSchedPolicyMockedCallback = HostClassGetSchedPolicyMockDefault
View Source
var HostClassGetServerCertificateMockedCallback = HostClassGetServerCertificateMockDefault
View Source
var HostClassGetServerLocaltimeMockedCallback = HostClassGetServerLocaltimeMockDefault
View Source
var HostClassGetServertimeMockedCallback = HostClassGetServertimeMockDefault
View Source
var HostClassGetSoftwareVersionMockedCallback = HostClassGetSoftwareVersionMockDefault
View Source
var HostClassGetSslLegacyMockedCallback = HostClassGetSslLegacyMockDefault
View Source
var HostClassGetSupportedBootloadersMockedCallback = HostClassGetSupportedBootloadersMockDefault
View Source
var HostClassGetSuspendImageSrMockedCallback = HostClassGetSuspendImageSrMockDefault
View Source
var HostClassGetSystemStatusCapabilitiesMockedCallback = HostClassGetSystemStatusCapabilitiesMockDefault
View Source
var HostClassGetTagsMockedCallback = HostClassGetTagsMockDefault
View Source
var HostClassGetUUIDMockedCallback = HostClassGetUUIDMockDefault
View Source
var HostClassGetUncooperativeResidentVMsMockedCallback = HostClassGetUncooperativeResidentVMsMockDefault
View Source
var HostClassGetUpdatesMockedCallback = HostClassGetUpdatesMockDefault
View Source
var HostClassGetUpdatesRequiringRebootMockedCallback = HostClassGetUpdatesRequiringRebootMockDefault
View Source
var HostClassGetVirtualHardwarePlatformVersionsMockedCallback = HostClassGetVirtualHardwarePlatformVersionsMockDefault
View Source
var HostClassGetVmsWhichPreventEvacuationMockedCallback = HostClassGetVmsWhichPreventEvacuationMockDefault
View Source
var HostClassHasExtensionMockedCallback = HostClassHasExtensionMockDefault
View Source
var HostClassLicenseAddMockedCallback = HostClassLicenseAddMockDefault
View Source
var HostClassLicenseApplyMockedCallback = HostClassLicenseApplyMockDefault
View Source
var HostClassLicenseRemoveMockedCallback = HostClassLicenseRemoveMockDefault
View Source
var HostClassListMethodsMockedCallback = HostClassListMethodsMockDefault
View Source
var HostClassLocalManagementReconfigureMockedCallback = HostClassLocalManagementReconfigureMockDefault
View Source
var HostClassManagementDisableMockedCallback = HostClassManagementDisableMockDefault
View Source
var HostClassManagementReconfigureMockedCallback = HostClassManagementReconfigureMockDefault
View Source
var HostClassMigrateReceiveMockedCallback = HostClassMigrateReceiveMockDefault
View Source
var HostClassPowerOnMockedCallback = HostClassPowerOnMockDefault
View Source
var HostClassQueryDataSourceMockedCallback = HostClassQueryDataSourceMockDefault
View Source
var HostClassRebootMockedCallback = HostClassRebootMockDefault
View Source
var HostClassRecordDataSourceMockedCallback = HostClassRecordDataSourceMockDefault
View Source
var HostClassRefreshPackInfoMockedCallback = HostClassRefreshPackInfoMockDefault
View Source
var HostClassRemoveFromGuestVCPUsParamsMockedCallback = HostClassRemoveFromGuestVCPUsParamsMockDefault
View Source
var HostClassRemoveFromLicenseServerMockedCallback = HostClassRemoveFromLicenseServerMockDefault
View Source
var HostClassRemoveFromLoggingMockedCallback = HostClassRemoveFromLoggingMockDefault
View Source
var HostClassRemoveFromOtherConfigMockedCallback = HostClassRemoveFromOtherConfigMockDefault
View Source
var HostClassRemoveTagsMockedCallback = HostClassRemoveTagsMockDefault
View Source
var HostClassResetCPUFeaturesMockedCallback = HostClassResetCPUFeaturesMockDefault
View Source
var HostClassRestartAgentMockedCallback = HostClassRestartAgentMockDefault
View Source
var HostClassRetrieveWlbEvacuateRecommendationsMockedCallback = HostClassRetrieveWlbEvacuateRecommendationsMockDefault
View Source
var HostClassSendDebugKeysMockedCallback = HostClassSendDebugKeysMockDefault
View Source
var HostClassSetAddressMockedCallback = HostClassSetAddressMockDefault
View Source
var HostClassSetCPUFeaturesMockedCallback = HostClassSetCPUFeaturesMockDefault
View Source
var HostClassSetCrashDumpSrMockedCallback = HostClassSetCrashDumpSrMockDefault
View Source
var HostClassSetDisplayMockedCallback = HostClassSetDisplayMockDefault
View Source
var HostClassSetGuestVCPUsParamsMockedCallback = HostClassSetGuestVCPUsParamsMockDefault
View Source
var HostClassSetHostnameLiveMockedCallback = HostClassSetHostnameLiveMockDefault
View Source
var HostClassSetHostnameMockedCallback = HostClassSetHostnameMockDefault
View Source
var HostClassSetLicenseServerMockedCallback = HostClassSetLicenseServerMockDefault
View Source
var HostClassSetLoggingMockedCallback = HostClassSetLoggingMockDefault
View Source
var HostClassSetNameDescriptionMockedCallback = HostClassSetNameDescriptionMockDefault
View Source
var HostClassSetNameLabelMockedCallback = HostClassSetNameLabelMockDefault
View Source
var HostClassSetOtherConfigMockedCallback = HostClassSetOtherConfigMockDefault
View Source
var HostClassSetPowerOnModeMockedCallback = HostClassSetPowerOnModeMockDefault
View Source
var HostClassSetSslLegacyMockedCallback = HostClassSetSslLegacyMockDefault
View Source
var HostClassSetSuspendImageSrMockedCallback = HostClassSetSuspendImageSrMockDefault
View Source
var HostClassSetTagsMockedCallback = HostClassSetTagsMockDefault
View Source
var HostClassShutdownAgentMockedCallback = HostClassShutdownAgentMockDefault
View Source
var HostClassShutdownMockedCallback = HostClassShutdownMockDefault
View Source
var HostClassSyncDataMockedCallback = HostClassSyncDataMockDefault
View Source
var HostClassSyslogReconfigureMockedCallback = HostClassSyslogReconfigureMockDefault
View Source
var HostCrashdumpClassAddToOtherConfigMockedCallback = HostCrashdumpClassAddToOtherConfigMockDefault
View Source
var HostCrashdumpClassDestroyMockedCallback = HostCrashdumpClassDestroyMockDefault
View Source
var HostCrashdumpClassGetAllMockedCallback = HostCrashdumpClassGetAllMockDefault
View Source
var HostCrashdumpClassGetAllRecordsMockedCallback = HostCrashdumpClassGetAllRecordsMockDefault
View Source
var HostCrashdumpClassGetByUUIDMockedCallback = HostCrashdumpClassGetByUUIDMockDefault
View Source
var HostCrashdumpClassGetHostMockedCallback = HostCrashdumpClassGetHostMockDefault
View Source
var HostCrashdumpClassGetOtherConfigMockedCallback = HostCrashdumpClassGetOtherConfigMockDefault
View Source
var HostCrashdumpClassGetRecordMockedCallback = HostCrashdumpClassGetRecordMockDefault
View Source
var HostCrashdumpClassGetSizeMockedCallback = HostCrashdumpClassGetSizeMockDefault
View Source
var HostCrashdumpClassGetTimestampMockedCallback = HostCrashdumpClassGetTimestampMockDefault
View Source
var HostCrashdumpClassGetUUIDMockedCallback = HostCrashdumpClassGetUUIDMockDefault
View Source
var HostCrashdumpClassRemoveFromOtherConfigMockedCallback = HostCrashdumpClassRemoveFromOtherConfigMockDefault
View Source
var HostCrashdumpClassSetOtherConfigMockedCallback = HostCrashdumpClassSetOtherConfigMockDefault
View Source
var HostCrashdumpClassUploadMockedCallback = HostCrashdumpClassUploadMockDefault
View Source
var HostMetricsClassAddToOtherConfigMockedCallback = HostMetricsClassAddToOtherConfigMockDefault
View Source
var HostMetricsClassGetAllMockedCallback = HostMetricsClassGetAllMockDefault
View Source
var HostMetricsClassGetAllRecordsMockedCallback = HostMetricsClassGetAllRecordsMockDefault
View Source
var HostMetricsClassGetByUUIDMockedCallback = HostMetricsClassGetByUUIDMockDefault
View Source
var HostMetricsClassGetLastUpdatedMockedCallback = HostMetricsClassGetLastUpdatedMockDefault
View Source
var HostMetricsClassGetLiveMockedCallback = HostMetricsClassGetLiveMockDefault
View Source
var HostMetricsClassGetMemoryFreeMockedCallback = HostMetricsClassGetMemoryFreeMockDefault
View Source
var HostMetricsClassGetMemoryTotalMockedCallback = HostMetricsClassGetMemoryTotalMockDefault
View Source
var HostMetricsClassGetOtherConfigMockedCallback = HostMetricsClassGetOtherConfigMockDefault
View Source
var HostMetricsClassGetRecordMockedCallback = HostMetricsClassGetRecordMockDefault
View Source
var HostMetricsClassGetUUIDMockedCallback = HostMetricsClassGetUUIDMockDefault
View Source
var HostMetricsClassRemoveFromOtherConfigMockedCallback = HostMetricsClassRemoveFromOtherConfigMockDefault
View Source
var HostMetricsClassSetOtherConfigMockedCallback = HostMetricsClassSetOtherConfigMockDefault
View Source
var HostPatchClassAddToOtherConfigMockedCallback = HostPatchClassAddToOtherConfigMockDefault
View Source
var HostPatchClassApplyMockedCallback = HostPatchClassApplyMockDefault
View Source
var HostPatchClassDestroyMockedCallback = HostPatchClassDestroyMockDefault
View Source
var HostPatchClassGetAllMockedCallback = HostPatchClassGetAllMockDefault
View Source
var HostPatchClassGetAllRecordsMockedCallback = HostPatchClassGetAllRecordsMockDefault
View Source
var HostPatchClassGetAppliedMockedCallback = HostPatchClassGetAppliedMockDefault
View Source
var HostPatchClassGetByNameLabelMockedCallback = HostPatchClassGetByNameLabelMockDefault
View Source
var HostPatchClassGetByUUIDMockedCallback = HostPatchClassGetByUUIDMockDefault
View Source
var HostPatchClassGetHostMockedCallback = HostPatchClassGetHostMockDefault
View Source
var HostPatchClassGetNameDescriptionMockedCallback = HostPatchClassGetNameDescriptionMockDefault
View Source
var HostPatchClassGetNameLabelMockedCallback = HostPatchClassGetNameLabelMockDefault
View Source
var HostPatchClassGetOtherConfigMockedCallback = HostPatchClassGetOtherConfigMockDefault
View Source
var HostPatchClassGetPoolPatchMockedCallback = HostPatchClassGetPoolPatchMockDefault
View Source
var HostPatchClassGetRecordMockedCallback = HostPatchClassGetRecordMockDefault
View Source
var HostPatchClassGetSizeMockedCallback = HostPatchClassGetSizeMockDefault
View Source
var HostPatchClassGetTimestampAppliedMockedCallback = HostPatchClassGetTimestampAppliedMockDefault
View Source
var HostPatchClassGetUUIDMockedCallback = HostPatchClassGetUUIDMockDefault
View Source
var HostPatchClassGetVersionMockedCallback = HostPatchClassGetVersionMockDefault
View Source
var HostPatchClassRemoveFromOtherConfigMockedCallback = HostPatchClassRemoveFromOtherConfigMockDefault
View Source
var HostPatchClassSetOtherConfigMockedCallback = HostPatchClassSetOtherConfigMockDefault
View Source
var IsMock = mock == "true"
View Source
var LVHDClassEnableThinProvisioningMockedCallback = LVHDClassEnableThinProvisioningMockDefault
View Source
var LVHDClassGetByUUIDMockedCallback = LVHDClassGetByUUIDMockDefault
View Source
var LVHDClassGetRecordMockedCallback = LVHDClassGetRecordMockDefault
View Source
var LVHDClassGetUUIDMockedCallback = LVHDClassGetUUIDMockDefault
View Source
var MessageClassCreateMockedCallback = MessageClassCreateMockDefault
View Source
var MessageClassDestroyMockedCallback = MessageClassDestroyMockDefault
View Source
var MessageClassGetAllMockedCallback = MessageClassGetAllMockDefault
View Source
var MessageClassGetAllRecordsMockedCallback = MessageClassGetAllRecordsMockDefault
View Source
var MessageClassGetAllRecordsWhereMockedCallback = MessageClassGetAllRecordsWhereMockDefault
View Source
var MessageClassGetByUUIDMockedCallback = MessageClassGetByUUIDMockDefault
View Source
var MessageClassGetMockedCallback = MessageClassGetMockDefault
View Source
var MessageClassGetRecordMockedCallback = MessageClassGetRecordMockDefault
View Source
var MessageClassGetSinceMockedCallback = MessageClassGetSinceMockDefault
View Source
var NetworkClassAddPurposeMockedCallback = NetworkClassAddPurposeMockDefault
View Source
var NetworkClassAddTagsMockedCallback = NetworkClassAddTagsMockDefault
View Source
var NetworkClassAddToOtherConfigMockedCallback = NetworkClassAddToOtherConfigMockDefault
View Source
var NetworkClassCreateMockedCallback = NetworkClassCreateMockDefault
View Source
var NetworkClassCreateNewBlobMockedCallback = NetworkClassCreateNewBlobMockDefault
View Source
var NetworkClassDestroyMockedCallback = NetworkClassDestroyMockDefault
View Source
var NetworkClassGetAllMockedCallback = NetworkClassGetAllMockDefault
View Source
var NetworkClassGetAllRecordsMockedCallback = NetworkClassGetAllRecordsMockDefault
View Source
var NetworkClassGetAllowedOperationsMockedCallback = NetworkClassGetAllowedOperationsMockDefault
View Source
var NetworkClassGetAssignedIpsMockedCallback = NetworkClassGetAssignedIpsMockDefault
View Source
var NetworkClassGetBlobsMockedCallback = NetworkClassGetBlobsMockDefault
View Source
var NetworkClassGetBridgeMockedCallback = NetworkClassGetBridgeMockDefault
View Source
var NetworkClassGetByNameLabelMockedCallback = NetworkClassGetByNameLabelMockDefault
View Source
var NetworkClassGetByUUIDMockedCallback = NetworkClassGetByUUIDMockDefault
View Source
var NetworkClassGetCurrentOperationsMockedCallback = NetworkClassGetCurrentOperationsMockDefault
View Source
var NetworkClassGetDefaultLockingModeMockedCallback = NetworkClassGetDefaultLockingModeMockDefault
View Source
var NetworkClassGetMTUMockedCallback = NetworkClassGetMTUMockDefault
View Source
var NetworkClassGetManagedMockedCallback = NetworkClassGetManagedMockDefault
View Source
var NetworkClassGetNameDescriptionMockedCallback = NetworkClassGetNameDescriptionMockDefault
View Source
var NetworkClassGetNameLabelMockedCallback = NetworkClassGetNameLabelMockDefault
View Source
var NetworkClassGetOtherConfigMockedCallback = NetworkClassGetOtherConfigMockDefault
View Source
var NetworkClassGetPIFsMockedCallback = NetworkClassGetPIFsMockDefault
View Source
var NetworkClassGetPurposeMockedCallback = NetworkClassGetPurposeMockDefault
View Source
var NetworkClassGetRecordMockedCallback = NetworkClassGetRecordMockDefault
View Source
var NetworkClassGetTagsMockedCallback = NetworkClassGetTagsMockDefault
View Source
var NetworkClassGetUUIDMockedCallback = NetworkClassGetUUIDMockDefault
View Source
var NetworkClassGetVIFsMockedCallback = NetworkClassGetVIFsMockDefault
View Source
var NetworkClassRemoveFromOtherConfigMockedCallback = NetworkClassRemoveFromOtherConfigMockDefault
View Source
var NetworkClassRemovePurposeMockedCallback = NetworkClassRemovePurposeMockDefault
View Source
var NetworkClassRemoveTagsMockedCallback = NetworkClassRemoveTagsMockDefault
View Source
var NetworkClassSetDefaultLockingModeMockedCallback = NetworkClassSetDefaultLockingModeMockDefault
View Source
var NetworkClassSetMTUMockedCallback = NetworkClassSetMTUMockDefault
View Source
var NetworkClassSetNameDescriptionMockedCallback = NetworkClassSetNameDescriptionMockDefault
View Source
var NetworkClassSetNameLabelMockedCallback = NetworkClassSetNameLabelMockDefault
View Source
var NetworkClassSetOtherConfigMockedCallback = NetworkClassSetOtherConfigMockDefault
View Source
var NetworkClassSetTagsMockedCallback = NetworkClassSetTagsMockDefault
View Source
var PBDClassAddToOtherConfigMockedCallback = PBDClassAddToOtherConfigMockDefault
View Source
var PBDClassCreateMockedCallback = PBDClassCreateMockDefault
View Source
var PBDClassDestroyMockedCallback = PBDClassDestroyMockDefault
View Source
var PBDClassGetAllMockedCallback = PBDClassGetAllMockDefault
View Source
var PBDClassGetAllRecordsMockedCallback = PBDClassGetAllRecordsMockDefault
View Source
var PBDClassGetByUUIDMockedCallback = PBDClassGetByUUIDMockDefault
View Source
var PBDClassGetCurrentlyAttachedMockedCallback = PBDClassGetCurrentlyAttachedMockDefault
View Source
var PBDClassGetDeviceConfigMockedCallback = PBDClassGetDeviceConfigMockDefault
View Source
var PBDClassGetHostMockedCallback = PBDClassGetHostMockDefault
View Source
var PBDClassGetOtherConfigMockedCallback = PBDClassGetOtherConfigMockDefault
View Source
var PBDClassGetRecordMockedCallback = PBDClassGetRecordMockDefault
View Source
var PBDClassGetSRMockedCallback = PBDClassGetSRMockDefault
View Source
var PBDClassGetUUIDMockedCallback = PBDClassGetUUIDMockDefault
View Source
var PBDClassPlugMockedCallback = PBDClassPlugMockDefault
View Source
var PBDClassRemoveFromOtherConfigMockedCallback = PBDClassRemoveFromOtherConfigMockDefault
View Source
var PBDClassSetDeviceConfigMockedCallback = PBDClassSetDeviceConfigMockDefault
View Source
var PBDClassSetOtherConfigMockedCallback = PBDClassSetOtherConfigMockDefault
View Source
var PBDClassUnplugMockedCallback = PBDClassUnplugMockDefault
View Source
var PCIClassAddToOtherConfigMockedCallback = PCIClassAddToOtherConfigMockDefault
View Source
var PCIClassGetAllMockedCallback = PCIClassGetAllMockDefault
View Source
var PCIClassGetAllRecordsMockedCallback = PCIClassGetAllRecordsMockDefault
View Source
var PCIClassGetByUUIDMockedCallback = PCIClassGetByUUIDMockDefault
View Source
var PCIClassGetClassNameMockedCallback = PCIClassGetClassNameMockDefault
View Source
var PCIClassGetDependenciesMockedCallback = PCIClassGetDependenciesMockDefault
View Source
var PCIClassGetDeviceNameMockedCallback = PCIClassGetDeviceNameMockDefault
View Source
var PCIClassGetHostMockedCallback = PCIClassGetHostMockDefault
View Source
var PCIClassGetOtherConfigMockedCallback = PCIClassGetOtherConfigMockDefault
View Source
var PCIClassGetPciIDMockedCallback = PCIClassGetPciIDMockDefault
View Source
var PCIClassGetRecordMockedCallback = PCIClassGetRecordMockDefault
View Source
var PCIClassGetSubsystemDeviceNameMockedCallback = PCIClassGetSubsystemDeviceNameMockDefault
View Source
var PCIClassGetSubsystemVendorNameMockedCallback = PCIClassGetSubsystemVendorNameMockDefault
View Source
var PCIClassGetUUIDMockedCallback = PCIClassGetUUIDMockDefault
View Source
var PCIClassGetVendorNameMockedCallback = PCIClassGetVendorNameMockDefault
View Source
var PCIClassRemoveFromOtherConfigMockedCallback = PCIClassRemoveFromOtherConfigMockDefault
View Source
var PCIClassSetOtherConfigMockedCallback = PCIClassSetOtherConfigMockDefault
View Source
var PGPUClassAddEnabledVGPUTypesMockedCallback = PGPUClassAddEnabledVGPUTypesMockDefault
View Source
var PGPUClassAddToOtherConfigMockedCallback = PGPUClassAddToOtherConfigMockDefault
View Source
var PGPUClassDisableDom0AccessMockedCallback = PGPUClassDisableDom0AccessMockDefault
View Source
var PGPUClassEnableDom0AccessMockedCallback = PGPUClassEnableDom0AccessMockDefault
View Source
var PGPUClassGetAllMockedCallback = PGPUClassGetAllMockDefault
View Source
var PGPUClassGetAllRecordsMockedCallback = PGPUClassGetAllRecordsMockDefault
View Source
var PGPUClassGetByUUIDMockedCallback = PGPUClassGetByUUIDMockDefault
View Source
var PGPUClassGetCompatibilityMetadataMockedCallback = PGPUClassGetCompatibilityMetadataMockDefault
View Source
var PGPUClassGetDom0AccessMockedCallback = PGPUClassGetDom0AccessMockDefault
View Source
var PGPUClassGetEnabledVGPUTypesMockedCallback = PGPUClassGetEnabledVGPUTypesMockDefault
View Source
var PGPUClassGetGPUGroupMockedCallback = PGPUClassGetGPUGroupMockDefault
View Source
var PGPUClassGetHostMockedCallback = PGPUClassGetHostMockDefault
View Source
var PGPUClassGetIsSystemDisplayDeviceMockedCallback = PGPUClassGetIsSystemDisplayDeviceMockDefault
View Source
var PGPUClassGetOtherConfigMockedCallback = PGPUClassGetOtherConfigMockDefault
View Source
var PGPUClassGetPCIMockedCallback = PGPUClassGetPCIMockDefault
View Source
var PGPUClassGetRecordMockedCallback = PGPUClassGetRecordMockDefault
View Source
var PGPUClassGetRemainingCapacityMockedCallback = PGPUClassGetRemainingCapacityMockDefault
View Source
var PGPUClassGetResidentVGPUsMockedCallback = PGPUClassGetResidentVGPUsMockDefault
View Source
var PGPUClassGetSupportedVGPUMaxCapacitiesMockedCallback = PGPUClassGetSupportedVGPUMaxCapacitiesMockDefault
View Source
var PGPUClassGetSupportedVGPUTypesMockedCallback = PGPUClassGetSupportedVGPUTypesMockDefault
View Source
var PGPUClassGetUUIDMockedCallback = PGPUClassGetUUIDMockDefault
View Source
var PGPUClassRemoveEnabledVGPUTypesMockedCallback = PGPUClassRemoveEnabledVGPUTypesMockDefault
View Source
var PGPUClassRemoveFromOtherConfigMockedCallback = PGPUClassRemoveFromOtherConfigMockDefault
View Source
var PGPUClassSetEnabledVGPUTypesMockedCallback = PGPUClassSetEnabledVGPUTypesMockDefault
View Source
var PGPUClassSetGPUGroupMockedCallback = PGPUClassSetGPUGroupMockDefault
View Source
var PGPUClassSetOtherConfigMockedCallback = PGPUClassSetOtherConfigMockDefault
View Source
var PIFClassAddToOtherConfigMockedCallback = PIFClassAddToOtherConfigMockDefault
View Source
var PIFClassCreateVLANMockedCallback = PIFClassCreateVLANMockDefault
View Source
var PIFClassDbForgetMockedCallback = PIFClassDbForgetMockDefault
View Source
var PIFClassDbIntroduceMockedCallback = PIFClassDbIntroduceMockDefault
View Source
var PIFClassDestroyMockedCallback = PIFClassDestroyMockDefault
View Source
var PIFClassForgetMockedCallback = PIFClassForgetMockDefault
View Source
var PIFClassGetAllMockedCallback = PIFClassGetAllMockDefault
View Source
var PIFClassGetAllRecordsMockedCallback = PIFClassGetAllRecordsMockDefault
View Source
var PIFClassGetBondMasterOfMockedCallback = PIFClassGetBondMasterOfMockDefault
View Source
var PIFClassGetBondSlaveOfMockedCallback = PIFClassGetBondSlaveOfMockDefault
View Source
var PIFClassGetByUUIDMockedCallback = PIFClassGetByUUIDMockDefault
View Source
var PIFClassGetCapabilitiesMockedCallback = PIFClassGetCapabilitiesMockDefault
View Source
var PIFClassGetCurrentlyAttachedMockedCallback = PIFClassGetCurrentlyAttachedMockDefault
View Source
var PIFClassGetDNSMockedCallback = PIFClassGetDNSMockDefault
View Source
var PIFClassGetDeviceMockedCallback = PIFClassGetDeviceMockDefault
View Source
var PIFClassGetDisallowUnplugMockedCallback = PIFClassGetDisallowUnplugMockDefault
View Source
var PIFClassGetGatewayMockedCallback = PIFClassGetGatewayMockDefault
View Source
var PIFClassGetHostMockedCallback = PIFClassGetHostMockDefault
View Source
var PIFClassGetIPConfigurationModeMockedCallback = PIFClassGetIPConfigurationModeMockDefault
View Source
var PIFClassGetIPMockedCallback = PIFClassGetIPMockDefault
View Source
var PIFClassGetIPv6MockedCallback = PIFClassGetIPv6MockDefault
View Source
var PIFClassGetIgmpSnoopingStatusMockedCallback = PIFClassGetIgmpSnoopingStatusMockDefault
View Source
var PIFClassGetIpv6ConfigurationModeMockedCallback = PIFClassGetIpv6ConfigurationModeMockDefault
View Source
var PIFClassGetIpv6GatewayMockedCallback = PIFClassGetIpv6GatewayMockDefault
View Source
var PIFClassGetMACMockedCallback = PIFClassGetMACMockDefault
View Source
var PIFClassGetMTUMockedCallback = PIFClassGetMTUMockDefault
View Source
var PIFClassGetManagedMockedCallback = PIFClassGetManagedMockDefault
View Source
var PIFClassGetManagementMockedCallback = PIFClassGetManagementMockDefault
View Source
var PIFClassGetMetricsMockedCallback = PIFClassGetMetricsMockDefault
View Source
var PIFClassGetNetmaskMockedCallback = PIFClassGetNetmaskMockDefault
View Source
var PIFClassGetNetworkMockedCallback = PIFClassGetNetworkMockDefault
View Source
var PIFClassGetOtherConfigMockedCallback = PIFClassGetOtherConfigMockDefault
View Source
var PIFClassGetPhysicalMockedCallback = PIFClassGetPhysicalMockDefault
View Source
var PIFClassGetPrimaryAddressTypeMockedCallback = PIFClassGetPrimaryAddressTypeMockDefault
View Source
var PIFClassGetPropertiesMockedCallback = PIFClassGetPropertiesMockDefault
View Source
var PIFClassGetRecordMockedCallback = PIFClassGetRecordMockDefault
View Source
var PIFClassGetTunnelAccessPIFOfMockedCallback = PIFClassGetTunnelAccessPIFOfMockDefault
View Source
var PIFClassGetTunnelTransportPIFOfMockedCallback = PIFClassGetTunnelTransportPIFOfMockDefault
View Source
var PIFClassGetUUIDMockedCallback = PIFClassGetUUIDMockDefault
View Source
var PIFClassGetVLANMasterOfMockedCallback = PIFClassGetVLANMasterOfMockDefault
View Source
var PIFClassGetVLANMockedCallback = PIFClassGetVLANMockDefault
View Source
var PIFClassGetVLANSlaveOfMockedCallback = PIFClassGetVLANSlaveOfMockDefault
View Source
var PIFClassIntroduceMockedCallback = PIFClassIntroduceMockDefault
View Source
var PIFClassPlugMockedCallback = PIFClassPlugMockDefault
View Source
var PIFClassReconfigureIPMockedCallback = PIFClassReconfigureIPMockDefault
View Source
var PIFClassReconfigureIpv6MockedCallback = PIFClassReconfigureIpv6MockDefault
View Source
var PIFClassRemoveFromOtherConfigMockedCallback = PIFClassRemoveFromOtherConfigMockDefault
View Source
var PIFClassScanMockedCallback = PIFClassScanMockDefault
View Source
var PIFClassSetDisallowUnplugMockedCallback = PIFClassSetDisallowUnplugMockDefault
View Source
var PIFClassSetOtherConfigMockedCallback = PIFClassSetOtherConfigMockDefault
View Source
var PIFClassSetPrimaryAddressTypeMockedCallback = PIFClassSetPrimaryAddressTypeMockDefault
View Source
var PIFClassSetPropertyMockedCallback = PIFClassSetPropertyMockDefault
View Source
var PIFClassUnplugMockedCallback = PIFClassUnplugMockDefault
View Source
var PIFMetricsClassAddToOtherConfigMockedCallback = PIFMetricsClassAddToOtherConfigMockDefault
View Source
var PIFMetricsClassGetAllMockedCallback = PIFMetricsClassGetAllMockDefault
View Source
var PIFMetricsClassGetAllRecordsMockedCallback = PIFMetricsClassGetAllRecordsMockDefault
View Source
var PIFMetricsClassGetByUUIDMockedCallback = PIFMetricsClassGetByUUIDMockDefault
View Source
var PIFMetricsClassGetCarrierMockedCallback = PIFMetricsClassGetCarrierMockDefault
View Source
var PIFMetricsClassGetDeviceIDMockedCallback = PIFMetricsClassGetDeviceIDMockDefault
View Source
var PIFMetricsClassGetDeviceNameMockedCallback = PIFMetricsClassGetDeviceNameMockDefault
View Source
var PIFMetricsClassGetDuplexMockedCallback = PIFMetricsClassGetDuplexMockDefault
View Source
var PIFMetricsClassGetIoReadKbsMockedCallback = PIFMetricsClassGetIoReadKbsMockDefault
View Source
var PIFMetricsClassGetIoWriteKbsMockedCallback = PIFMetricsClassGetIoWriteKbsMockDefault
View Source
var PIFMetricsClassGetLastUpdatedMockedCallback = PIFMetricsClassGetLastUpdatedMockDefault
View Source
var PIFMetricsClassGetOtherConfigMockedCallback = PIFMetricsClassGetOtherConfigMockDefault
View Source
var PIFMetricsClassGetPciBusPathMockedCallback = PIFMetricsClassGetPciBusPathMockDefault
View Source
var PIFMetricsClassGetRecordMockedCallback = PIFMetricsClassGetRecordMockDefault
View Source
var PIFMetricsClassGetSpeedMockedCallback = PIFMetricsClassGetSpeedMockDefault
View Source
var PIFMetricsClassGetUUIDMockedCallback = PIFMetricsClassGetUUIDMockDefault
View Source
var PIFMetricsClassGetVendorIDMockedCallback = PIFMetricsClassGetVendorIDMockDefault
View Source
var PIFMetricsClassGetVendorNameMockedCallback = PIFMetricsClassGetVendorNameMockDefault
View Source
var PIFMetricsClassRemoveFromOtherConfigMockedCallback = PIFMetricsClassRemoveFromOtherConfigMockDefault
View Source
var PIFMetricsClassSetOtherConfigMockedCallback = PIFMetricsClassSetOtherConfigMockDefault
View Source
var PUSBClassAddToOtherConfigMockedCallback = PUSBClassAddToOtherConfigMockDefault
View Source
var PUSBClassGetAllMockedCallback = PUSBClassGetAllMockDefault
View Source
var PUSBClassGetAllRecordsMockedCallback = PUSBClassGetAllRecordsMockDefault
View Source
var PUSBClassGetByUUIDMockedCallback = PUSBClassGetByUUIDMockDefault
View Source
var PUSBClassGetDescriptionMockedCallback = PUSBClassGetDescriptionMockDefault
View Source
var PUSBClassGetHostMockedCallback = PUSBClassGetHostMockDefault
View Source
var PUSBClassGetOtherConfigMockedCallback = PUSBClassGetOtherConfigMockDefault
View Source
var PUSBClassGetPassthroughEnabledMockedCallback = PUSBClassGetPassthroughEnabledMockDefault
View Source
var PUSBClassGetPathMockedCallback = PUSBClassGetPathMockDefault
View Source
var PUSBClassGetProductDescMockedCallback = PUSBClassGetProductDescMockDefault
View Source
var PUSBClassGetProductIDMockedCallback = PUSBClassGetProductIDMockDefault
View Source
var PUSBClassGetRecordMockedCallback = PUSBClassGetRecordMockDefault
View Source
var PUSBClassGetSerialMockedCallback = PUSBClassGetSerialMockDefault
View Source
var PUSBClassGetUSBGroupMockedCallback = PUSBClassGetUSBGroupMockDefault
View Source
var PUSBClassGetUUIDMockedCallback = PUSBClassGetUUIDMockDefault
View Source
var PUSBClassGetVendorDescMockedCallback = PUSBClassGetVendorDescMockDefault
View Source
var PUSBClassGetVendorIDMockedCallback = PUSBClassGetVendorIDMockDefault
View Source
var PUSBClassGetVersionMockedCallback = PUSBClassGetVersionMockDefault
View Source
var PUSBClassRemoveFromOtherConfigMockedCallback = PUSBClassRemoveFromOtherConfigMockDefault
View Source
var PUSBClassScanMockedCallback = PUSBClassScanMockDefault
View Source
var PUSBClassSetOtherConfigMockedCallback = PUSBClassSetOtherConfigMockDefault
View Source
var PUSBClassSetPassthroughEnabledMockedCallback = PUSBClassSetPassthroughEnabledMockDefault
View Source
var PVSCacheStorageClassCreateMockedCallback = PVSCacheStorageClassCreateMockDefault
View Source
var PVSCacheStorageClassDestroyMockedCallback = PVSCacheStorageClassDestroyMockDefault
View Source
var PVSCacheStorageClassGetAllMockedCallback = PVSCacheStorageClassGetAllMockDefault
View Source
var PVSCacheStorageClassGetAllRecordsMockedCallback = PVSCacheStorageClassGetAllRecordsMockDefault
View Source
var PVSCacheStorageClassGetByUUIDMockedCallback = PVSCacheStorageClassGetByUUIDMockDefault
View Source
var PVSCacheStorageClassGetHostMockedCallback = PVSCacheStorageClassGetHostMockDefault
View Source
var PVSCacheStorageClassGetRecordMockedCallback = PVSCacheStorageClassGetRecordMockDefault
View Source
var PVSCacheStorageClassGetSRMockedCallback = PVSCacheStorageClassGetSRMockDefault
View Source
var PVSCacheStorageClassGetSiteMockedCallback = PVSCacheStorageClassGetSiteMockDefault
View Source
var PVSCacheStorageClassGetSizeMockedCallback = PVSCacheStorageClassGetSizeMockDefault
View Source
var PVSCacheStorageClassGetUUIDMockedCallback = PVSCacheStorageClassGetUUIDMockDefault
View Source
var PVSCacheStorageClassGetVDIMockedCallback = PVSCacheStorageClassGetVDIMockDefault
View Source
var PVSProxyClassCreateMockedCallback = PVSProxyClassCreateMockDefault
View Source
var PVSProxyClassDestroyMockedCallback = PVSProxyClassDestroyMockDefault
View Source
var PVSProxyClassGetAllMockedCallback = PVSProxyClassGetAllMockDefault
View Source
var PVSProxyClassGetAllRecordsMockedCallback = PVSProxyClassGetAllRecordsMockDefault
View Source
var PVSProxyClassGetByUUIDMockedCallback = PVSProxyClassGetByUUIDMockDefault
View Source
var PVSProxyClassGetCurrentlyAttachedMockedCallback = PVSProxyClassGetCurrentlyAttachedMockDefault
View Source
var PVSProxyClassGetRecordMockedCallback = PVSProxyClassGetRecordMockDefault
View Source
var PVSProxyClassGetSiteMockedCallback = PVSProxyClassGetSiteMockDefault
View Source
var PVSProxyClassGetStatusMockedCallback = PVSProxyClassGetStatusMockDefault
View Source
var PVSProxyClassGetUUIDMockedCallback = PVSProxyClassGetUUIDMockDefault
View Source
var PVSProxyClassGetVIFMockedCallback = PVSProxyClassGetVIFMockDefault
View Source
var PVSServerClassForgetMockedCallback = PVSServerClassForgetMockDefault
View Source
var PVSServerClassGetAddressesMockedCallback = PVSServerClassGetAddressesMockDefault
View Source
var PVSServerClassGetAllMockedCallback = PVSServerClassGetAllMockDefault
View Source
var PVSServerClassGetAllRecordsMockedCallback = PVSServerClassGetAllRecordsMockDefault
View Source
var PVSServerClassGetByUUIDMockedCallback = PVSServerClassGetByUUIDMockDefault
View Source
var PVSServerClassGetFirstPortMockedCallback = PVSServerClassGetFirstPortMockDefault
View Source
var PVSServerClassGetLastPortMockedCallback = PVSServerClassGetLastPortMockDefault
View Source
var PVSServerClassGetRecordMockedCallback = PVSServerClassGetRecordMockDefault
View Source
var PVSServerClassGetSiteMockedCallback = PVSServerClassGetSiteMockDefault
View Source
var PVSServerClassGetUUIDMockedCallback = PVSServerClassGetUUIDMockDefault
View Source
var PVSServerClassIntroduceMockedCallback = PVSServerClassIntroduceMockDefault
View Source
var PVSSiteClassForgetMockedCallback = PVSSiteClassForgetMockDefault
View Source
var PVSSiteClassGetAllMockedCallback = PVSSiteClassGetAllMockDefault
View Source
var PVSSiteClassGetAllRecordsMockedCallback = PVSSiteClassGetAllRecordsMockDefault
View Source
var PVSSiteClassGetByNameLabelMockedCallback = PVSSiteClassGetByNameLabelMockDefault
View Source
var PVSSiteClassGetByUUIDMockedCallback = PVSSiteClassGetByUUIDMockDefault
View Source
var PVSSiteClassGetCacheStorageMockedCallback = PVSSiteClassGetCacheStorageMockDefault
View Source
var PVSSiteClassGetNameDescriptionMockedCallback = PVSSiteClassGetNameDescriptionMockDefault
View Source
var PVSSiteClassGetNameLabelMockedCallback = PVSSiteClassGetNameLabelMockDefault
View Source
var PVSSiteClassGetPVSUUIDMockedCallback = PVSSiteClassGetPVSUUIDMockDefault
View Source
var PVSSiteClassGetProxiesMockedCallback = PVSSiteClassGetProxiesMockDefault
View Source
var PVSSiteClassGetRecordMockedCallback = PVSSiteClassGetRecordMockDefault
View Source
var PVSSiteClassGetServersMockedCallback = PVSSiteClassGetServersMockDefault
View Source
var PVSSiteClassGetUUIDMockedCallback = PVSSiteClassGetUUIDMockDefault
View Source
var PVSSiteClassIntroduceMockedCallback = PVSSiteClassIntroduceMockDefault
View Source
var PVSSiteClassSetNameDescriptionMockedCallback = PVSSiteClassSetNameDescriptionMockDefault
View Source
var PVSSiteClassSetNameLabelMockedCallback = PVSSiteClassSetNameLabelMockDefault
View Source
var PVSSiteClassSetPVSUUIDMockedCallback = PVSSiteClassSetPVSUUIDMockDefault
View Source
var PoolClassAddTagsMockedCallback = PoolClassAddTagsMockDefault
View Source
var PoolClassAddToGuestAgentConfigMockedCallback = PoolClassAddToGuestAgentConfigMockDefault
View Source
var PoolClassAddToGuiConfigMockedCallback = PoolClassAddToGuiConfigMockDefault
View Source
var PoolClassAddToHealthCheckConfigMockedCallback = PoolClassAddToHealthCheckConfigMockDefault
View Source
var PoolClassAddToOtherConfigMockedCallback = PoolClassAddToOtherConfigMockDefault
View Source
var PoolClassApplyEditionMockedCallback = PoolClassApplyEditionMockDefault
View Source
var PoolClassCertificateInstallMockedCallback = PoolClassCertificateInstallMockDefault
View Source
var PoolClassCertificateListMockedCallback = PoolClassCertificateListMockDefault
View Source
var PoolClassCertificateSyncMockedCallback = PoolClassCertificateSyncMockDefault
View Source
var PoolClassCertificateUninstallMockedCallback = PoolClassCertificateUninstallMockDefault
View Source
var PoolClassCreateNewBlobMockedCallback = PoolClassCreateNewBlobMockDefault
View Source
var PoolClassCreateVLANFromPIFMockedCallback = PoolClassCreateVLANFromPIFMockDefault
View Source
var PoolClassCreateVLANMockedCallback = PoolClassCreateVLANMockDefault
View Source
var PoolClassCrlInstallMockedCallback = PoolClassCrlInstallMockDefault
View Source
var PoolClassCrlListMockedCallback = PoolClassCrlListMockDefault
View Source
var PoolClassCrlUninstallMockedCallback = PoolClassCrlUninstallMockDefault
View Source
var PoolClassDeconfigureWlbMockedCallback = PoolClassDeconfigureWlbMockDefault
View Source
var PoolClassDesignateNewMasterMockedCallback = PoolClassDesignateNewMasterMockDefault
View Source
var PoolClassDetectNonhomogeneousExternalAuthMockedCallback = PoolClassDetectNonhomogeneousExternalAuthMockDefault
View Source
var PoolClassDisableExternalAuthMockedCallback = PoolClassDisableExternalAuthMockDefault
View Source
var PoolClassDisableHaMockedCallback = PoolClassDisableHaMockDefault
View Source
var PoolClassDisableLocalStorageCachingMockedCallback = PoolClassDisableLocalStorageCachingMockDefault
View Source
var PoolClassDisableRedoLogMockedCallback = PoolClassDisableRedoLogMockDefault
View Source
var PoolClassDisableSslLegacyMockedCallback = PoolClassDisableSslLegacyMockDefault
View Source
var PoolClassEjectMockedCallback = PoolClassEjectMockDefault
View Source
var PoolClassEmergencyResetMasterMockedCallback = PoolClassEmergencyResetMasterMockDefault
View Source
var PoolClassEmergencyTransitionToMasterMockedCallback = PoolClassEmergencyTransitionToMasterMockDefault
View Source
var PoolClassEnableExternalAuthMockedCallback = PoolClassEnableExternalAuthMockDefault
View Source
var PoolClassEnableHaMockedCallback = PoolClassEnableHaMockDefault
View Source
var PoolClassEnableLocalStorageCachingMockedCallback = PoolClassEnableLocalStorageCachingMockDefault
View Source
var PoolClassEnableRedoLogMockedCallback = PoolClassEnableRedoLogMockDefault
View Source
var PoolClassEnableSslLegacyMockedCallback = PoolClassEnableSslLegacyMockDefault
View Source
var PoolClassGetAllMockedCallback = PoolClassGetAllMockDefault
View Source
var PoolClassGetAllRecordsMockedCallback = PoolClassGetAllRecordsMockDefault
View Source
var PoolClassGetAllowedOperationsMockedCallback = PoolClassGetAllowedOperationsMockDefault
View Source
var PoolClassGetBlobsMockedCallback = PoolClassGetBlobsMockDefault
View Source
var PoolClassGetByUUIDMockedCallback = PoolClassGetByUUIDMockDefault
View Source
var PoolClassGetCPUInfoMockedCallback = PoolClassGetCPUInfoMockDefault
View Source
var PoolClassGetCrashDumpSRMockedCallback = PoolClassGetCrashDumpSRMockDefault
View Source
var PoolClassGetCurrentOperationsMockedCallback = PoolClassGetCurrentOperationsMockDefault
View Source
var PoolClassGetDefaultSRMockedCallback = PoolClassGetDefaultSRMockDefault
View Source
var PoolClassGetGuestAgentConfigMockedCallback = PoolClassGetGuestAgentConfigMockDefault
View Source
var PoolClassGetGuiConfigMockedCallback = PoolClassGetGuiConfigMockDefault
View Source
var PoolClassGetHaAllowOvercommitMockedCallback = PoolClassGetHaAllowOvercommitMockDefault
View Source
var PoolClassGetHaClusterStackMockedCallback = PoolClassGetHaClusterStackMockDefault
View Source
var PoolClassGetHaConfigurationMockedCallback = PoolClassGetHaConfigurationMockDefault
View Source
var PoolClassGetHaEnabledMockedCallback = PoolClassGetHaEnabledMockDefault
View Source
var PoolClassGetHaHostFailuresToTolerateMockedCallback = PoolClassGetHaHostFailuresToTolerateMockDefault
View Source
var PoolClassGetHaOvercommittedMockedCallback = PoolClassGetHaOvercommittedMockDefault
View Source
var PoolClassGetHaPlanExistsForMockedCallback = PoolClassGetHaPlanExistsForMockDefault
View Source
var PoolClassGetHaStatefilesMockedCallback = PoolClassGetHaStatefilesMockDefault
View Source
var PoolClassGetHealthCheckConfigMockedCallback = PoolClassGetHealthCheckConfigMockDefault
View Source
var PoolClassGetIgmpSnoopingEnabledMockedCallback = PoolClassGetIgmpSnoopingEnabledMockDefault
View Source
var PoolClassGetLicenseStateMockedCallback = PoolClassGetLicenseStateMockDefault
View Source
var PoolClassGetLivePatchingDisabledMockedCallback = PoolClassGetLivePatchingDisabledMockDefault
View Source
var PoolClassGetMasterMockedCallback = PoolClassGetMasterMockDefault
View Source
var PoolClassGetMetadataVDIsMockedCallback = PoolClassGetMetadataVDIsMockDefault
View Source
var PoolClassGetNameDescriptionMockedCallback = PoolClassGetNameDescriptionMockDefault
View Source
var PoolClassGetNameLabelMockedCallback = PoolClassGetNameLabelMockDefault
View Source
var PoolClassGetOtherConfigMockedCallback = PoolClassGetOtherConfigMockDefault
View Source
var PoolClassGetPolicyNoVendorDeviceMockedCallback = PoolClassGetPolicyNoVendorDeviceMockDefault
View Source
var PoolClassGetRecordMockedCallback = PoolClassGetRecordMockDefault
View Source
var PoolClassGetRedoLogEnabledMockedCallback = PoolClassGetRedoLogEnabledMockDefault
View Source
var PoolClassGetRedoLogVdiMockedCallback = PoolClassGetRedoLogVdiMockDefault
View Source
var PoolClassGetRestrictionsMockedCallback = PoolClassGetRestrictionsMockDefault
View Source
var PoolClassGetSuspendImageSRMockedCallback = PoolClassGetSuspendImageSRMockDefault
View Source
var PoolClassGetTagsMockedCallback = PoolClassGetTagsMockDefault
View Source
var PoolClassGetUUIDMockedCallback = PoolClassGetUUIDMockDefault
View Source
var PoolClassGetVswitchControllerMockedCallback = PoolClassGetVswitchControllerMockDefault
View Source
var PoolClassGetWlbEnabledMockedCallback = PoolClassGetWlbEnabledMockDefault
View Source
var PoolClassGetWlbURLMockedCallback = PoolClassGetWlbURLMockDefault
View Source
var PoolClassGetWlbUsernameMockedCallback = PoolClassGetWlbUsernameMockDefault
View Source
var PoolClassGetWlbVerifyCertMockedCallback = PoolClassGetWlbVerifyCertMockDefault
View Source
var PoolClassHaComputeHypotheticalMaxHostFailuresToTolerateMockedCallback = PoolClassHaComputeHypotheticalMaxHostFailuresToTolerateMockDefault
View Source
var PoolClassHaComputeMaxHostFailuresToTolerateMockedCallback = PoolClassHaComputeMaxHostFailuresToTolerateMockDefault
View Source
var PoolClassHaComputeVMFailoverPlanMockedCallback = PoolClassHaComputeVMFailoverPlanMockDefault
View Source
var PoolClassHaFailoverPlanExistsMockedCallback = PoolClassHaFailoverPlanExistsMockDefault
View Source
var PoolClassHaPreventRestartsForMockedCallback = PoolClassHaPreventRestartsForMockDefault
View Source
var PoolClassHasExtensionMockedCallback = PoolClassHasExtensionMockDefault
View Source
var PoolClassInitializeWlbMockedCallback = PoolClassInitializeWlbMockDefault
View Source
var PoolClassJoinForceMockedCallback = PoolClassJoinForceMockDefault
View Source
var PoolClassJoinMockedCallback = PoolClassJoinMockDefault
View Source
var PoolClassManagementReconfigureMockedCallback = PoolClassManagementReconfigureMockDefault
View Source
var PoolClassRecoverSlavesMockedCallback = PoolClassRecoverSlavesMockDefault
View Source
var PoolClassRemoveFromGuestAgentConfigMockedCallback = PoolClassRemoveFromGuestAgentConfigMockDefault
View Source
var PoolClassRemoveFromGuiConfigMockedCallback = PoolClassRemoveFromGuiConfigMockDefault
View Source
var PoolClassRemoveFromHealthCheckConfigMockedCallback = PoolClassRemoveFromHealthCheckConfigMockDefault
View Source
var PoolClassRemoveFromOtherConfigMockedCallback = PoolClassRemoveFromOtherConfigMockDefault
View Source
var PoolClassRemoveTagsMockedCallback = PoolClassRemoveTagsMockDefault
View Source
var PoolClassRetrieveWlbConfigurationMockedCallback = PoolClassRetrieveWlbConfigurationMockDefault
View Source
var PoolClassRetrieveWlbRecommendationsMockedCallback = PoolClassRetrieveWlbRecommendationsMockDefault
View Source
var PoolClassSendTestPostMockedCallback = PoolClassSendTestPostMockDefault
View Source
var PoolClassSendWlbConfigurationMockedCallback = PoolClassSendWlbConfigurationMockDefault
View Source
var PoolClassSetCrashDumpSRMockedCallback = PoolClassSetCrashDumpSRMockDefault
View Source
var PoolClassSetDefaultSRMockedCallback = PoolClassSetDefaultSRMockDefault
View Source
var PoolClassSetGuiConfigMockedCallback = PoolClassSetGuiConfigMockDefault
View Source
var PoolClassSetHaAllowOvercommitMockedCallback = PoolClassSetHaAllowOvercommitMockDefault
View Source
var PoolClassSetHaHostFailuresToTolerateMockedCallback = PoolClassSetHaHostFailuresToTolerateMockDefault
View Source
var PoolClassSetHealthCheckConfigMockedCallback = PoolClassSetHealthCheckConfigMockDefault
View Source
var PoolClassSetIgmpSnoopingEnabledMockedCallback = PoolClassSetIgmpSnoopingEnabledMockDefault
View Source
var PoolClassSetLivePatchingDisabledMockedCallback = PoolClassSetLivePatchingDisabledMockDefault
View Source
var PoolClassSetNameDescriptionMockedCallback = PoolClassSetNameDescriptionMockDefault
View Source
var PoolClassSetNameLabelMockedCallback = PoolClassSetNameLabelMockDefault
View Source
var PoolClassSetOtherConfigMockedCallback = PoolClassSetOtherConfigMockDefault
View Source
var PoolClassSetPolicyNoVendorDeviceMockedCallback = PoolClassSetPolicyNoVendorDeviceMockDefault
View Source
var PoolClassSetSuspendImageSRMockedCallback = PoolClassSetSuspendImageSRMockDefault
View Source
var PoolClassSetTagsMockedCallback = PoolClassSetTagsMockDefault
View Source
var PoolClassSetVswitchControllerMockedCallback = PoolClassSetVswitchControllerMockDefault
View Source
var PoolClassSetWlbEnabledMockedCallback = PoolClassSetWlbEnabledMockDefault
View Source
var PoolClassSetWlbVerifyCertMockedCallback = PoolClassSetWlbVerifyCertMockDefault
View Source
var PoolClassSyncDatabaseMockedCallback = PoolClassSyncDatabaseMockDefault
View Source
var PoolClassTestArchiveTargetMockedCallback = PoolClassTestArchiveTargetMockDefault
View Source
var PoolPatchClassAddToOtherConfigMockedCallback = PoolPatchClassAddToOtherConfigMockDefault
View Source
var PoolPatchClassApplyMockedCallback = PoolPatchClassApplyMockDefault
View Source
var PoolPatchClassCleanMockedCallback = PoolPatchClassCleanMockDefault
View Source
var PoolPatchClassCleanOnHostMockedCallback = PoolPatchClassCleanOnHostMockDefault
View Source
var PoolPatchClassDestroyMockedCallback = PoolPatchClassDestroyMockDefault
View Source
var PoolPatchClassGetAfterApplyGuidanceMockedCallback = PoolPatchClassGetAfterApplyGuidanceMockDefault
View Source
var PoolPatchClassGetAllMockedCallback = PoolPatchClassGetAllMockDefault
View Source
var PoolPatchClassGetAllRecordsMockedCallback = PoolPatchClassGetAllRecordsMockDefault
View Source
var PoolPatchClassGetByNameLabelMockedCallback = PoolPatchClassGetByNameLabelMockDefault
View Source
var PoolPatchClassGetByUUIDMockedCallback = PoolPatchClassGetByUUIDMockDefault
View Source
var PoolPatchClassGetHostPatchesMockedCallback = PoolPatchClassGetHostPatchesMockDefault
View Source
var PoolPatchClassGetNameDescriptionMockedCallback = PoolPatchClassGetNameDescriptionMockDefault
View Source
var PoolPatchClassGetNameLabelMockedCallback = PoolPatchClassGetNameLabelMockDefault
View Source
var PoolPatchClassGetOtherConfigMockedCallback = PoolPatchClassGetOtherConfigMockDefault
View Source
var PoolPatchClassGetPoolAppliedMockedCallback = PoolPatchClassGetPoolAppliedMockDefault
View Source
var PoolPatchClassGetPoolUpdateMockedCallback = PoolPatchClassGetPoolUpdateMockDefault
View Source
var PoolPatchClassGetRecordMockedCallback = PoolPatchClassGetRecordMockDefault
View Source
var PoolPatchClassGetSizeMockedCallback = PoolPatchClassGetSizeMockDefault
View Source
var PoolPatchClassGetUUIDMockedCallback = PoolPatchClassGetUUIDMockDefault
View Source
var PoolPatchClassGetVersionMockedCallback = PoolPatchClassGetVersionMockDefault
View Source
var PoolPatchClassPoolApplyMockedCallback = PoolPatchClassPoolApplyMockDefault
View Source
var PoolPatchClassPoolCleanMockedCallback = PoolPatchClassPoolCleanMockDefault
View Source
var PoolPatchClassPrecheckMockedCallback = PoolPatchClassPrecheckMockDefault
View Source
var PoolPatchClassRemoveFromOtherConfigMockedCallback = PoolPatchClassRemoveFromOtherConfigMockDefault
View Source
var PoolPatchClassSetOtherConfigMockedCallback = PoolPatchClassSetOtherConfigMockDefault
View Source
var PoolUpdateClassAddToOtherConfigMockedCallback = PoolUpdateClassAddToOtherConfigMockDefault
View Source
var PoolUpdateClassApplyMockedCallback = PoolUpdateClassApplyMockDefault
View Source
var PoolUpdateClassDestroyMockedCallback = PoolUpdateClassDestroyMockDefault
View Source
var PoolUpdateClassGetAfterApplyGuidanceMockedCallback = PoolUpdateClassGetAfterApplyGuidanceMockDefault
View Source
var PoolUpdateClassGetAllMockedCallback = PoolUpdateClassGetAllMockDefault
View Source
var PoolUpdateClassGetAllRecordsMockedCallback = PoolUpdateClassGetAllRecordsMockDefault
View Source
var PoolUpdateClassGetByNameLabelMockedCallback = PoolUpdateClassGetByNameLabelMockDefault
View Source
var PoolUpdateClassGetByUUIDMockedCallback = PoolUpdateClassGetByUUIDMockDefault
View Source
var PoolUpdateClassGetEnforceHomogeneityMockedCallback = PoolUpdateClassGetEnforceHomogeneityMockDefault
View Source
var PoolUpdateClassGetHostsMockedCallback = PoolUpdateClassGetHostsMockDefault
View Source
var PoolUpdateClassGetInstallationSizeMockedCallback = PoolUpdateClassGetInstallationSizeMockDefault
View Source
var PoolUpdateClassGetKeyMockedCallback = PoolUpdateClassGetKeyMockDefault
View Source
var PoolUpdateClassGetNameDescriptionMockedCallback = PoolUpdateClassGetNameDescriptionMockDefault
View Source
var PoolUpdateClassGetNameLabelMockedCallback = PoolUpdateClassGetNameLabelMockDefault
View Source
var PoolUpdateClassGetOtherConfigMockedCallback = PoolUpdateClassGetOtherConfigMockDefault
View Source
var PoolUpdateClassGetRecordMockedCallback = PoolUpdateClassGetRecordMockDefault
View Source
var PoolUpdateClassGetUUIDMockedCallback = PoolUpdateClassGetUUIDMockDefault
View Source
var PoolUpdateClassGetVdiMockedCallback = PoolUpdateClassGetVdiMockDefault
View Source
var PoolUpdateClassGetVersionMockedCallback = PoolUpdateClassGetVersionMockDefault
View Source
var PoolUpdateClassIntroduceMockedCallback = PoolUpdateClassIntroduceMockDefault
View Source
var PoolUpdateClassPoolApplyMockedCallback = PoolUpdateClassPoolApplyMockDefault
View Source
var PoolUpdateClassPoolCleanMockedCallback = PoolUpdateClassPoolCleanMockDefault
View Source
var PoolUpdateClassPrecheckMockedCallback = PoolUpdateClassPrecheckMockDefault
View Source
var PoolUpdateClassRemoveFromOtherConfigMockedCallback = PoolUpdateClassRemoveFromOtherConfigMockDefault
View Source
var PoolUpdateClassSetOtherConfigMockedCallback = PoolUpdateClassSetOtherConfigMockDefault
View Source
var RoleClassGetAllMockedCallback = RoleClassGetAllMockDefault
View Source
var RoleClassGetAllRecordsMockedCallback = RoleClassGetAllRecordsMockDefault
View Source
var RoleClassGetByNameLabelMockedCallback = RoleClassGetByNameLabelMockDefault
View Source
var RoleClassGetByPermissionMockedCallback = RoleClassGetByPermissionMockDefault
View Source
var RoleClassGetByPermissionNameLabelMockedCallback = RoleClassGetByPermissionNameLabelMockDefault
View Source
var RoleClassGetByUUIDMockedCallback = RoleClassGetByUUIDMockDefault
View Source
var RoleClassGetNameDescriptionMockedCallback = RoleClassGetNameDescriptionMockDefault
View Source
var RoleClassGetNameLabelMockedCallback = RoleClassGetNameLabelMockDefault
View Source
var RoleClassGetPermissionsMockedCallback = RoleClassGetPermissionsMockDefault
View Source
var RoleClassGetPermissionsNameLabelMockedCallback = RoleClassGetPermissionsNameLabelMockDefault
View Source
var RoleClassGetRecordMockedCallback = RoleClassGetRecordMockDefault
View Source
var RoleClassGetSubrolesMockedCallback = RoleClassGetSubrolesMockDefault
View Source
var RoleClassGetUUIDMockedCallback = RoleClassGetUUIDMockDefault
View Source
var SDNControllerClassForgetMockedCallback = SDNControllerClassForgetMockDefault
View Source
var SDNControllerClassGetAddressMockedCallback = SDNControllerClassGetAddressMockDefault
View Source
var SDNControllerClassGetAllMockedCallback = SDNControllerClassGetAllMockDefault
View Source
var SDNControllerClassGetAllRecordsMockedCallback = SDNControllerClassGetAllRecordsMockDefault
View Source
var SDNControllerClassGetByUUIDMockedCallback = SDNControllerClassGetByUUIDMockDefault
View Source
var SDNControllerClassGetPortMockedCallback = SDNControllerClassGetPortMockDefault
View Source
var SDNControllerClassGetProtocolMockedCallback = SDNControllerClassGetProtocolMockDefault
View Source
var SDNControllerClassGetRecordMockedCallback = SDNControllerClassGetRecordMockDefault
View Source
var SDNControllerClassGetUUIDMockedCallback = SDNControllerClassGetUUIDMockDefault
View Source
var SDNControllerClassIntroduceMockedCallback = SDNControllerClassIntroduceMockDefault
View Source
var SMClassAddToOtherConfigMockedCallback = SMClassAddToOtherConfigMockDefault
View Source
var SMClassGetAllMockedCallback = SMClassGetAllMockDefault
View Source
var SMClassGetAllRecordsMockedCallback = SMClassGetAllRecordsMockDefault
View Source
var SMClassGetByNameLabelMockedCallback = SMClassGetByNameLabelMockDefault
View Source
var SMClassGetByUUIDMockedCallback = SMClassGetByUUIDMockDefault
View Source
var SMClassGetCapabilitiesMockedCallback = SMClassGetCapabilitiesMockDefault
View Source
var SMClassGetConfigurationMockedCallback = SMClassGetConfigurationMockDefault
View Source
var SMClassGetCopyrightMockedCallback = SMClassGetCopyrightMockDefault
View Source
var SMClassGetDriverFilenameMockedCallback = SMClassGetDriverFilenameMockDefault
View Source
var SMClassGetFeaturesMockedCallback = SMClassGetFeaturesMockDefault
View Source
var SMClassGetNameDescriptionMockedCallback = SMClassGetNameDescriptionMockDefault
View Source
var SMClassGetNameLabelMockedCallback = SMClassGetNameLabelMockDefault
View Source
var SMClassGetOtherConfigMockedCallback = SMClassGetOtherConfigMockDefault
View Source
var SMClassGetRecordMockedCallback = SMClassGetRecordMockDefault
View Source
var SMClassGetRequiredAPIVersionMockedCallback = SMClassGetRequiredAPIVersionMockDefault
View Source
var SMClassGetRequiredClusterStackMockedCallback = SMClassGetRequiredClusterStackMockDefault
View Source
var SMClassGetTypeMockedCallback = SMClassGetTypeMockDefault
View Source
var SMClassGetUUIDMockedCallback = SMClassGetUUIDMockDefault
View Source
var SMClassGetVendorMockedCallback = SMClassGetVendorMockDefault
View Source
var SMClassGetVersionMockedCallback = SMClassGetVersionMockDefault
View Source
var SMClassRemoveFromOtherConfigMockedCallback = SMClassRemoveFromOtherConfigMockDefault
View Source
var SMClassSetOtherConfigMockedCallback = SMClassSetOtherConfigMockDefault
View Source
var SRClassAddTagsMockedCallback = SRClassAddTagsMockDefault
View Source
var SRClassAddToOtherConfigMockedCallback = SRClassAddToOtherConfigMockDefault
View Source
var SRClassAddToSmConfigMockedCallback = SRClassAddToSmConfigMockDefault
View Source
var SRClassAssertCanHostHaStatefileMockedCallback = SRClassAssertCanHostHaStatefileMockDefault
View Source
var SRClassAssertSupportsDatabaseReplicationMockedCallback = SRClassAssertSupportsDatabaseReplicationMockDefault
View Source
var SRClassCreateMockedCallback = SRClassCreateMockDefault
View Source
var SRClassCreateNewBlobMockedCallback = SRClassCreateNewBlobMockDefault
View Source
var SRClassDestroyMockedCallback = SRClassDestroyMockDefault
View Source
var SRClassDisableDatabaseReplicationMockedCallback = SRClassDisableDatabaseReplicationMockDefault
View Source
var SRClassEnableDatabaseReplicationMockedCallback = SRClassEnableDatabaseReplicationMockDefault
View Source
var SRClassForgetDataSourceArchivesMockedCallback = SRClassForgetDataSourceArchivesMockDefault
View Source
var SRClassForgetMockedCallback = SRClassForgetMockDefault
View Source
var SRClassGetAllMockedCallback = SRClassGetAllMockDefault
View Source
var SRClassGetAllRecordsMockedCallback = SRClassGetAllRecordsMockDefault
View Source
var SRClassGetAllowedOperationsMockedCallback = SRClassGetAllowedOperationsMockDefault
View Source
var SRClassGetBlobsMockedCallback = SRClassGetBlobsMockDefault
View Source
var SRClassGetByNameLabelMockedCallback = SRClassGetByNameLabelMockDefault
View Source
var SRClassGetByUUIDMockedCallback = SRClassGetByUUIDMockDefault
View Source
var SRClassGetClusteredMockedCallback = SRClassGetClusteredMockDefault
View Source
var SRClassGetContentTypeMockedCallback = SRClassGetContentTypeMockDefault
View Source
var SRClassGetCurrentOperationsMockedCallback = SRClassGetCurrentOperationsMockDefault
View Source
var SRClassGetDataSourcesMockedCallback = SRClassGetDataSourcesMockDefault
View Source
var SRClassGetIntroducedByMockedCallback = SRClassGetIntroducedByMockDefault
View Source
var SRClassGetIsToolsSrMockedCallback = SRClassGetIsToolsSrMockDefault
View Source
var SRClassGetLocalCacheEnabledMockedCallback = SRClassGetLocalCacheEnabledMockDefault
View Source
var SRClassGetNameDescriptionMockedCallback = SRClassGetNameDescriptionMockDefault
View Source
var SRClassGetNameLabelMockedCallback = SRClassGetNameLabelMockDefault
View Source
var SRClassGetOtherConfigMockedCallback = SRClassGetOtherConfigMockDefault
View Source
var SRClassGetPBDsMockedCallback = SRClassGetPBDsMockDefault
View Source
var SRClassGetPhysicalSizeMockedCallback = SRClassGetPhysicalSizeMockDefault
View Source
var SRClassGetPhysicalUtilisationMockedCallback = SRClassGetPhysicalUtilisationMockDefault
View Source
var SRClassGetRecordMockedCallback = SRClassGetRecordMockDefault
View Source
var SRClassGetSharedMockedCallback = SRClassGetSharedMockDefault
View Source
var SRClassGetSmConfigMockedCallback = SRClassGetSmConfigMockDefault
View Source
var SRClassGetSupportedTypesMockedCallback = SRClassGetSupportedTypesMockDefault
View Source
var SRClassGetTagsMockedCallback = SRClassGetTagsMockDefault
View Source
var SRClassGetTypeMockedCallback = SRClassGetTypeMockDefault
View Source
var SRClassGetUUIDMockedCallback = SRClassGetUUIDMockDefault
View Source
var SRClassGetVDIsMockedCallback = SRClassGetVDIsMockDefault
View Source
var SRClassGetVirtualAllocationMockedCallback = SRClassGetVirtualAllocationMockDefault
View Source
var SRClassIntroduceMockedCallback = SRClassIntroduceMockDefault
View Source
var SRClassMakeMockedCallback = SRClassMakeMockDefault
View Source
var SRClassProbeMockedCallback = SRClassProbeMockDefault
View Source
var SRClassQueryDataSourceMockedCallback = SRClassQueryDataSourceMockDefault
View Source
var SRClassRecordDataSourceMockedCallback = SRClassRecordDataSourceMockDefault
View Source
var SRClassRemoveFromOtherConfigMockedCallback = SRClassRemoveFromOtherConfigMockDefault
View Source
var SRClassRemoveFromSmConfigMockedCallback = SRClassRemoveFromSmConfigMockDefault
View Source
var SRClassRemoveTagsMockedCallback = SRClassRemoveTagsMockDefault
View Source
var SRClassScanMockedCallback = SRClassScanMockDefault
View Source
var SRClassSetNameDescriptionMockedCallback = SRClassSetNameDescriptionMockDefault
View Source
var SRClassSetNameLabelMockedCallback = SRClassSetNameLabelMockDefault
View Source
var SRClassSetOtherConfigMockedCallback = SRClassSetOtherConfigMockDefault
View Source
var SRClassSetPhysicalSizeMockedCallback = SRClassSetPhysicalSizeMockDefault
View Source
var SRClassSetPhysicalUtilisationMockedCallback = SRClassSetPhysicalUtilisationMockDefault
View Source
var SRClassSetSharedMockedCallback = SRClassSetSharedMockDefault
View Source
var SRClassSetSmConfigMockedCallback = SRClassSetSmConfigMockDefault
View Source
var SRClassSetTagsMockedCallback = SRClassSetTagsMockDefault
View Source
var SRClassSetVirtualAllocationMockedCallback = SRClassSetVirtualAllocationMockDefault
View Source
var SRClassUpdateMockedCallback = SRClassUpdateMockDefault
View Source
var SecretClassAddToOtherConfigMockedCallback = SecretClassAddToOtherConfigMockDefault
View Source
var SecretClassCreateMockedCallback = SecretClassCreateMockDefault
View Source
var SecretClassDestroyMockedCallback = SecretClassDestroyMockDefault
View Source
var SecretClassGetAllMockedCallback = SecretClassGetAllMockDefault
View Source
var SecretClassGetAllRecordsMockedCallback = SecretClassGetAllRecordsMockDefault
View Source
var SecretClassGetByUUIDMockedCallback = SecretClassGetByUUIDMockDefault
View Source
var SecretClassGetOtherConfigMockedCallback = SecretClassGetOtherConfigMockDefault
View Source
var SecretClassGetRecordMockedCallback = SecretClassGetRecordMockDefault
View Source
var SecretClassGetUUIDMockedCallback = SecretClassGetUUIDMockDefault
View Source
var SecretClassGetValueMockedCallback = SecretClassGetValueMockDefault
View Source
var SecretClassRemoveFromOtherConfigMockedCallback = SecretClassRemoveFromOtherConfigMockDefault
View Source
var SecretClassSetOtherConfigMockedCallback = SecretClassSetOtherConfigMockDefault
View Source
var SecretClassSetValueMockedCallback = SecretClassSetValueMockDefault
View Source
var SessionClassAddToOtherConfigMockedCallback = SessionClassAddToOtherConfigMockDefault
View Source
var SessionClassChangePasswordMockedCallback = SessionClassChangePasswordMockDefault
View Source
var SessionClassCreateFromDbFileMockedCallback = SessionClassCreateFromDbFileMockDefault
View Source
var SessionClassGetAllSubjectIdentifiersMockedCallback = SessionClassGetAllSubjectIdentifiersMockDefault
View Source
var SessionClassGetAuthUserNameMockedCallback = SessionClassGetAuthUserNameMockDefault
View Source
var SessionClassGetAuthUserSidMockedCallback = SessionClassGetAuthUserSidMockDefault
View Source
var SessionClassGetByUUIDMockedCallback = SessionClassGetByUUIDMockDefault
View Source
var SessionClassGetIsLocalSuperuserMockedCallback = SessionClassGetIsLocalSuperuserMockDefault
View Source
var SessionClassGetLastActiveMockedCallback = SessionClassGetLastActiveMockDefault
View Source
var SessionClassGetOriginatorMockedCallback = SessionClassGetOriginatorMockDefault
View Source
var SessionClassGetOtherConfigMockedCallback = SessionClassGetOtherConfigMockDefault
View Source
var SessionClassGetParentMockedCallback = SessionClassGetParentMockDefault
View Source
var SessionClassGetPoolMockedCallback = SessionClassGetPoolMockDefault
View Source
var SessionClassGetRbacPermissionsMockedCallback = SessionClassGetRbacPermissionsMockDefault
View Source
var SessionClassGetRecordMockedCallback = SessionClassGetRecordMockDefault
View Source
var SessionClassGetSubjectMockedCallback = SessionClassGetSubjectMockDefault
View Source
var SessionClassGetTasksMockedCallback = SessionClassGetTasksMockDefault
View Source
var SessionClassGetThisHostMockedCallback = SessionClassGetThisHostMockDefault
View Source
var SessionClassGetThisUserMockedCallback = SessionClassGetThisUserMockDefault
View Source
var SessionClassGetUUIDMockedCallback = SessionClassGetUUIDMockDefault
View Source
var SessionClassGetValidationTimeMockedCallback = SessionClassGetValidationTimeMockDefault
View Source
var SessionClassLocalLogoutMockedCallback = SessionClassLocalLogoutMockDefault
View Source
var SessionClassLoginWithPasswordMockedCallback = SessionClassLoginWithPasswordMockDefault
View Source
var SessionClassLogoutMockedCallback = SessionClassLogoutMockDefault
View Source
var SessionClassLogoutSubjectIdentifierMockedCallback = SessionClassLogoutSubjectIdentifierMockDefault
View Source
var SessionClassRemoveFromOtherConfigMockedCallback = SessionClassRemoveFromOtherConfigMockDefault
View Source
var SessionClassSetOtherConfigMockedCallback = SessionClassSetOtherConfigMockDefault
View Source
var SessionClassSlaveLocalLoginWithPasswordMockedCallback = SessionClassSlaveLocalLoginWithPasswordMockDefault
View Source
var SubjectClassAddToRolesMockedCallback = SubjectClassAddToRolesMockDefault
View Source
var SubjectClassCreateMockedCallback = SubjectClassCreateMockDefault
View Source
var SubjectClassDestroyMockedCallback = SubjectClassDestroyMockDefault
View Source
var SubjectClassGetAllMockedCallback = SubjectClassGetAllMockDefault
View Source
var SubjectClassGetAllRecordsMockedCallback = SubjectClassGetAllRecordsMockDefault
View Source
var SubjectClassGetByUUIDMockedCallback = SubjectClassGetByUUIDMockDefault
View Source
var SubjectClassGetOtherConfigMockedCallback = SubjectClassGetOtherConfigMockDefault
View Source
var SubjectClassGetPermissionsNameLabelMockedCallback = SubjectClassGetPermissionsNameLabelMockDefault
View Source
var SubjectClassGetRecordMockedCallback = SubjectClassGetRecordMockDefault
View Source
var SubjectClassGetRolesMockedCallback = SubjectClassGetRolesMockDefault
View Source
var SubjectClassGetSubjectIdentifierMockedCallback = SubjectClassGetSubjectIdentifierMockDefault
View Source
var SubjectClassGetUUIDMockedCallback = SubjectClassGetUUIDMockDefault
View Source
var SubjectClassRemoveFromRolesMockedCallback = SubjectClassRemoveFromRolesMockDefault
View Source
var TaskClassAddToOtherConfigMockedCallback = TaskClassAddToOtherConfigMockDefault
View Source
var TaskClassCancelMockedCallback = TaskClassCancelMockDefault
View Source
var TaskClassCreateMockedCallback = TaskClassCreateMockDefault
View Source
var TaskClassDestroyMockedCallback = TaskClassDestroyMockDefault
View Source
var TaskClassGetAllMockedCallback = TaskClassGetAllMockDefault
View Source
var TaskClassGetAllRecordsMockedCallback = TaskClassGetAllRecordsMockDefault
View Source
var TaskClassGetAllowedOperationsMockedCallback = TaskClassGetAllowedOperationsMockDefault
View Source
var TaskClassGetBacktraceMockedCallback = TaskClassGetBacktraceMockDefault
View Source
var TaskClassGetByNameLabelMockedCallback = TaskClassGetByNameLabelMockDefault
View Source
var TaskClassGetByUUIDMockedCallback = TaskClassGetByUUIDMockDefault
View Source
var TaskClassGetCreatedMockedCallback = TaskClassGetCreatedMockDefault
View Source
var TaskClassGetCurrentOperationsMockedCallback = TaskClassGetCurrentOperationsMockDefault
View Source
var TaskClassGetErrorInfoMockedCallback = TaskClassGetErrorInfoMockDefault
View Source
var TaskClassGetFinishedMockedCallback = TaskClassGetFinishedMockDefault
View Source
var TaskClassGetNameDescriptionMockedCallback = TaskClassGetNameDescriptionMockDefault
View Source
var TaskClassGetNameLabelMockedCallback = TaskClassGetNameLabelMockDefault
View Source
var TaskClassGetOtherConfigMockedCallback = TaskClassGetOtherConfigMockDefault
View Source
var TaskClassGetProgressMockedCallback = TaskClassGetProgressMockDefault
View Source
var TaskClassGetRecordMockedCallback = TaskClassGetRecordMockDefault
View Source
var TaskClassGetResidentOnMockedCallback = TaskClassGetResidentOnMockDefault
View Source
var TaskClassGetResultMockedCallback = TaskClassGetResultMockDefault
View Source
var TaskClassGetStatusMockedCallback = TaskClassGetStatusMockDefault
View Source
var TaskClassGetSubtaskOfMockedCallback = TaskClassGetSubtaskOfMockDefault
View Source
var TaskClassGetSubtasksMockedCallback = TaskClassGetSubtasksMockDefault
View Source
var TaskClassGetTypeMockedCallback = TaskClassGetTypeMockDefault
View Source
var TaskClassGetUUIDMockedCallback = TaskClassGetUUIDMockDefault
View Source
var TaskClassRemoveFromOtherConfigMockedCallback = TaskClassRemoveFromOtherConfigMockDefault
View Source
var TaskClassSetOtherConfigMockedCallback = TaskClassSetOtherConfigMockDefault
View Source
var TaskClassSetStatusMockedCallback = TaskClassSetStatusMockDefault
View Source
var TunnelClassAddToOtherConfigMockedCallback = TunnelClassAddToOtherConfigMockDefault
View Source
var TunnelClassAddToStatusMockedCallback = TunnelClassAddToStatusMockDefault
View Source
var TunnelClassCreateMockedCallback = TunnelClassCreateMockDefault
View Source
var TunnelClassDestroyMockedCallback = TunnelClassDestroyMockDefault
View Source
var TunnelClassGetAccessPIFMockedCallback = TunnelClassGetAccessPIFMockDefault
View Source
var TunnelClassGetAllMockedCallback = TunnelClassGetAllMockDefault
View Source
var TunnelClassGetAllRecordsMockedCallback = TunnelClassGetAllRecordsMockDefault
View Source
var TunnelClassGetByUUIDMockedCallback = TunnelClassGetByUUIDMockDefault
View Source
var TunnelClassGetOtherConfigMockedCallback = TunnelClassGetOtherConfigMockDefault
View Source
var TunnelClassGetRecordMockedCallback = TunnelClassGetRecordMockDefault
View Source
var TunnelClassGetStatusMockedCallback = TunnelClassGetStatusMockDefault
View Source
var TunnelClassGetTransportPIFMockedCallback = TunnelClassGetTransportPIFMockDefault
View Source
var TunnelClassGetUUIDMockedCallback = TunnelClassGetUUIDMockDefault
View Source
var TunnelClassRemoveFromOtherConfigMockedCallback = TunnelClassRemoveFromOtherConfigMockDefault
View Source
var TunnelClassRemoveFromStatusMockedCallback = TunnelClassRemoveFromStatusMockDefault
View Source
var TunnelClassSetOtherConfigMockedCallback = TunnelClassSetOtherConfigMockDefault
View Source
var TunnelClassSetStatusMockedCallback = TunnelClassSetStatusMockDefault
View Source
var USBGroupClassAddToOtherConfigMockedCallback = USBGroupClassAddToOtherConfigMockDefault
View Source
var USBGroupClassCreateMockedCallback = USBGroupClassCreateMockDefault
View Source
var USBGroupClassDestroyMockedCallback = USBGroupClassDestroyMockDefault
View Source
var USBGroupClassGetAllMockedCallback = USBGroupClassGetAllMockDefault
View Source
var USBGroupClassGetAllRecordsMockedCallback = USBGroupClassGetAllRecordsMockDefault
View Source
var USBGroupClassGetByNameLabelMockedCallback = USBGroupClassGetByNameLabelMockDefault
View Source
var USBGroupClassGetByUUIDMockedCallback = USBGroupClassGetByUUIDMockDefault
View Source
var USBGroupClassGetNameDescriptionMockedCallback = USBGroupClassGetNameDescriptionMockDefault
View Source
var USBGroupClassGetNameLabelMockedCallback = USBGroupClassGetNameLabelMockDefault
View Source
var USBGroupClassGetOtherConfigMockedCallback = USBGroupClassGetOtherConfigMockDefault
View Source
var USBGroupClassGetPUSBsMockedCallback = USBGroupClassGetPUSBsMockDefault
View Source
var USBGroupClassGetRecordMockedCallback = USBGroupClassGetRecordMockDefault
View Source
var USBGroupClassGetUUIDMockedCallback = USBGroupClassGetUUIDMockDefault
View Source
var USBGroupClassGetVUSBsMockedCallback = USBGroupClassGetVUSBsMockDefault
View Source
var USBGroupClassRemoveFromOtherConfigMockedCallback = USBGroupClassRemoveFromOtherConfigMockDefault
View Source
var USBGroupClassSetNameDescriptionMockedCallback = USBGroupClassSetNameDescriptionMockDefault
View Source
var USBGroupClassSetNameLabelMockedCallback = USBGroupClassSetNameLabelMockDefault
View Source
var USBGroupClassSetOtherConfigMockedCallback = USBGroupClassSetOtherConfigMockDefault
View Source
var UserClassAddToOtherConfigMockedCallback = UserClassAddToOtherConfigMockDefault
View Source
var UserClassCreateMockedCallback = UserClassCreateMockDefault
View Source
var UserClassDestroyMockedCallback = UserClassDestroyMockDefault
View Source
var UserClassGetByUUIDMockedCallback = UserClassGetByUUIDMockDefault
View Source
var UserClassGetFullnameMockedCallback = UserClassGetFullnameMockDefault
View Source
var UserClassGetOtherConfigMockedCallback = UserClassGetOtherConfigMockDefault
View Source
var UserClassGetRecordMockedCallback = UserClassGetRecordMockDefault
View Source
var UserClassGetShortNameMockedCallback = UserClassGetShortNameMockDefault
View Source
var UserClassGetUUIDMockedCallback = UserClassGetUUIDMockDefault
View Source
var UserClassRemoveFromOtherConfigMockedCallback = UserClassRemoveFromOtherConfigMockDefault
View Source
var UserClassSetFullnameMockedCallback = UserClassSetFullnameMockDefault
View Source
var UserClassSetOtherConfigMockedCallback = UserClassSetOtherConfigMockDefault
View Source
var VBDClassAddToOtherConfigMockedCallback = VBDClassAddToOtherConfigMockDefault
View Source
var VBDClassAddToQosAlgorithmParamsMockedCallback = VBDClassAddToQosAlgorithmParamsMockDefault
View Source
var VBDClassAssertAttachableMockedCallback = VBDClassAssertAttachableMockDefault
View Source
var VBDClassCreateMockedCallback = VBDClassCreateMockDefault
View Source
var VBDClassDestroyMockedCallback = VBDClassDestroyMockDefault
View Source
var VBDClassEjectMockedCallback = VBDClassEjectMockDefault
View Source
var VBDClassGetAllMockedCallback = VBDClassGetAllMockDefault
View Source
var VBDClassGetAllRecordsMockedCallback = VBDClassGetAllRecordsMockDefault
View Source
var VBDClassGetAllowedOperationsMockedCallback = VBDClassGetAllowedOperationsMockDefault
View Source
var VBDClassGetBootableMockedCallback = VBDClassGetBootableMockDefault
View Source
var VBDClassGetByUUIDMockedCallback = VBDClassGetByUUIDMockDefault
View Source
var VBDClassGetCurrentOperationsMockedCallback = VBDClassGetCurrentOperationsMockDefault
View Source
var VBDClassGetCurrentlyAttachedMockedCallback = VBDClassGetCurrentlyAttachedMockDefault
View Source
var VBDClassGetDeviceMockedCallback = VBDClassGetDeviceMockDefault
View Source
var VBDClassGetEmptyMockedCallback = VBDClassGetEmptyMockDefault
View Source
var VBDClassGetMetricsMockedCallback = VBDClassGetMetricsMockDefault
View Source
var VBDClassGetModeMockedCallback = VBDClassGetModeMockDefault
View Source
var VBDClassGetOtherConfigMockedCallback = VBDClassGetOtherConfigMockDefault
View Source
var VBDClassGetQosAlgorithmParamsMockedCallback = VBDClassGetQosAlgorithmParamsMockDefault
View Source
var VBDClassGetQosAlgorithmTypeMockedCallback = VBDClassGetQosAlgorithmTypeMockDefault
View Source
var VBDClassGetQosSupportedAlgorithmsMockedCallback = VBDClassGetQosSupportedAlgorithmsMockDefault
View Source
var VBDClassGetRecordMockedCallback = VBDClassGetRecordMockDefault
View Source
var VBDClassGetRuntimePropertiesMockedCallback = VBDClassGetRuntimePropertiesMockDefault
View Source
var VBDClassGetStatusCodeMockedCallback = VBDClassGetStatusCodeMockDefault
View Source
var VBDClassGetStatusDetailMockedCallback = VBDClassGetStatusDetailMockDefault
View Source
var VBDClassGetStorageLockMockedCallback = VBDClassGetStorageLockMockDefault
View Source
var VBDClassGetTypeMockedCallback = VBDClassGetTypeMockDefault
View Source
var VBDClassGetUUIDMockedCallback = VBDClassGetUUIDMockDefault
View Source
var VBDClassGetUnpluggableMockedCallback = VBDClassGetUnpluggableMockDefault
View Source
var VBDClassGetUserdeviceMockedCallback = VBDClassGetUserdeviceMockDefault
View Source
var VBDClassGetVDIMockedCallback = VBDClassGetVDIMockDefault
View Source
var VBDClassGetVMMockedCallback = VBDClassGetVMMockDefault
View Source
var VBDClassInsertMockedCallback = VBDClassInsertMockDefault
View Source
var VBDClassPlugMockedCallback = VBDClassPlugMockDefault
View Source
var VBDClassRemoveFromOtherConfigMockedCallback = VBDClassRemoveFromOtherConfigMockDefault
View Source
var VBDClassRemoveFromQosAlgorithmParamsMockedCallback = VBDClassRemoveFromQosAlgorithmParamsMockDefault
View Source
var VBDClassSetBootableMockedCallback = VBDClassSetBootableMockDefault
View Source
var VBDClassSetModeMockedCallback = VBDClassSetModeMockDefault
View Source
var VBDClassSetOtherConfigMockedCallback = VBDClassSetOtherConfigMockDefault
View Source
var VBDClassSetQosAlgorithmParamsMockedCallback = VBDClassSetQosAlgorithmParamsMockDefault
View Source
var VBDClassSetQosAlgorithmTypeMockedCallback = VBDClassSetQosAlgorithmTypeMockDefault
View Source
var VBDClassSetTypeMockedCallback = VBDClassSetTypeMockDefault
View Source
var VBDClassSetUnpluggableMockedCallback = VBDClassSetUnpluggableMockDefault
View Source
var VBDClassSetUserdeviceMockedCallback = VBDClassSetUserdeviceMockDefault
View Source
var VBDClassUnplugForceMockedCallback = VBDClassUnplugForceMockDefault
View Source
var VBDClassUnplugMockedCallback = VBDClassUnplugMockDefault
View Source
var VBDMetricsClassAddToOtherConfigMockedCallback = VBDMetricsClassAddToOtherConfigMockDefault
View Source
var VBDMetricsClassGetAllMockedCallback = VBDMetricsClassGetAllMockDefault
View Source
var VBDMetricsClassGetAllRecordsMockedCallback = VBDMetricsClassGetAllRecordsMockDefault
View Source
var VBDMetricsClassGetByUUIDMockedCallback = VBDMetricsClassGetByUUIDMockDefault
View Source
var VBDMetricsClassGetIoReadKbsMockedCallback = VBDMetricsClassGetIoReadKbsMockDefault
View Source
var VBDMetricsClassGetIoWriteKbsMockedCallback = VBDMetricsClassGetIoWriteKbsMockDefault
View Source
var VBDMetricsClassGetLastUpdatedMockedCallback = VBDMetricsClassGetLastUpdatedMockDefault
View Source
var VBDMetricsClassGetOtherConfigMockedCallback = VBDMetricsClassGetOtherConfigMockDefault
View Source
var VBDMetricsClassGetRecordMockedCallback = VBDMetricsClassGetRecordMockDefault
View Source
var VBDMetricsClassGetUUIDMockedCallback = VBDMetricsClassGetUUIDMockDefault
View Source
var VBDMetricsClassRemoveFromOtherConfigMockedCallback = VBDMetricsClassRemoveFromOtherConfigMockDefault
View Source
var VBDMetricsClassSetOtherConfigMockedCallback = VBDMetricsClassSetOtherConfigMockDefault
View Source
var VDIClassAddTagsMockedCallback = VDIClassAddTagsMockDefault
View Source
var VDIClassAddToOtherConfigMockedCallback = VDIClassAddToOtherConfigMockDefault
View Source
var VDIClassAddToSmConfigMockedCallback = VDIClassAddToSmConfigMockDefault
View Source
var VDIClassAddToXenstoreDataMockedCallback = VDIClassAddToXenstoreDataMockDefault
View Source
var VDIClassCloneMockedCallback = VDIClassCloneMockDefault
View Source
var VDIClassCopyMockedCallback = VDIClassCopyMockDefault
View Source
var VDIClassCreateMockedCallback = VDIClassCreateMockDefault
View Source
var VDIClassDataDestroyMockedCallback = VDIClassDataDestroyMockDefault
View Source
var VDIClassDbForgetMockedCallback = VDIClassDbForgetMockDefault
View Source
var VDIClassDbIntroduceMockedCallback = VDIClassDbIntroduceMockDefault
View Source
var VDIClassDestroyMockedCallback = VDIClassDestroyMockDefault
View Source
var VDIClassDisableCbtMockedCallback = VDIClassDisableCbtMockDefault
View Source
var VDIClassEnableCbtMockedCallback = VDIClassEnableCbtMockDefault
View Source
var VDIClassForgetMockedCallback = VDIClassForgetMockDefault
View Source
var VDIClassGetAllMockedCallback = VDIClassGetAllMockDefault
View Source
var VDIClassGetAllRecordsMockedCallback = VDIClassGetAllRecordsMockDefault
View Source
var VDIClassGetAllowCachingMockedCallback = VDIClassGetAllowCachingMockDefault
View Source
var VDIClassGetAllowedOperationsMockedCallback = VDIClassGetAllowedOperationsMockDefault
View Source
var VDIClassGetByNameLabelMockedCallback = VDIClassGetByNameLabelMockDefault
View Source
var VDIClassGetByUUIDMockedCallback = VDIClassGetByUUIDMockDefault
View Source
var VDIClassGetCbtEnabledMockedCallback = VDIClassGetCbtEnabledMockDefault
View Source
var VDIClassGetCrashDumpsMockedCallback = VDIClassGetCrashDumpsMockDefault
View Source
var VDIClassGetCurrentOperationsMockedCallback = VDIClassGetCurrentOperationsMockDefault
View Source
var VDIClassGetIsASnapshotMockedCallback = VDIClassGetIsASnapshotMockDefault
View Source
var VDIClassGetIsToolsIsoMockedCallback = VDIClassGetIsToolsIsoMockDefault
View Source
var VDIClassGetLocationMockedCallback = VDIClassGetLocationMockDefault
View Source
var VDIClassGetManagedMockedCallback = VDIClassGetManagedMockDefault
View Source
var VDIClassGetMetadataLatestMockedCallback = VDIClassGetMetadataLatestMockDefault
View Source
var VDIClassGetMetadataOfPoolMockedCallback = VDIClassGetMetadataOfPoolMockDefault
View Source
var VDIClassGetMissingMockedCallback = VDIClassGetMissingMockDefault
View Source
var VDIClassGetNameDescriptionMockedCallback = VDIClassGetNameDescriptionMockDefault
View Source
var VDIClassGetNameLabelMockedCallback = VDIClassGetNameLabelMockDefault
View Source
var VDIClassGetNbdInfoMockedCallback = VDIClassGetNbdInfoMockDefault
View Source
var VDIClassGetOnBootMockedCallback = VDIClassGetOnBootMockDefault
View Source
var VDIClassGetOtherConfigMockedCallback = VDIClassGetOtherConfigMockDefault
View Source
var VDIClassGetParentMockedCallback = VDIClassGetParentMockDefault
View Source
var VDIClassGetPhysicalUtilisationMockedCallback = VDIClassGetPhysicalUtilisationMockDefault
View Source
var VDIClassGetReadOnlyMockedCallback = VDIClassGetReadOnlyMockDefault
View Source
var VDIClassGetRecordMockedCallback = VDIClassGetRecordMockDefault
View Source
var VDIClassGetSRMockedCallback = VDIClassGetSRMockDefault
View Source
var VDIClassGetSharableMockedCallback = VDIClassGetSharableMockDefault
View Source
var VDIClassGetSmConfigMockedCallback = VDIClassGetSmConfigMockDefault
View Source
var VDIClassGetSnapshotOfMockedCallback = VDIClassGetSnapshotOfMockDefault
View Source
var VDIClassGetSnapshotTimeMockedCallback = VDIClassGetSnapshotTimeMockDefault
View Source
var VDIClassGetSnapshotsMockedCallback = VDIClassGetSnapshotsMockDefault
View Source
var VDIClassGetStorageLockMockedCallback = VDIClassGetStorageLockMockDefault
View Source
var VDIClassGetTagsMockedCallback = VDIClassGetTagsMockDefault
View Source
var VDIClassGetTypeMockedCallback = VDIClassGetTypeMockDefault
View Source
var VDIClassGetUUIDMockedCallback = VDIClassGetUUIDMockDefault
View Source
var VDIClassGetVBDsMockedCallback = VDIClassGetVBDsMockDefault
View Source
var VDIClassGetVirtualSizeMockedCallback = VDIClassGetVirtualSizeMockDefault
View Source
var VDIClassGetXenstoreDataMockedCallback = VDIClassGetXenstoreDataMockDefault
View Source
var VDIClassIntroduceMockedCallback = VDIClassIntroduceMockDefault
View Source
var VDIClassListChangedBlocksMockedCallback = VDIClassListChangedBlocksMockDefault
View Source
var VDIClassOpenDatabaseMockedCallback = VDIClassOpenDatabaseMockDefault
View Source
var VDIClassPoolMigrateMockedCallback = VDIClassPoolMigrateMockDefault
View Source
var VDIClassReadDatabasePoolUUIDMockedCallback = VDIClassReadDatabasePoolUUIDMockDefault
View Source
var VDIClassRemoveFromOtherConfigMockedCallback = VDIClassRemoveFromOtherConfigMockDefault
View Source
var VDIClassRemoveFromSmConfigMockedCallback = VDIClassRemoveFromSmConfigMockDefault
View Source
var VDIClassRemoveFromXenstoreDataMockedCallback = VDIClassRemoveFromXenstoreDataMockDefault
View Source
var VDIClassRemoveTagsMockedCallback = VDIClassRemoveTagsMockDefault
View Source
var VDIClassResizeMockedCallback = VDIClassResizeMockDefault
View Source
var VDIClassResizeOnlineMockedCallback = VDIClassResizeOnlineMockDefault
View Source
var VDIClassSetAllowCachingMockedCallback = VDIClassSetAllowCachingMockDefault
View Source
var VDIClassSetIsASnapshotMockedCallback = VDIClassSetIsASnapshotMockDefault
View Source
var VDIClassSetManagedMockedCallback = VDIClassSetManagedMockDefault
View Source
var VDIClassSetMetadataOfPoolMockedCallback = VDIClassSetMetadataOfPoolMockDefault
View Source
var VDIClassSetMissingMockedCallback = VDIClassSetMissingMockDefault
View Source
var VDIClassSetNameDescriptionMockedCallback = VDIClassSetNameDescriptionMockDefault
View Source
var VDIClassSetNameLabelMockedCallback = VDIClassSetNameLabelMockDefault
View Source
var VDIClassSetOnBootMockedCallback = VDIClassSetOnBootMockDefault
View Source
var VDIClassSetOtherConfigMockedCallback = VDIClassSetOtherConfigMockDefault
View Source
var VDIClassSetPhysicalUtilisationMockedCallback = VDIClassSetPhysicalUtilisationMockDefault
View Source
var VDIClassSetReadOnlyMockedCallback = VDIClassSetReadOnlyMockDefault
View Source
var VDIClassSetSharableMockedCallback = VDIClassSetSharableMockDefault
View Source
var VDIClassSetSmConfigMockedCallback = VDIClassSetSmConfigMockDefault
View Source
var VDIClassSetSnapshotOfMockedCallback = VDIClassSetSnapshotOfMockDefault
View Source
var VDIClassSetSnapshotTimeMockedCallback = VDIClassSetSnapshotTimeMockDefault
View Source
var VDIClassSetTagsMockedCallback = VDIClassSetTagsMockDefault
View Source
var VDIClassSetVirtualSizeMockedCallback = VDIClassSetVirtualSizeMockDefault
View Source
var VDIClassSetXenstoreDataMockedCallback = VDIClassSetXenstoreDataMockDefault
View Source
var VDIClassSnapshotMockedCallback = VDIClassSnapshotMockDefault
View Source
var VDIClassUpdateMockedCallback = VDIClassUpdateMockDefault
View Source
var VGPUClassAddToOtherConfigMockedCallback = VGPUClassAddToOtherConfigMockDefault
View Source
var VGPUClassCreateMockedCallback = VGPUClassCreateMockDefault
View Source
var VGPUClassDestroyMockedCallback = VGPUClassDestroyMockDefault
View Source
var VGPUClassGetAllMockedCallback = VGPUClassGetAllMockDefault
View Source
var VGPUClassGetAllRecordsMockedCallback = VGPUClassGetAllRecordsMockDefault
View Source
var VGPUClassGetByUUIDMockedCallback = VGPUClassGetByUUIDMockDefault
View Source
var VGPUClassGetCompatibilityMetadataMockedCallback = VGPUClassGetCompatibilityMetadataMockDefault
View Source
var VGPUClassGetCurrentlyAttachedMockedCallback = VGPUClassGetCurrentlyAttachedMockDefault
View Source
var VGPUClassGetDeviceMockedCallback = VGPUClassGetDeviceMockDefault
View Source
var VGPUClassGetGPUGroupMockedCallback = VGPUClassGetGPUGroupMockDefault
View Source
var VGPUClassGetOtherConfigMockedCallback = VGPUClassGetOtherConfigMockDefault
View Source
var VGPUClassGetRecordMockedCallback = VGPUClassGetRecordMockDefault
View Source
var VGPUClassGetResidentOnMockedCallback = VGPUClassGetResidentOnMockDefault
View Source
var VGPUClassGetScheduledToBeResidentOnMockedCallback = VGPUClassGetScheduledToBeResidentOnMockDefault
View Source
var VGPUClassGetTypeMockedCallback = VGPUClassGetTypeMockDefault
View Source
var VGPUClassGetUUIDMockedCallback = VGPUClassGetUUIDMockDefault
View Source
var VGPUClassGetVMMockedCallback = VGPUClassGetVMMockDefault
View Source
var VGPUClassRemoveFromOtherConfigMockedCallback = VGPUClassRemoveFromOtherConfigMockDefault
View Source
var VGPUClassSetOtherConfigMockedCallback = VGPUClassSetOtherConfigMockDefault
View Source
var VGPUTypeClassGetAllMockedCallback = VGPUTypeClassGetAllMockDefault
View Source
var VGPUTypeClassGetAllRecordsMockedCallback = VGPUTypeClassGetAllRecordsMockDefault
View Source
var VGPUTypeClassGetByUUIDMockedCallback = VGPUTypeClassGetByUUIDMockDefault
View Source
var VGPUTypeClassGetEnabledOnGPUGroupsMockedCallback = VGPUTypeClassGetEnabledOnGPUGroupsMockDefault
View Source
var VGPUTypeClassGetEnabledOnPGPUsMockedCallback = VGPUTypeClassGetEnabledOnPGPUsMockDefault
View Source
var VGPUTypeClassGetExperimentalMockedCallback = VGPUTypeClassGetExperimentalMockDefault
View Source
var VGPUTypeClassGetFramebufferSizeMockedCallback = VGPUTypeClassGetFramebufferSizeMockDefault
View Source
var VGPUTypeClassGetIdentifierMockedCallback = VGPUTypeClassGetIdentifierMockDefault
View Source
var VGPUTypeClassGetImplementationMockedCallback = VGPUTypeClassGetImplementationMockDefault
View Source
var VGPUTypeClassGetMaxHeadsMockedCallback = VGPUTypeClassGetMaxHeadsMockDefault
View Source
var VGPUTypeClassGetMaxResolutionXMockedCallback = VGPUTypeClassGetMaxResolutionXMockDefault
View Source
var VGPUTypeClassGetMaxResolutionYMockedCallback = VGPUTypeClassGetMaxResolutionYMockDefault
View Source
var VGPUTypeClassGetModelNameMockedCallback = VGPUTypeClassGetModelNameMockDefault
View Source
var VGPUTypeClassGetRecordMockedCallback = VGPUTypeClassGetRecordMockDefault
View Source
var VGPUTypeClassGetSupportedOnGPUGroupsMockedCallback = VGPUTypeClassGetSupportedOnGPUGroupsMockDefault
View Source
var VGPUTypeClassGetSupportedOnPGPUsMockedCallback = VGPUTypeClassGetSupportedOnPGPUsMockDefault
View Source
var VGPUTypeClassGetUUIDMockedCallback = VGPUTypeClassGetUUIDMockDefault
View Source
var VGPUTypeClassGetVGPUsMockedCallback = VGPUTypeClassGetVGPUsMockDefault
View Source
var VGPUTypeClassGetVendorNameMockedCallback = VGPUTypeClassGetVendorNameMockDefault
View Source
var VIFClassAddIpv4AllowedMockedCallback = VIFClassAddIpv4AllowedMockDefault
View Source
var VIFClassAddIpv6AllowedMockedCallback = VIFClassAddIpv6AllowedMockDefault
View Source
var VIFClassAddToOtherConfigMockedCallback = VIFClassAddToOtherConfigMockDefault
View Source
var VIFClassAddToQosAlgorithmParamsMockedCallback = VIFClassAddToQosAlgorithmParamsMockDefault
View Source
var VIFClassConfigureIpv4MockedCallback = VIFClassConfigureIpv4MockDefault
View Source
var VIFClassConfigureIpv6MockedCallback = VIFClassConfigureIpv6MockDefault
View Source
var VIFClassCreateMockedCallback = VIFClassCreateMockDefault
View Source
var VIFClassDestroyMockedCallback = VIFClassDestroyMockDefault
View Source
var VIFClassGetAllMockedCallback = VIFClassGetAllMockDefault
View Source
var VIFClassGetAllRecordsMockedCallback = VIFClassGetAllRecordsMockDefault
View Source
var VIFClassGetAllowedOperationsMockedCallback = VIFClassGetAllowedOperationsMockDefault
View Source
var VIFClassGetByUUIDMockedCallback = VIFClassGetByUUIDMockDefault
View Source
var VIFClassGetCurrentOperationsMockedCallback = VIFClassGetCurrentOperationsMockDefault
View Source
var VIFClassGetCurrentlyAttachedMockedCallback = VIFClassGetCurrentlyAttachedMockDefault
View Source
var VIFClassGetDeviceMockedCallback = VIFClassGetDeviceMockDefault
View Source
var VIFClassGetIpv4AddressesMockedCallback = VIFClassGetIpv4AddressesMockDefault
View Source
var VIFClassGetIpv4AllowedMockedCallback = VIFClassGetIpv4AllowedMockDefault
View Source
var VIFClassGetIpv4ConfigurationModeMockedCallback = VIFClassGetIpv4ConfigurationModeMockDefault
View Source
var VIFClassGetIpv4GatewayMockedCallback = VIFClassGetIpv4GatewayMockDefault
View Source
var VIFClassGetIpv6AddressesMockedCallback = VIFClassGetIpv6AddressesMockDefault
View Source
var VIFClassGetIpv6AllowedMockedCallback = VIFClassGetIpv6AllowedMockDefault
View Source
var VIFClassGetIpv6ConfigurationModeMockedCallback = VIFClassGetIpv6ConfigurationModeMockDefault
View Source
var VIFClassGetIpv6GatewayMockedCallback = VIFClassGetIpv6GatewayMockDefault
View Source
var VIFClassGetLockingModeMockedCallback = VIFClassGetLockingModeMockDefault
View Source
var VIFClassGetMACAutogeneratedMockedCallback = VIFClassGetMACAutogeneratedMockDefault
View Source
var VIFClassGetMACMockedCallback = VIFClassGetMACMockDefault
View Source
var VIFClassGetMTUMockedCallback = VIFClassGetMTUMockDefault
View Source
var VIFClassGetMetricsMockedCallback = VIFClassGetMetricsMockDefault
View Source
var VIFClassGetNetworkMockedCallback = VIFClassGetNetworkMockDefault
View Source
var VIFClassGetOtherConfigMockedCallback = VIFClassGetOtherConfigMockDefault
View Source
var VIFClassGetQosAlgorithmParamsMockedCallback = VIFClassGetQosAlgorithmParamsMockDefault
View Source
var VIFClassGetQosAlgorithmTypeMockedCallback = VIFClassGetQosAlgorithmTypeMockDefault
View Source
var VIFClassGetQosSupportedAlgorithmsMockedCallback = VIFClassGetQosSupportedAlgorithmsMockDefault
View Source
var VIFClassGetRecordMockedCallback = VIFClassGetRecordMockDefault
View Source
var VIFClassGetRuntimePropertiesMockedCallback = VIFClassGetRuntimePropertiesMockDefault
View Source
var VIFClassGetStatusCodeMockedCallback = VIFClassGetStatusCodeMockDefault
View Source
var VIFClassGetStatusDetailMockedCallback = VIFClassGetStatusDetailMockDefault
View Source
var VIFClassGetUUIDMockedCallback = VIFClassGetUUIDMockDefault
View Source
var VIFClassGetVMMockedCallback = VIFClassGetVMMockDefault
View Source
var VIFClassMoveMockedCallback = VIFClassMoveMockDefault
View Source
var VIFClassPlugMockedCallback = VIFClassPlugMockDefault
View Source
var VIFClassRemoveFromOtherConfigMockedCallback = VIFClassRemoveFromOtherConfigMockDefault
View Source
var VIFClassRemoveFromQosAlgorithmParamsMockedCallback = VIFClassRemoveFromQosAlgorithmParamsMockDefault
View Source
var VIFClassRemoveIpv4AllowedMockedCallback = VIFClassRemoveIpv4AllowedMockDefault
View Source
var VIFClassRemoveIpv6AllowedMockedCallback = VIFClassRemoveIpv6AllowedMockDefault
View Source
var VIFClassSetIpv4AllowedMockedCallback = VIFClassSetIpv4AllowedMockDefault
View Source
var VIFClassSetIpv6AllowedMockedCallback = VIFClassSetIpv6AllowedMockDefault
View Source
var VIFClassSetLockingModeMockedCallback = VIFClassSetLockingModeMockDefault
View Source
var VIFClassSetOtherConfigMockedCallback = VIFClassSetOtherConfigMockDefault
View Source
var VIFClassSetQosAlgorithmParamsMockedCallback = VIFClassSetQosAlgorithmParamsMockDefault
View Source
var VIFClassSetQosAlgorithmTypeMockedCallback = VIFClassSetQosAlgorithmTypeMockDefault
View Source
var VIFClassUnplugForceMockedCallback = VIFClassUnplugForceMockDefault
View Source
var VIFClassUnplugMockedCallback = VIFClassUnplugMockDefault
View Source
var VIFMetricsClassAddToOtherConfigMockedCallback = VIFMetricsClassAddToOtherConfigMockDefault
View Source
var VIFMetricsClassGetAllMockedCallback = VIFMetricsClassGetAllMockDefault
View Source
var VIFMetricsClassGetAllRecordsMockedCallback = VIFMetricsClassGetAllRecordsMockDefault
View Source
var VIFMetricsClassGetByUUIDMockedCallback = VIFMetricsClassGetByUUIDMockDefault
View Source
var VIFMetricsClassGetIoReadKbsMockedCallback = VIFMetricsClassGetIoReadKbsMockDefault
View Source
var VIFMetricsClassGetIoWriteKbsMockedCallback = VIFMetricsClassGetIoWriteKbsMockDefault
View Source
var VIFMetricsClassGetLastUpdatedMockedCallback = VIFMetricsClassGetLastUpdatedMockDefault
View Source
var VIFMetricsClassGetOtherConfigMockedCallback = VIFMetricsClassGetOtherConfigMockDefault
View Source
var VIFMetricsClassGetRecordMockedCallback = VIFMetricsClassGetRecordMockDefault
View Source
var VIFMetricsClassGetUUIDMockedCallback = VIFMetricsClassGetUUIDMockDefault
View Source
var VIFMetricsClassRemoveFromOtherConfigMockedCallback = VIFMetricsClassRemoveFromOtherConfigMockDefault
View Source
var VIFMetricsClassSetOtherConfigMockedCallback = VIFMetricsClassSetOtherConfigMockDefault
View Source
var VLANClassAddToOtherConfigMockedCallback = VLANClassAddToOtherConfigMockDefault
View Source
var VLANClassCreateMockedCallback = VLANClassCreateMockDefault
View Source
var VLANClassDestroyMockedCallback = VLANClassDestroyMockDefault
View Source
var VLANClassGetAllMockedCallback = VLANClassGetAllMockDefault
View Source
var VLANClassGetAllRecordsMockedCallback = VLANClassGetAllRecordsMockDefault
View Source
var VLANClassGetByUUIDMockedCallback = VLANClassGetByUUIDMockDefault
View Source
var VLANClassGetOtherConfigMockedCallback = VLANClassGetOtherConfigMockDefault
View Source
var VLANClassGetRecordMockedCallback = VLANClassGetRecordMockDefault
View Source
var VLANClassGetTagMockedCallback = VLANClassGetTagMockDefault
View Source
var VLANClassGetTaggedPIFMockedCallback = VLANClassGetTaggedPIFMockDefault
View Source
var VLANClassGetUUIDMockedCallback = VLANClassGetUUIDMockDefault
View Source
var VLANClassGetUntaggedPIFMockedCallback = VLANClassGetUntaggedPIFMockDefault
View Source
var VLANClassRemoveFromOtherConfigMockedCallback = VLANClassRemoveFromOtherConfigMockDefault
View Source
var VLANClassSetOtherConfigMockedCallback = VLANClassSetOtherConfigMockDefault
View Source
var VMApplianceClassAssertCanBeRecoveredMockedCallback = VMApplianceClassAssertCanBeRecoveredMockDefault
View Source
var VMApplianceClassCleanShutdownMockedCallback = VMApplianceClassCleanShutdownMockDefault
View Source
var VMApplianceClassCreateMockedCallback = VMApplianceClassCreateMockDefault
View Source
var VMApplianceClassDestroyMockedCallback = VMApplianceClassDestroyMockDefault
View Source
var VMApplianceClassGetAllMockedCallback = VMApplianceClassGetAllMockDefault
View Source
var VMApplianceClassGetAllRecordsMockedCallback = VMApplianceClassGetAllRecordsMockDefault
View Source
var VMApplianceClassGetAllowedOperationsMockedCallback = VMApplianceClassGetAllowedOperationsMockDefault
View Source
var VMApplianceClassGetByNameLabelMockedCallback = VMApplianceClassGetByNameLabelMockDefault
View Source
var VMApplianceClassGetByUUIDMockedCallback = VMApplianceClassGetByUUIDMockDefault
View Source
var VMApplianceClassGetCurrentOperationsMockedCallback = VMApplianceClassGetCurrentOperationsMockDefault
View Source
var VMApplianceClassGetNameDescriptionMockedCallback = VMApplianceClassGetNameDescriptionMockDefault
View Source
var VMApplianceClassGetNameLabelMockedCallback = VMApplianceClassGetNameLabelMockDefault
View Source
var VMApplianceClassGetRecordMockedCallback = VMApplianceClassGetRecordMockDefault
View Source
var VMApplianceClassGetSRsRequiredForRecoveryMockedCallback = VMApplianceClassGetSRsRequiredForRecoveryMockDefault
View Source
var VMApplianceClassGetUUIDMockedCallback = VMApplianceClassGetUUIDMockDefault
View Source
var VMApplianceClassGetVMsMockedCallback = VMApplianceClassGetVMsMockDefault
View Source
var VMApplianceClassHardShutdownMockedCallback = VMApplianceClassHardShutdownMockDefault
View Source
var VMApplianceClassRecoverMockedCallback = VMApplianceClassRecoverMockDefault
View Source
var VMApplianceClassSetNameDescriptionMockedCallback = VMApplianceClassSetNameDescriptionMockDefault
View Source
var VMApplianceClassSetNameLabelMockedCallback = VMApplianceClassSetNameLabelMockDefault
View Source
var VMApplianceClassShutdownMockedCallback = VMApplianceClassShutdownMockDefault
View Source
var VMApplianceClassStartMockedCallback = VMApplianceClassStartMockDefault
View Source
var VMClassAddTagsMockedCallback = VMClassAddTagsMockDefault
View Source
var VMClassAddToBlockedOperationsMockedCallback = VMClassAddToBlockedOperationsMockDefault
View Source
var VMClassAddToHVMBootParamsMockedCallback = VMClassAddToHVMBootParamsMockDefault
View Source
var VMClassAddToOtherConfigMockedCallback = VMClassAddToOtherConfigMockDefault
View Source
var VMClassAddToPlatformMockedCallback = VMClassAddToPlatformMockDefault
View Source
var VMClassAddToVCPUsParamsLiveMockedCallback = VMClassAddToVCPUsParamsLiveMockDefault
View Source
var VMClassAddToVCPUsParamsMockedCallback = VMClassAddToVCPUsParamsMockDefault
View Source
var VMClassAddToXenstoreDataMockedCallback = VMClassAddToXenstoreDataMockDefault
View Source
var VMClassAssertAgileMockedCallback = VMClassAssertAgileMockDefault
View Source
var VMClassAssertCanBeRecoveredMockedCallback = VMClassAssertCanBeRecoveredMockDefault
View Source
var VMClassAssertCanBootHereMockedCallback = VMClassAssertCanBootHereMockDefault
View Source
var VMClassAssertCanMigrateMockedCallback = VMClassAssertCanMigrateMockDefault
View Source
var VMClassAssertOperationValidMockedCallback = VMClassAssertOperationValidMockDefault
View Source
var VMClassCallPluginMockedCallback = VMClassCallPluginMockDefault
View Source
var VMClassCheckpointMockedCallback = VMClassCheckpointMockDefault
View Source
var VMClassCleanRebootMockedCallback = VMClassCleanRebootMockDefault
View Source
var VMClassCleanShutdownMockedCallback = VMClassCleanShutdownMockDefault
View Source
var VMClassCloneMockedCallback = VMClassCloneMockDefault
View Source
var VMClassComputeMemoryOverheadMockedCallback = VMClassComputeMemoryOverheadMockDefault
View Source
var VMClassCopyBiosStringsMockedCallback = VMClassCopyBiosStringsMockDefault
View Source
var VMClassCopyMockedCallback = VMClassCopyMockDefault
View Source
var VMClassCreateMockedCallback = VMClassCreateMockDefault
View Source
var VMClassCreateNewBlobMockedCallback = VMClassCreateNewBlobMockDefault
View Source
var VMClassDestroyMockedCallback = VMClassDestroyMockDefault
View Source
var VMClassForgetDataSourceArchivesMockedCallback = VMClassForgetDataSourceArchivesMockDefault
View Source
var VMClassGetActionsAfterCrashMockedCallback = VMClassGetActionsAfterCrashMockDefault
View Source
var VMClassGetActionsAfterRebootMockedCallback = VMClassGetActionsAfterRebootMockDefault
View Source
var VMClassGetActionsAfterShutdownMockedCallback = VMClassGetActionsAfterShutdownMockDefault
View Source
var VMClassGetAffinityMockedCallback = VMClassGetAffinityMockDefault
View Source
var VMClassGetAllMockedCallback = VMClassGetAllMockDefault
View Source
var VMClassGetAllRecordsMockedCallback = VMClassGetAllRecordsMockDefault
View Source
var VMClassGetAllowedOperationsMockedCallback = VMClassGetAllowedOperationsMockDefault
View Source
var VMClassGetAllowedVBDDevicesMockedCallback = VMClassGetAllowedVBDDevicesMockDefault
View Source
var VMClassGetAllowedVIFDevicesMockedCallback = VMClassGetAllowedVIFDevicesMockDefault
View Source
var VMClassGetApplianceMockedCallback = VMClassGetApplianceMockDefault
View Source
var VMClassGetAttachedPCIsMockedCallback = VMClassGetAttachedPCIsMockDefault
View Source
var VMClassGetBiosStringsMockedCallback = VMClassGetBiosStringsMockDefault
View Source
var VMClassGetBlobsMockedCallback = VMClassGetBlobsMockDefault
View Source
var VMClassGetBlockedOperationsMockedCallback = VMClassGetBlockedOperationsMockDefault
View Source
var VMClassGetBootRecordMockedCallback = VMClassGetBootRecordMockDefault
View Source
var VMClassGetByNameLabelMockedCallback = VMClassGetByNameLabelMockDefault
View Source
var VMClassGetByUUIDMockedCallback = VMClassGetByUUIDMockDefault
View Source
var VMClassGetChildrenMockedCallback = VMClassGetChildrenMockDefault
View Source
var VMClassGetConsolesMockedCallback = VMClassGetConsolesMockDefault
View Source
var VMClassGetCooperativeMockedCallback = VMClassGetCooperativeMockDefault
View Source
var VMClassGetCrashDumpsMockedCallback = VMClassGetCrashDumpsMockDefault
View Source
var VMClassGetCurrentOperationsMockedCallback = VMClassGetCurrentOperationsMockDefault
View Source
var VMClassGetDataSourcesMockedCallback = VMClassGetDataSourcesMockDefault
View Source
var VMClassGetDomarchMockedCallback = VMClassGetDomarchMockDefault
View Source
var VMClassGetDomidMockedCallback = VMClassGetDomidMockDefault
View Source
var VMClassGetGenerationIDMockedCallback = VMClassGetGenerationIDMockDefault
View Source
var VMClassGetGuestMetricsMockedCallback = VMClassGetGuestMetricsMockDefault
View Source
var VMClassGetHVMBootParamsMockedCallback = VMClassGetHVMBootParamsMockDefault
View Source
var VMClassGetHVMBootPolicyMockedCallback = VMClassGetHVMBootPolicyMockDefault
View Source
var VMClassGetHVMShadowMultiplierMockedCallback = VMClassGetHVMShadowMultiplierMockDefault
View Source
var VMClassGetHaAlwaysRunMockedCallback = VMClassGetHaAlwaysRunMockDefault
View Source
var VMClassGetHaRestartPriorityMockedCallback = VMClassGetHaRestartPriorityMockDefault
View Source
var VMClassGetHardwarePlatformVersionMockedCallback = VMClassGetHardwarePlatformVersionMockDefault
View Source
var VMClassGetHasVendorDeviceMockedCallback = VMClassGetHasVendorDeviceMockDefault
View Source
var VMClassGetIsASnapshotMockedCallback = VMClassGetIsASnapshotMockDefault
View Source
var VMClassGetIsATemplateMockedCallback = VMClassGetIsATemplateMockDefault
View Source
var VMClassGetIsControlDomainMockedCallback = VMClassGetIsControlDomainMockDefault
View Source
var VMClassGetIsDefaultTemplateMockedCallback = VMClassGetIsDefaultTemplateMockDefault
View Source
var VMClassGetIsSnapshotFromVmppMockedCallback = VMClassGetIsSnapshotFromVmppMockDefault
View Source
var VMClassGetIsVmssSnapshotMockedCallback = VMClassGetIsVmssSnapshotMockDefault
View Source
var VMClassGetLastBootCPUFlagsMockedCallback = VMClassGetLastBootCPUFlagsMockDefault
View Source
var VMClassGetLastBootedRecordMockedCallback = VMClassGetLastBootedRecordMockDefault
View Source
var VMClassGetMemoryDynamicMaxMockedCallback = VMClassGetMemoryDynamicMaxMockDefault
View Source
var VMClassGetMemoryDynamicMinMockedCallback = VMClassGetMemoryDynamicMinMockDefault
View Source
var VMClassGetMemoryOverheadMockedCallback = VMClassGetMemoryOverheadMockDefault
View Source
var VMClassGetMemoryStaticMaxMockedCallback = VMClassGetMemoryStaticMaxMockDefault
View Source
var VMClassGetMemoryStaticMinMockedCallback = VMClassGetMemoryStaticMinMockDefault
View Source
var VMClassGetMemoryTargetMockedCallback = VMClassGetMemoryTargetMockDefault
View Source
var VMClassGetMetricsMockedCallback = VMClassGetMetricsMockDefault
View Source
var VMClassGetNameDescriptionMockedCallback = VMClassGetNameDescriptionMockDefault
View Source
var VMClassGetNameLabelMockedCallback = VMClassGetNameLabelMockDefault
View Source
var VMClassGetOrderMockedCallback = VMClassGetOrderMockDefault
View Source
var VMClassGetOtherConfigMockedCallback = VMClassGetOtherConfigMockDefault
View Source
var VMClassGetPCIBusMockedCallback = VMClassGetPCIBusMockDefault
View Source
var VMClassGetPVArgsMockedCallback = VMClassGetPVArgsMockDefault
View Source
var VMClassGetPVBootloaderArgsMockedCallback = VMClassGetPVBootloaderArgsMockDefault
View Source
var VMClassGetPVBootloaderMockedCallback = VMClassGetPVBootloaderMockDefault
View Source
var VMClassGetPVKernelMockedCallback = VMClassGetPVKernelMockDefault
View Source
var VMClassGetPVLegacyArgsMockedCallback = VMClassGetPVLegacyArgsMockDefault
View Source
var VMClassGetPVRamdiskMockedCallback = VMClassGetPVRamdiskMockDefault
View Source
var VMClassGetParentMockedCallback = VMClassGetParentMockDefault
View Source
var VMClassGetPlatformMockedCallback = VMClassGetPlatformMockDefault
View Source
var VMClassGetPossibleHostsMockedCallback = VMClassGetPossibleHostsMockDefault
View Source
var VMClassGetPowerStateMockedCallback = VMClassGetPowerStateMockDefault
View Source
var VMClassGetProtectionPolicyMockedCallback = VMClassGetProtectionPolicyMockDefault
View Source
var VMClassGetRecommendationsMockedCallback = VMClassGetRecommendationsMockDefault
View Source
var VMClassGetRecordMockedCallback = VMClassGetRecordMockDefault
View Source
var VMClassGetReferenceLabelMockedCallback = VMClassGetReferenceLabelMockDefault
View Source
var VMClassGetRequiresRebootMockedCallback = VMClassGetRequiresRebootMockDefault
View Source
var VMClassGetResidentOnMockedCallback = VMClassGetResidentOnMockDefault
View Source
var VMClassGetSRsRequiredForRecoveryMockedCallback = VMClassGetSRsRequiredForRecoveryMockDefault
View Source
var VMClassGetShutdownDelayMockedCallback = VMClassGetShutdownDelayMockDefault
View Source
var VMClassGetSnapshotInfoMockedCallback = VMClassGetSnapshotInfoMockDefault
View Source
var VMClassGetSnapshotMetadataMockedCallback = VMClassGetSnapshotMetadataMockDefault
View Source
var VMClassGetSnapshotOfMockedCallback = VMClassGetSnapshotOfMockDefault
View Source
var VMClassGetSnapshotScheduleMockedCallback = VMClassGetSnapshotScheduleMockDefault
View Source
var VMClassGetSnapshotTimeMockedCallback = VMClassGetSnapshotTimeMockDefault
View Source
var VMClassGetSnapshotsMockedCallback = VMClassGetSnapshotsMockDefault
View Source
var VMClassGetStartDelayMockedCallback = VMClassGetStartDelayMockDefault
View Source
var VMClassGetSuspendSRMockedCallback = VMClassGetSuspendSRMockDefault
View Source
var VMClassGetSuspendVDIMockedCallback = VMClassGetSuspendVDIMockDefault
View Source
var VMClassGetTagsMockedCallback = VMClassGetTagsMockDefault
View Source
var VMClassGetTransportableSnapshotIDMockedCallback = VMClassGetTransportableSnapshotIDMockDefault
View Source
var VMClassGetUUIDMockedCallback = VMClassGetUUIDMockDefault
View Source
var VMClassGetUserVersionMockedCallback = VMClassGetUserVersionMockDefault
View Source
var VMClassGetVBDsMockedCallback = VMClassGetVBDsMockDefault
View Source
var VMClassGetVCPUsAtStartupMockedCallback = VMClassGetVCPUsAtStartupMockDefault
View Source
var VMClassGetVCPUsMaxMockedCallback = VMClassGetVCPUsMaxMockDefault
View Source
var VMClassGetVCPUsParamsMockedCallback = VMClassGetVCPUsParamsMockDefault
View Source
var VMClassGetVGPUsMockedCallback = VMClassGetVGPUsMockDefault
View Source
var VMClassGetVIFsMockedCallback = VMClassGetVIFsMockDefault
View Source
var VMClassGetVTPMsMockedCallback = VMClassGetVTPMsMockDefault
View Source
var VMClassGetVUSBsMockedCallback = VMClassGetVUSBsMockDefault
View Source
var VMClassGetVersionMockedCallback = VMClassGetVersionMockDefault
View Source
var VMClassGetXenstoreDataMockedCallback = VMClassGetXenstoreDataMockDefault
View Source
var VMClassHardRebootMockedCallback = VMClassHardRebootMockDefault
View Source
var VMClassHardShutdownMockedCallback = VMClassHardShutdownMockDefault
View Source
var VMClassImportConvertMockedCallback = VMClassImportConvertMockDefault
View Source
var VMClassImportMockedCallback = VMClassImportMockDefault
View Source
var VMClassMaximiseMemoryMockedCallback = VMClassMaximiseMemoryMockDefault
View Source
var VMClassMigrateSendMockedCallback = VMClassMigrateSendMockDefault
View Source
var VMClassPauseMockedCallback = VMClassPauseMockDefault
View Source
var VMClassPoolMigrateMockedCallback = VMClassPoolMigrateMockDefault
View Source
var VMClassPowerStateResetMockedCallback = VMClassPowerStateResetMockDefault
View Source
var VMClassProvisionMockedCallback = VMClassProvisionMockDefault
View Source
var VMClassQueryDataSourceMockedCallback = VMClassQueryDataSourceMockDefault
View Source
var VMClassQueryServicesMockedCallback = VMClassQueryServicesMockDefault
View Source
var VMClassRecordDataSourceMockedCallback = VMClassRecordDataSourceMockDefault
View Source
var VMClassRecoverMockedCallback = VMClassRecoverMockDefault
View Source
var VMClassRemoveFromBlockedOperationsMockedCallback = VMClassRemoveFromBlockedOperationsMockDefault
View Source
var VMClassRemoveFromHVMBootParamsMockedCallback = VMClassRemoveFromHVMBootParamsMockDefault
View Source
var VMClassRemoveFromOtherConfigMockedCallback = VMClassRemoveFromOtherConfigMockDefault
View Source
var VMClassRemoveFromPlatformMockedCallback = VMClassRemoveFromPlatformMockDefault
View Source
var VMClassRemoveFromVCPUsParamsMockedCallback = VMClassRemoveFromVCPUsParamsMockDefault
View Source
var VMClassRemoveFromXenstoreDataMockedCallback = VMClassRemoveFromXenstoreDataMockDefault
View Source
var VMClassRemoveTagsMockedCallback = VMClassRemoveTagsMockDefault
View Source
var VMClassResumeMockedCallback = VMClassResumeMockDefault
View Source
var VMClassResumeOnMockedCallback = VMClassResumeOnMockDefault
View Source
var VMClassRetrieveWlbRecommendationsMockedCallback = VMClassRetrieveWlbRecommendationsMockDefault
View Source
var VMClassRevertMockedCallback = VMClassRevertMockDefault
View Source
var VMClassSendSysrqMockedCallback = VMClassSendSysrqMockDefault
View Source
var VMClassSendTriggerMockedCallback = VMClassSendTriggerMockDefault
View Source
var VMClassSetActionsAfterCrashMockedCallback = VMClassSetActionsAfterCrashMockDefault
View Source
var VMClassSetActionsAfterRebootMockedCallback = VMClassSetActionsAfterRebootMockDefault
View Source
var VMClassSetActionsAfterShutdownMockedCallback = VMClassSetActionsAfterShutdownMockDefault
View Source
var VMClassSetAffinityMockedCallback = VMClassSetAffinityMockDefault
View Source
var VMClassSetApplianceMockedCallback = VMClassSetApplianceMockDefault
View Source
var VMClassSetBiosStringsMockedCallback = VMClassSetBiosStringsMockDefault
View Source
var VMClassSetBlockedOperationsMockedCallback = VMClassSetBlockedOperationsMockDefault
View Source
var VMClassSetHVMBootParamsMockedCallback = VMClassSetHVMBootParamsMockDefault
View Source
var VMClassSetHVMBootPolicyMockedCallback = VMClassSetHVMBootPolicyMockDefault
View Source
var VMClassSetHVMShadowMultiplierMockedCallback = VMClassSetHVMShadowMultiplierMockDefault
View Source
var VMClassSetHaAlwaysRunMockedCallback = VMClassSetHaAlwaysRunMockDefault
View Source
var VMClassSetHaRestartPriorityMockedCallback = VMClassSetHaRestartPriorityMockDefault
View Source
var VMClassSetHardwarePlatformVersionMockedCallback = VMClassSetHardwarePlatformVersionMockDefault
View Source
var VMClassSetHasVendorDeviceMockedCallback = VMClassSetHasVendorDeviceMockDefault
View Source
var VMClassSetIsATemplateMockedCallback = VMClassSetIsATemplateMockDefault
View Source
var VMClassSetMemoryDynamicMaxMockedCallback = VMClassSetMemoryDynamicMaxMockDefault
View Source
var VMClassSetMemoryDynamicMinMockedCallback = VMClassSetMemoryDynamicMinMockDefault
View Source
var VMClassSetMemoryDynamicRangeMockedCallback = VMClassSetMemoryDynamicRangeMockDefault
View Source
var VMClassSetMemoryLimitsMockedCallback = VMClassSetMemoryLimitsMockDefault
View Source
var VMClassSetMemoryMockedCallback = VMClassSetMemoryMockDefault
View Source
var VMClassSetMemoryStaticMaxMockedCallback = VMClassSetMemoryStaticMaxMockDefault
View Source
var VMClassSetMemoryStaticMinMockedCallback = VMClassSetMemoryStaticMinMockDefault
View Source
var VMClassSetMemoryStaticRangeMockedCallback = VMClassSetMemoryStaticRangeMockDefault
View Source
var VMClassSetMemoryTargetLiveMockedCallback = VMClassSetMemoryTargetLiveMockDefault
View Source
var VMClassSetNameDescriptionMockedCallback = VMClassSetNameDescriptionMockDefault
View Source
var VMClassSetNameLabelMockedCallback = VMClassSetNameLabelMockDefault
View Source
var VMClassSetOrderMockedCallback = VMClassSetOrderMockDefault
View Source
var VMClassSetOtherConfigMockedCallback = VMClassSetOtherConfigMockDefault
View Source
var VMClassSetPCIBusMockedCallback = VMClassSetPCIBusMockDefault
View Source
var VMClassSetPVArgsMockedCallback = VMClassSetPVArgsMockDefault
View Source
var VMClassSetPVBootloaderArgsMockedCallback = VMClassSetPVBootloaderArgsMockDefault
View Source
var VMClassSetPVBootloaderMockedCallback = VMClassSetPVBootloaderMockDefault
View Source
var VMClassSetPVKernelMockedCallback = VMClassSetPVKernelMockDefault
View Source
var VMClassSetPVLegacyArgsMockedCallback = VMClassSetPVLegacyArgsMockDefault
View Source
var VMClassSetPVRamdiskMockedCallback = VMClassSetPVRamdiskMockDefault
View Source
var VMClassSetPlatformMockedCallback = VMClassSetPlatformMockDefault
View Source
var VMClassSetProtectionPolicyMockedCallback = VMClassSetProtectionPolicyMockDefault
View Source
var VMClassSetRecommendationsMockedCallback = VMClassSetRecommendationsMockDefault
View Source
var VMClassSetShadowMultiplierLiveMockedCallback = VMClassSetShadowMultiplierLiveMockDefault
View Source
var VMClassSetShutdownDelayMockedCallback = VMClassSetShutdownDelayMockDefault
View Source
var VMClassSetSnapshotScheduleMockedCallback = VMClassSetSnapshotScheduleMockDefault
View Source
var VMClassSetStartDelayMockedCallback = VMClassSetStartDelayMockDefault
View Source
var VMClassSetSuspendSRMockedCallback = VMClassSetSuspendSRMockDefault
View Source
var VMClassSetSuspendVDIMockedCallback = VMClassSetSuspendVDIMockDefault
View Source
var VMClassSetTagsMockedCallback = VMClassSetTagsMockDefault
View Source
var VMClassSetUserVersionMockedCallback = VMClassSetUserVersionMockDefault
View Source
var VMClassSetVCPUsAtStartupMockedCallback = VMClassSetVCPUsAtStartupMockDefault
View Source
var VMClassSetVCPUsMaxMockedCallback = VMClassSetVCPUsMaxMockDefault
View Source
var VMClassSetVCPUsNumberLiveMockedCallback = VMClassSetVCPUsNumberLiveMockDefault
View Source
var VMClassSetVCPUsParamsMockedCallback = VMClassSetVCPUsParamsMockDefault
View Source
var VMClassSetXenstoreDataMockedCallback = VMClassSetXenstoreDataMockDefault
View Source
var VMClassShutdownMockedCallback = VMClassShutdownMockDefault
View Source
var VMClassSnapshotMockedCallback = VMClassSnapshotMockDefault
View Source
var VMClassSnapshotWithQuiesceMockedCallback = VMClassSnapshotWithQuiesceMockDefault
View Source
var VMClassStartMockedCallback = VMClassStartMockDefault
View Source
var VMClassStartOnMockedCallback = VMClassStartOnMockDefault
View Source
var VMClassSuspendMockedCallback = VMClassSuspendMockDefault
View Source
var VMClassUnpauseMockedCallback = VMClassUnpauseMockDefault
View Source
var VMClassUpdateAllowedOperationsMockedCallback = VMClassUpdateAllowedOperationsMockDefault
View Source
var VMClassWaitMemoryTargetLiveMockedCallback = VMClassWaitMemoryTargetLiveMockDefault
View Source
var VMGuestMetricsClassAddToOtherConfigMockedCallback = VMGuestMetricsClassAddToOtherConfigMockDefault
View Source
var VMGuestMetricsClassGetAllMockedCallback = VMGuestMetricsClassGetAllMockDefault
View Source
var VMGuestMetricsClassGetAllRecordsMockedCallback = VMGuestMetricsClassGetAllRecordsMockDefault
View Source
var VMGuestMetricsClassGetByUUIDMockedCallback = VMGuestMetricsClassGetByUUIDMockDefault
View Source
var VMGuestMetricsClassGetCanUseHotplugVbdMockedCallback = VMGuestMetricsClassGetCanUseHotplugVbdMockDefault
View Source
var VMGuestMetricsClassGetCanUseHotplugVifMockedCallback = VMGuestMetricsClassGetCanUseHotplugVifMockDefault
View Source
var VMGuestMetricsClassGetDisksMockedCallback = VMGuestMetricsClassGetDisksMockDefault
View Source
var VMGuestMetricsClassGetLastUpdatedMockedCallback = VMGuestMetricsClassGetLastUpdatedMockDefault
View Source
var VMGuestMetricsClassGetLiveMockedCallback = VMGuestMetricsClassGetLiveMockDefault
View Source
var VMGuestMetricsClassGetMemoryMockedCallback = VMGuestMetricsClassGetMemoryMockDefault
View Source
var VMGuestMetricsClassGetNetworksMockedCallback = VMGuestMetricsClassGetNetworksMockDefault
View Source
var VMGuestMetricsClassGetOSVersionMockedCallback = VMGuestMetricsClassGetOSVersionMockDefault
View Source
var VMGuestMetricsClassGetOtherConfigMockedCallback = VMGuestMetricsClassGetOtherConfigMockDefault
View Source
var VMGuestMetricsClassGetOtherMockedCallback = VMGuestMetricsClassGetOtherMockDefault
View Source
var VMGuestMetricsClassGetPVDriversDetectedMockedCallback = VMGuestMetricsClassGetPVDriversDetectedMockDefault
View Source
var VMGuestMetricsClassGetPVDriversUpToDateMockedCallback = VMGuestMetricsClassGetPVDriversUpToDateMockDefault
View Source
var VMGuestMetricsClassGetPVDriversVersionMockedCallback = VMGuestMetricsClassGetPVDriversVersionMockDefault
View Source
var VMGuestMetricsClassGetRecordMockedCallback = VMGuestMetricsClassGetRecordMockDefault
View Source
var VMGuestMetricsClassGetUUIDMockedCallback = VMGuestMetricsClassGetUUIDMockDefault
View Source
var VMGuestMetricsClassRemoveFromOtherConfigMockedCallback = VMGuestMetricsClassRemoveFromOtherConfigMockDefault
View Source
var VMGuestMetricsClassSetOtherConfigMockedCallback = VMGuestMetricsClassSetOtherConfigMockDefault
View Source
var VMMetricsClassAddToOtherConfigMockedCallback = VMMetricsClassAddToOtherConfigMockDefault
View Source
var VMMetricsClassGetAllMockedCallback = VMMetricsClassGetAllMockDefault
View Source
var VMMetricsClassGetAllRecordsMockedCallback = VMMetricsClassGetAllRecordsMockDefault
View Source
var VMMetricsClassGetByUUIDMockedCallback = VMMetricsClassGetByUUIDMockDefault
View Source
var VMMetricsClassGetHvmMockedCallback = VMMetricsClassGetHvmMockDefault
View Source
var VMMetricsClassGetInstallTimeMockedCallback = VMMetricsClassGetInstallTimeMockDefault
View Source
var VMMetricsClassGetLastUpdatedMockedCallback = VMMetricsClassGetLastUpdatedMockDefault
View Source
var VMMetricsClassGetMemoryActualMockedCallback = VMMetricsClassGetMemoryActualMockDefault
View Source
var VMMetricsClassGetNestedVirtMockedCallback = VMMetricsClassGetNestedVirtMockDefault
View Source
var VMMetricsClassGetNomigrateMockedCallback = VMMetricsClassGetNomigrateMockDefault
View Source
var VMMetricsClassGetOtherConfigMockedCallback = VMMetricsClassGetOtherConfigMockDefault
View Source
var VMMetricsClassGetRecordMockedCallback = VMMetricsClassGetRecordMockDefault
View Source
var VMMetricsClassGetStartTimeMockedCallback = VMMetricsClassGetStartTimeMockDefault
View Source
var VMMetricsClassGetStateMockedCallback = VMMetricsClassGetStateMockDefault
View Source
var VMMetricsClassGetUUIDMockedCallback = VMMetricsClassGetUUIDMockDefault
View Source
var VMMetricsClassGetVCPUsCPUMockedCallback = VMMetricsClassGetVCPUsCPUMockDefault
View Source
var VMMetricsClassGetVCPUsFlagsMockedCallback = VMMetricsClassGetVCPUsFlagsMockDefault
View Source
var VMMetricsClassGetVCPUsNumberMockedCallback = VMMetricsClassGetVCPUsNumberMockDefault
View Source
var VMMetricsClassGetVCPUsParamsMockedCallback = VMMetricsClassGetVCPUsParamsMockDefault
View Source
var VMMetricsClassGetVCPUsUtilisationMockedCallback = VMMetricsClassGetVCPUsUtilisationMockDefault
View Source
var VMMetricsClassRemoveFromOtherConfigMockedCallback = VMMetricsClassRemoveFromOtherConfigMockDefault
View Source
var VMMetricsClassSetOtherConfigMockedCallback = VMMetricsClassSetOtherConfigMockDefault
View Source
var VMPPClassAddToAlarmConfigMockedCallback = VMPPClassAddToAlarmConfigMockDefault
View Source
var VMPPClassAddToArchiveScheduleMockedCallback = VMPPClassAddToArchiveScheduleMockDefault
View Source
var VMPPClassAddToArchiveTargetConfigMockedCallback = VMPPClassAddToArchiveTargetConfigMockDefault
View Source
var VMPPClassAddToBackupScheduleMockedCallback = VMPPClassAddToBackupScheduleMockDefault
View Source
var VMPPClassArchiveNowMockedCallback = VMPPClassArchiveNowMockDefault
View Source
var VMPPClassCreateMockedCallback = VMPPClassCreateMockDefault
View Source
var VMPPClassDestroyMockedCallback = VMPPClassDestroyMockDefault
View Source
var VMPPClassGetAlarmConfigMockedCallback = VMPPClassGetAlarmConfigMockDefault
View Source
var VMPPClassGetAlertsMockedCallback = VMPPClassGetAlertsMockDefault
View Source
var VMPPClassGetAllMockedCallback = VMPPClassGetAllMockDefault
View Source
var VMPPClassGetAllRecordsMockedCallback = VMPPClassGetAllRecordsMockDefault
View Source
var VMPPClassGetArchiveFrequencyMockedCallback = VMPPClassGetArchiveFrequencyMockDefault
View Source
var VMPPClassGetArchiveLastRunTimeMockedCallback = VMPPClassGetArchiveLastRunTimeMockDefault
View Source
var VMPPClassGetArchiveScheduleMockedCallback = VMPPClassGetArchiveScheduleMockDefault
View Source
var VMPPClassGetArchiveTargetConfigMockedCallback = VMPPClassGetArchiveTargetConfigMockDefault
View Source
var VMPPClassGetArchiveTargetTypeMockedCallback = VMPPClassGetArchiveTargetTypeMockDefault
View Source
var VMPPClassGetBackupFrequencyMockedCallback = VMPPClassGetBackupFrequencyMockDefault
View Source
var VMPPClassGetBackupLastRunTimeMockedCallback = VMPPClassGetBackupLastRunTimeMockDefault
View Source
var VMPPClassGetBackupRetentionValueMockedCallback = VMPPClassGetBackupRetentionValueMockDefault
View Source
var VMPPClassGetBackupScheduleMockedCallback = VMPPClassGetBackupScheduleMockDefault
View Source
var VMPPClassGetBackupTypeMockedCallback = VMPPClassGetBackupTypeMockDefault
View Source
var VMPPClassGetByNameLabelMockedCallback = VMPPClassGetByNameLabelMockDefault
View Source
var VMPPClassGetByUUIDMockedCallback = VMPPClassGetByUUIDMockDefault
View Source
var VMPPClassGetIsAlarmEnabledMockedCallback = VMPPClassGetIsAlarmEnabledMockDefault
View Source
var VMPPClassGetIsArchiveRunningMockedCallback = VMPPClassGetIsArchiveRunningMockDefault
View Source
var VMPPClassGetIsBackupRunningMockedCallback = VMPPClassGetIsBackupRunningMockDefault
View Source
var VMPPClassGetIsPolicyEnabledMockedCallback = VMPPClassGetIsPolicyEnabledMockDefault
View Source
var VMPPClassGetNameDescriptionMockedCallback = VMPPClassGetNameDescriptionMockDefault
View Source
var VMPPClassGetNameLabelMockedCallback = VMPPClassGetNameLabelMockDefault
View Source
var VMPPClassGetRecentAlertsMockedCallback = VMPPClassGetRecentAlertsMockDefault
View Source
var VMPPClassGetRecordMockedCallback = VMPPClassGetRecordMockDefault
View Source
var VMPPClassGetUUIDMockedCallback = VMPPClassGetUUIDMockDefault
View Source
var VMPPClassGetVMsMockedCallback = VMPPClassGetVMsMockDefault
View Source
var VMPPClassProtectNowMockedCallback = VMPPClassProtectNowMockDefault
View Source
var VMPPClassRemoveFromAlarmConfigMockedCallback = VMPPClassRemoveFromAlarmConfigMockDefault
View Source
var VMPPClassRemoveFromArchiveScheduleMockedCallback = VMPPClassRemoveFromArchiveScheduleMockDefault
View Source
var VMPPClassRemoveFromArchiveTargetConfigMockedCallback = VMPPClassRemoveFromArchiveTargetConfigMockDefault
View Source
var VMPPClassRemoveFromBackupScheduleMockedCallback = VMPPClassRemoveFromBackupScheduleMockDefault
View Source
var VMPPClassSetAlarmConfigMockedCallback = VMPPClassSetAlarmConfigMockDefault
View Source
var VMPPClassSetArchiveFrequencyMockedCallback = VMPPClassSetArchiveFrequencyMockDefault
View Source
var VMPPClassSetArchiveLastRunTimeMockedCallback = VMPPClassSetArchiveLastRunTimeMockDefault
View Source
var VMPPClassSetArchiveScheduleMockedCallback = VMPPClassSetArchiveScheduleMockDefault
View Source
var VMPPClassSetArchiveTargetConfigMockedCallback = VMPPClassSetArchiveTargetConfigMockDefault
View Source
var VMPPClassSetArchiveTargetTypeMockedCallback = VMPPClassSetArchiveTargetTypeMockDefault
View Source
var VMPPClassSetBackupFrequencyMockedCallback = VMPPClassSetBackupFrequencyMockDefault
View Source
var VMPPClassSetBackupLastRunTimeMockedCallback = VMPPClassSetBackupLastRunTimeMockDefault
View Source
var VMPPClassSetBackupRetentionValueMockedCallback = VMPPClassSetBackupRetentionValueMockDefault
View Source
var VMPPClassSetBackupScheduleMockedCallback = VMPPClassSetBackupScheduleMockDefault
View Source
var VMPPClassSetBackupTypeMockedCallback = VMPPClassSetBackupTypeMockDefault
View Source
var VMPPClassSetIsAlarmEnabledMockedCallback = VMPPClassSetIsAlarmEnabledMockDefault
View Source
var VMPPClassSetIsPolicyEnabledMockedCallback = VMPPClassSetIsPolicyEnabledMockDefault
View Source
var VMPPClassSetNameDescriptionMockedCallback = VMPPClassSetNameDescriptionMockDefault
View Source
var VMPPClassSetNameLabelMockedCallback = VMPPClassSetNameLabelMockDefault
View Source
var VMSSClassAddToScheduleMockedCallback = VMSSClassAddToScheduleMockDefault
View Source
var VMSSClassCreateMockedCallback = VMSSClassCreateMockDefault
View Source
var VMSSClassDestroyMockedCallback = VMSSClassDestroyMockDefault
View Source
var VMSSClassGetAllMockedCallback = VMSSClassGetAllMockDefault
View Source
var VMSSClassGetAllRecordsMockedCallback = VMSSClassGetAllRecordsMockDefault
View Source
var VMSSClassGetByNameLabelMockedCallback = VMSSClassGetByNameLabelMockDefault
View Source
var VMSSClassGetByUUIDMockedCallback = VMSSClassGetByUUIDMockDefault
View Source
var VMSSClassGetEnabledMockedCallback = VMSSClassGetEnabledMockDefault
View Source
var VMSSClassGetFrequencyMockedCallback = VMSSClassGetFrequencyMockDefault
View Source
var VMSSClassGetLastRunTimeMockedCallback = VMSSClassGetLastRunTimeMockDefault
View Source
var VMSSClassGetNameDescriptionMockedCallback = VMSSClassGetNameDescriptionMockDefault
View Source
var VMSSClassGetNameLabelMockedCallback = VMSSClassGetNameLabelMockDefault
View Source
var VMSSClassGetRecordMockedCallback = VMSSClassGetRecordMockDefault
View Source
var VMSSClassGetRetainedSnapshotsMockedCallback = VMSSClassGetRetainedSnapshotsMockDefault
View Source
var VMSSClassGetScheduleMockedCallback = VMSSClassGetScheduleMockDefault
View Source
var VMSSClassGetTypeMockedCallback = VMSSClassGetTypeMockDefault
View Source
var VMSSClassGetUUIDMockedCallback = VMSSClassGetUUIDMockDefault
View Source
var VMSSClassGetVMsMockedCallback = VMSSClassGetVMsMockDefault
View Source
var VMSSClassRemoveFromScheduleMockedCallback = VMSSClassRemoveFromScheduleMockDefault
View Source
var VMSSClassSetEnabledMockedCallback = VMSSClassSetEnabledMockDefault
View Source
var VMSSClassSetFrequencyMockedCallback = VMSSClassSetFrequencyMockDefault
View Source
var VMSSClassSetLastRunTimeMockedCallback = VMSSClassSetLastRunTimeMockDefault
View Source
var VMSSClassSetNameDescriptionMockedCallback = VMSSClassSetNameDescriptionMockDefault
View Source
var VMSSClassSetNameLabelMockedCallback = VMSSClassSetNameLabelMockDefault
View Source
var VMSSClassSetRetainedSnapshotsMockedCallback = VMSSClassSetRetainedSnapshotsMockDefault
View Source
var VMSSClassSetScheduleMockedCallback = VMSSClassSetScheduleMockDefault
View Source
var VMSSClassSetTypeMockedCallback = VMSSClassSetTypeMockDefault
View Source
var VMSSClassSnapshotNowMockedCallback = VMSSClassSnapshotNowMockDefault
View Source
var VTPMClassCreateMockedCallback = VTPMClassCreateMockDefault
View Source
var VTPMClassDestroyMockedCallback = VTPMClassDestroyMockDefault
View Source
var VTPMClassGetBackendMockedCallback = VTPMClassGetBackendMockDefault
View Source
var VTPMClassGetByUUIDMockedCallback = VTPMClassGetByUUIDMockDefault
View Source
var VTPMClassGetRecordMockedCallback = VTPMClassGetRecordMockDefault
View Source
var VTPMClassGetUUIDMockedCallback = VTPMClassGetUUIDMockDefault
View Source
var VTPMClassGetVMMockedCallback = VTPMClassGetVMMockDefault
View Source
var VUSBClassAddToOtherConfigMockedCallback = VUSBClassAddToOtherConfigMockDefault
View Source
var VUSBClassCreateMockedCallback = VUSBClassCreateMockDefault
View Source
var VUSBClassDestroyMockedCallback = VUSBClassDestroyMockDefault
View Source
var VUSBClassGetAllMockedCallback = VUSBClassGetAllMockDefault
View Source
var VUSBClassGetAllRecordsMockedCallback = VUSBClassGetAllRecordsMockDefault
View Source
var VUSBClassGetAllowedOperationsMockedCallback = VUSBClassGetAllowedOperationsMockDefault
View Source
var VUSBClassGetByUUIDMockedCallback = VUSBClassGetByUUIDMockDefault
View Source
var VUSBClassGetCurrentOperationsMockedCallback = VUSBClassGetCurrentOperationsMockDefault
View Source
var VUSBClassGetCurrentlyAttachedMockedCallback = VUSBClassGetCurrentlyAttachedMockDefault
View Source
var VUSBClassGetOtherConfigMockedCallback = VUSBClassGetOtherConfigMockDefault
View Source
var VUSBClassGetRecordMockedCallback = VUSBClassGetRecordMockDefault
View Source
var VUSBClassGetUSBGroupMockedCallback = VUSBClassGetUSBGroupMockDefault
View Source
var VUSBClassGetUUIDMockedCallback = VUSBClassGetUUIDMockDefault
View Source
var VUSBClassGetVMMockedCallback = VUSBClassGetVMMockDefault
View Source
var VUSBClassRemoveFromOtherConfigMockedCallback = VUSBClassRemoveFromOtherConfigMockDefault
View Source
var VUSBClassSetOtherConfigMockedCallback = VUSBClassSetOtherConfigMockDefault
View Source
var VUSBClassUnplugMockedCallback = VUSBClassUnplugMockDefault

Functions

func AuthClassGetGroupMembershipMockDefault

func AuthClassGetGroupMembershipMockDefault(sessionID SessionRef, subjectIdentifier string) (_retval []string, _err error)

func AuthClassGetSubjectIdentifierMockDefault

func AuthClassGetSubjectIdentifierMockDefault(sessionID SessionRef, subjectName string) (_retval string, _err error)

func AuthClassGetSubjectInformationFromIdentifierMockDefault

func AuthClassGetSubjectInformationFromIdentifierMockDefault(sessionID SessionRef, subjectIdentifier string) (_retval map[string]string, _err error)

func BlobClassDestroyMockDefault

func BlobClassDestroyMockDefault(sessionID SessionRef, self BlobRef) (_err error)

func BlobClassGetAllRecordsMockDefault

func BlobClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[BlobRef]BlobRecord, _err error)

func BlobClassGetLastUpdatedMockDefault

func BlobClassGetLastUpdatedMockDefault(sessionID SessionRef, self BlobRef) (_retval time.Time, _err error)

func BlobClassGetMimeTypeMockDefault

func BlobClassGetMimeTypeMockDefault(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func BlobClassGetNameDescriptionMockDefault

func BlobClassGetNameDescriptionMockDefault(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func BlobClassGetNameLabelMockDefault

func BlobClassGetNameLabelMockDefault(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func BlobClassGetPublicMockDefault

func BlobClassGetPublicMockDefault(sessionID SessionRef, self BlobRef) (_retval bool, _err error)

func BlobClassGetSizeMockDefault

func BlobClassGetSizeMockDefault(sessionID SessionRef, self BlobRef) (_retval int, _err error)

func BlobClassGetUUIDMockDefault

func BlobClassGetUUIDMockDefault(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func BlobClassSetNameDescriptionMockDefault

func BlobClassSetNameDescriptionMockDefault(sessionID SessionRef, self BlobRef, value string) (_err error)

func BlobClassSetNameLabelMockDefault

func BlobClassSetNameLabelMockDefault(sessionID SessionRef, self BlobRef, value string) (_err error)

func BlobClassSetPublicMockDefault

func BlobClassSetPublicMockDefault(sessionID SessionRef, self BlobRef, value bool) (_err error)

func BondClassAddToOtherConfigMockDefault

func BondClassAddToOtherConfigMockDefault(sessionID SessionRef, self BondRef, key string, value string) (_err error)

func BondClassDestroyMockDefault

func BondClassDestroyMockDefault(sessionID SessionRef, self BondRef) (_err error)

func BondClassGetAllRecordsMockDefault

func BondClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[BondRef]BondRecord, _err error)

func BondClassGetLinksUpMockDefault

func BondClassGetLinksUpMockDefault(sessionID SessionRef, self BondRef) (_retval int, _err error)

func BondClassGetOtherConfigMockDefault

func BondClassGetOtherConfigMockDefault(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

func BondClassGetPropertiesMockDefault

func BondClassGetPropertiesMockDefault(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

func BondClassGetUUIDMockDefault

func BondClassGetUUIDMockDefault(sessionID SessionRef, self BondRef) (_retval string, _err error)

func BondClassRemoveFromOtherConfigMockDefault

func BondClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self BondRef, key string) (_err error)

func BondClassSetModeMockDefault

func BondClassSetModeMockDefault(sessionID SessionRef, self BondRef, value BondMode) (_err error)

func BondClassSetOtherConfigMockDefault

func BondClassSetOtherConfigMockDefault(sessionID SessionRef, self BondRef, value map[string]string) (_err error)

func BondClassSetPropertyMockDefault

func BondClassSetPropertyMockDefault(sessionID SessionRef, self BondRef, name string, value string) (_err error)

func ConsoleClassAddToOtherConfigMockDefault

func ConsoleClassAddToOtherConfigMockDefault(sessionID SessionRef, self ConsoleRef, key string, value string) (_err error)

func ConsoleClassDestroyMockDefault

func ConsoleClassDestroyMockDefault(sessionID SessionRef, self ConsoleRef) (_err error)

func ConsoleClassGetAllRecordsMockDefault

func ConsoleClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[ConsoleRef]ConsoleRecord, _err error)

func ConsoleClassGetLocationMockDefault

func ConsoleClassGetLocationMockDefault(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

func ConsoleClassGetOtherConfigMockDefault

func ConsoleClassGetOtherConfigMockDefault(sessionID SessionRef, self ConsoleRef) (_retval map[string]string, _err error)

func ConsoleClassGetUUIDMockDefault

func ConsoleClassGetUUIDMockDefault(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

func ConsoleClassRemoveFromOtherConfigMockDefault

func ConsoleClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self ConsoleRef, key string) (_err error)

func ConsoleClassSetOtherConfigMockDefault

func ConsoleClassSetOtherConfigMockDefault(sessionID SessionRef, self ConsoleRef, value map[string]string) (_err error)

func CrashdumpClassAddToOtherConfigMockDefault

func CrashdumpClassAddToOtherConfigMockDefault(sessionID SessionRef, self CrashdumpRef, key string, value string) (_err error)

func CrashdumpClassDestroyMockDefault

func CrashdumpClassDestroyMockDefault(sessionID SessionRef, self CrashdumpRef) (_err error)

func CrashdumpClassGetAllRecordsMockDefault

func CrashdumpClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[CrashdumpRef]CrashdumpRecord, _err error)

func CrashdumpClassGetOtherConfigMockDefault

func CrashdumpClassGetOtherConfigMockDefault(sessionID SessionRef, self CrashdumpRef) (_retval map[string]string, _err error)

func CrashdumpClassGetUUIDMockDefault

func CrashdumpClassGetUUIDMockDefault(sessionID SessionRef, self CrashdumpRef) (_retval string, _err error)

func CrashdumpClassRemoveFromOtherConfigMockDefault

func CrashdumpClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self CrashdumpRef, key string) (_err error)

func CrashdumpClassSetOtherConfigMockDefault

func CrashdumpClassSetOtherConfigMockDefault(sessionID SessionRef, self CrashdumpRef, value map[string]string) (_err error)

func DRTaskClassDestroyMockDefault

func DRTaskClassDestroyMockDefault(sessionID SessionRef, self DRTaskRef) (_err error)

func DRTaskClassGetAllRecordsMockDefault

func DRTaskClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[DRTaskRef]DRTaskRecord, _err error)

func DRTaskClassGetUUIDMockDefault

func DRTaskClassGetUUIDMockDefault(sessionID SessionRef, self DRTaskRef) (_retval string, _err error)

func EventClassGetCurrentIDMockDefault

func EventClassGetCurrentIDMockDefault(sessionID SessionRef) (_retval int, _err error)

func EventClassInjectMockDefault

func EventClassInjectMockDefault(sessionID SessionRef, class string, ref string) (_retval string, _err error)

func EventClassRegisterMockDefault

func EventClassRegisterMockDefault(sessionID SessionRef, classes []string) (_err error)

func EventClassUnregisterMockDefault

func EventClassUnregisterMockDefault(sessionID SessionRef, classes []string) (_err error)

func FeatureClassGetAllRecordsMockDefault

func FeatureClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[FeatureRef]FeatureRecord, _err error)

func FeatureClassGetEnabledMockDefault

func FeatureClassGetEnabledMockDefault(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

func FeatureClassGetExperimentalMockDefault

func FeatureClassGetExperimentalMockDefault(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

func FeatureClassGetNameDescriptionMockDefault

func FeatureClassGetNameDescriptionMockDefault(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func FeatureClassGetNameLabelMockDefault

func FeatureClassGetNameLabelMockDefault(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func FeatureClassGetUUIDMockDefault

func FeatureClassGetUUIDMockDefault(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func FeatureClassGetVersionMockDefault

func FeatureClassGetVersionMockDefault(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func GPUGroupClassAddToOtherConfigMockDefault

func GPUGroupClassAddToOtherConfigMockDefault(sessionID SessionRef, self GPUGroupRef, key string, value string) (_err error)

func GPUGroupClassDestroyMockDefault

func GPUGroupClassDestroyMockDefault(sessionID SessionRef, self GPUGroupRef) (_err error)

func GPUGroupClassGetAllRecordsMockDefault

func GPUGroupClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[GPUGroupRef]GPUGroupRecord, _err error)

func GPUGroupClassGetGPUTypesMockDefault

func GPUGroupClassGetGPUTypesMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval []string, _err error)

func GPUGroupClassGetNameDescriptionMockDefault

func GPUGroupClassGetNameDescriptionMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func GPUGroupClassGetNameLabelMockDefault

func GPUGroupClassGetNameLabelMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func GPUGroupClassGetOtherConfigMockDefault

func GPUGroupClassGetOtherConfigMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval map[string]string, _err error)

func GPUGroupClassGetRemainingCapacityMockDefault

func GPUGroupClassGetRemainingCapacityMockDefault(sessionID SessionRef, self GPUGroupRef, vgpuType VGPUTypeRef) (_retval int, _err error)

func GPUGroupClassGetUUIDMockDefault

func GPUGroupClassGetUUIDMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func GPUGroupClassRemoveFromOtherConfigMockDefault

func GPUGroupClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self GPUGroupRef, key string) (_err error)

func GPUGroupClassSetAllocationAlgorithmMockDefault

func GPUGroupClassSetAllocationAlgorithmMockDefault(sessionID SessionRef, self GPUGroupRef, value AllocationAlgorithm) (_err error)

func GPUGroupClassSetNameDescriptionMockDefault

func GPUGroupClassSetNameDescriptionMockDefault(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

func GPUGroupClassSetNameLabelMockDefault

func GPUGroupClassSetNameLabelMockDefault(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

func GPUGroupClassSetOtherConfigMockDefault

func GPUGroupClassSetOtherConfigMockDefault(sessionID SessionRef, self GPUGroupRef, value map[string]string) (_err error)

func HostCPUClassAddToOtherConfigMockDefault

func HostCPUClassAddToOtherConfigMockDefault(sessionID SessionRef, self HostCPURef, key string, value string) (_err error)

func HostCPUClassGetAllRecordsMockDefault

func HostCPUClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[HostCPURef]HostCPURecord, _err error)

func HostCPUClassGetFamilyMockDefault

func HostCPUClassGetFamilyMockDefault(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func HostCPUClassGetFeaturesMockDefault

func HostCPUClassGetFeaturesMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassGetFlagsMockDefault

func HostCPUClassGetFlagsMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassGetModelMockDefault

func HostCPUClassGetModelMockDefault(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func HostCPUClassGetModelnameMockDefault

func HostCPUClassGetModelnameMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassGetNumberMockDefault

func HostCPUClassGetNumberMockDefault(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func HostCPUClassGetOtherConfigMockDefault

func HostCPUClassGetOtherConfigMockDefault(sessionID SessionRef, self HostCPURef) (_retval map[string]string, _err error)

func HostCPUClassGetSpeedMockDefault

func HostCPUClassGetSpeedMockDefault(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func HostCPUClassGetSteppingMockDefault

func HostCPUClassGetSteppingMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassGetUUIDMockDefault

func HostCPUClassGetUUIDMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassGetUtilisationMockDefault

func HostCPUClassGetUtilisationMockDefault(sessionID SessionRef, self HostCPURef) (_retval float64, _err error)

func HostCPUClassGetVendorMockDefault

func HostCPUClassGetVendorMockDefault(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func HostCPUClassRemoveFromOtherConfigMockDefault

func HostCPUClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self HostCPURef, key string) (_err error)

func HostCPUClassSetOtherConfigMockDefault

func HostCPUClassSetOtherConfigMockDefault(sessionID SessionRef, self HostCPURef, value map[string]string) (_err error)

func HostClassAddTagsMockDefault

func HostClassAddTagsMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassAddToGuestVCPUsParamsMockDefault

func HostClassAddToGuestVCPUsParamsMockDefault(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func HostClassAddToLicenseServerMockDefault

func HostClassAddToLicenseServerMockDefault(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func HostClassAddToLoggingMockDefault

func HostClassAddToLoggingMockDefault(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func HostClassAddToOtherConfigMockDefault

func HostClassAddToOtherConfigMockDefault(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func HostClassApplyEditionMockDefault

func HostClassApplyEditionMockDefault(sessionID SessionRef, host HostRef, edition string, force bool) (_err error)

func HostClassAssertCanEvacuateMockDefault

func HostClassAssertCanEvacuateMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassBackupRrdsMockDefault

func HostClassBackupRrdsMockDefault(sessionID SessionRef, host HostRef, delay float64) (_err error)

func HostClassBugreportUploadMockDefault

func HostClassBugreportUploadMockDefault(sessionID SessionRef, host HostRef, url string, options map[string]string) (_err error)

func HostClassCallExtensionMockDefault

func HostClassCallExtensionMockDefault(sessionID SessionRef, host HostRef, call string) (_retval string, _err error)

func HostClassCallPluginMockDefault

func HostClassCallPluginMockDefault(sessionID SessionRef, host HostRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

func HostClassComputeFreeMemoryMockDefault

func HostClassComputeFreeMemoryMockDefault(sessionID SessionRef, host HostRef) (_retval int, _err error)

func HostClassComputeMemoryOverheadMockDefault

func HostClassComputeMemoryOverheadMockDefault(sessionID SessionRef, host HostRef) (_retval int, _err error)

func HostClassDeclareDeadMockDefault

func HostClassDeclareDeadMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassDestroyMockDefault

func HostClassDestroyMockDefault(sessionID SessionRef, self HostRef) (_err error)

func HostClassDisableExternalAuthMockDefault

func HostClassDisableExternalAuthMockDefault(sessionID SessionRef, host HostRef, config map[string]string) (_err error)

func HostClassDisableLocalStorageCachingMockDefault

func HostClassDisableLocalStorageCachingMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassDisableMockDefault

func HostClassDisableMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassDmesgClearMockDefault

func HostClassDmesgClearMockDefault(sessionID SessionRef, host HostRef) (_retval string, _err error)

func HostClassDmesgMockDefault

func HostClassDmesgMockDefault(sessionID SessionRef, host HostRef) (_retval string, _err error)

func HostClassEmergencyHaDisableMockDefault

func HostClassEmergencyHaDisableMockDefault(sessionID SessionRef, soft bool) (_err error)

func HostClassEnableExternalAuthMockDefault

func HostClassEnableExternalAuthMockDefault(sessionID SessionRef, host HostRef, config map[string]string, serviceName string, authType string) (_err error)

func HostClassEnableLocalStorageCachingMockDefault

func HostClassEnableLocalStorageCachingMockDefault(sessionID SessionRef, host HostRef, sr SRRef) (_err error)

func HostClassEnableMockDefault

func HostClassEnableMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassEvacuateMockDefault

func HostClassEvacuateMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassForgetDataSourceArchivesMockDefault

func HostClassForgetDataSourceArchivesMockDefault(sessionID SessionRef, host HostRef, dataSource string) (_err error)

func HostClassGetAPIVersionMajorMockDefault

func HostClassGetAPIVersionMajorMockDefault(sessionID SessionRef, self HostRef) (_retval int, _err error)

func HostClassGetAPIVersionMinorMockDefault

func HostClassGetAPIVersionMinorMockDefault(sessionID SessionRef, self HostRef) (_retval int, _err error)

func HostClassGetAPIVersionVendorImplementationMockDefault

func HostClassGetAPIVersionVendorImplementationMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetAPIVersionVendorMockDefault

func HostClassGetAPIVersionVendorMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetAddressMockDefault

func HostClassGetAddressMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetAllRecordsMockDefault

func HostClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[HostRef]HostRecord, _err error)

func HostClassGetBiosStringsMockDefault

func HostClassGetBiosStringsMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetBlobsMockDefault

func HostClassGetBlobsMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]BlobRef, _err error)

func HostClassGetCPUConfigurationMockDefault

func HostClassGetCPUConfigurationMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetCPUInfoMockDefault

func HostClassGetCPUInfoMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetCapabilitiesMockDefault

func HostClassGetCapabilitiesMockDefault(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func HostClassGetChipsetInfoMockDefault

func HostClassGetChipsetInfoMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetCurrentOperationsMockDefault

func HostClassGetCurrentOperationsMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]HostAllowedOperations, _err error)

func HostClassGetEditionMockDefault

func HostClassGetEditionMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetEnabledMockDefault

func HostClassGetEnabledMockDefault(sessionID SessionRef, self HostRef) (_retval bool, _err error)

func HostClassGetExternalAuthConfigurationMockDefault

func HostClassGetExternalAuthConfigurationMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetExternalAuthServiceNameMockDefault

func HostClassGetExternalAuthServiceNameMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetExternalAuthTypeMockDefault

func HostClassGetExternalAuthTypeMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetGuestVCPUsParamsMockDefault

func HostClassGetGuestVCPUsParamsMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetHaNetworkPeersMockDefault

func HostClassGetHaNetworkPeersMockDefault(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func HostClassGetHaStatefilesMockDefault

func HostClassGetHaStatefilesMockDefault(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func HostClassGetHostnameMockDefault

func HostClassGetHostnameMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetLicenseParamsMockDefault

func HostClassGetLicenseParamsMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetLicenseServerMockDefault

func HostClassGetLicenseServerMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetLogMockDefault

func HostClassGetLogMockDefault(sessionID SessionRef, host HostRef) (_retval string, _err error)

func HostClassGetLoggingMockDefault

func HostClassGetLoggingMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetMemoryOverheadMockDefault

func HostClassGetMemoryOverheadMockDefault(sessionID SessionRef, self HostRef) (_retval int, _err error)

func HostClassGetNameDescriptionMockDefault

func HostClassGetNameDescriptionMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetNameLabelMockDefault

func HostClassGetNameLabelMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetOtherConfigMockDefault

func HostClassGetOtherConfigMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetPowerOnConfigMockDefault

func HostClassGetPowerOnConfigMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetPowerOnModeMockDefault

func HostClassGetPowerOnModeMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetSchedPolicyMockDefault

func HostClassGetSchedPolicyMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetServerCertificateMockDefault

func HostClassGetServerCertificateMockDefault(sessionID SessionRef, host HostRef) (_retval string, _err error)

func HostClassGetServerLocaltimeMockDefault

func HostClassGetServerLocaltimeMockDefault(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

func HostClassGetServertimeMockDefault

func HostClassGetServertimeMockDefault(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

func HostClassGetSoftwareVersionMockDefault

func HostClassGetSoftwareVersionMockDefault(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func HostClassGetSslLegacyMockDefault

func HostClassGetSslLegacyMockDefault(sessionID SessionRef, self HostRef) (_retval bool, _err error)

func HostClassGetSupportedBootloadersMockDefault

func HostClassGetSupportedBootloadersMockDefault(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func HostClassGetSystemStatusCapabilitiesMockDefault

func HostClassGetSystemStatusCapabilitiesMockDefault(sessionID SessionRef, host HostRef) (_retval string, _err error)

func HostClassGetTagsMockDefault

func HostClassGetTagsMockDefault(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func HostClassGetUUIDMockDefault

func HostClassGetUUIDMockDefault(sessionID SessionRef, self HostRef) (_retval string, _err error)

func HostClassGetVirtualHardwarePlatformVersionsMockDefault

func HostClassGetVirtualHardwarePlatformVersionsMockDefault(sessionID SessionRef, self HostRef) (_retval []int, _err error)

func HostClassGetVmsWhichPreventEvacuationMockDefault

func HostClassGetVmsWhichPreventEvacuationMockDefault(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

func HostClassHasExtensionMockDefault

func HostClassHasExtensionMockDefault(sessionID SessionRef, host HostRef, name string) (_retval bool, _err error)

func HostClassLicenseAddMockDefault

func HostClassLicenseAddMockDefault(sessionID SessionRef, host HostRef, contents string) (_err error)

func HostClassLicenseApplyMockDefault

func HostClassLicenseApplyMockDefault(sessionID SessionRef, host HostRef, contents string) (_err error)

func HostClassLicenseRemoveMockDefault

func HostClassLicenseRemoveMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassListMethodsMockDefault

func HostClassListMethodsMockDefault(sessionID SessionRef) (_retval []string, _err error)

func HostClassLocalManagementReconfigureMockDefault

func HostClassLocalManagementReconfigureMockDefault(sessionID SessionRef, iface string) (_err error)

func HostClassManagementDisableMockDefault

func HostClassManagementDisableMockDefault(sessionID SessionRef) (_err error)

func HostClassManagementReconfigureMockDefault

func HostClassManagementReconfigureMockDefault(sessionID SessionRef, pif PIFRef) (_err error)

func HostClassMigrateReceiveMockDefault

func HostClassMigrateReceiveMockDefault(sessionID SessionRef, host HostRef, network NetworkRef, options map[string]string) (_retval map[string]string, _err error)

func HostClassPowerOnMockDefault

func HostClassPowerOnMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassQueryDataSourceMockDefault

func HostClassQueryDataSourceMockDefault(sessionID SessionRef, host HostRef, dataSource string) (_retval float64, _err error)

func HostClassRebootMockDefault

func HostClassRebootMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassRecordDataSourceMockDefault

func HostClassRecordDataSourceMockDefault(sessionID SessionRef, host HostRef, dataSource string) (_err error)

func HostClassRefreshPackInfoMockDefault

func HostClassRefreshPackInfoMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassRemoveFromGuestVCPUsParamsMockDefault

func HostClassRemoveFromGuestVCPUsParamsMockDefault(sessionID SessionRef, self HostRef, key string) (_err error)

func HostClassRemoveFromLicenseServerMockDefault

func HostClassRemoveFromLicenseServerMockDefault(sessionID SessionRef, self HostRef, key string) (_err error)

func HostClassRemoveFromLoggingMockDefault

func HostClassRemoveFromLoggingMockDefault(sessionID SessionRef, self HostRef, key string) (_err error)

func HostClassRemoveFromOtherConfigMockDefault

func HostClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self HostRef, key string) (_err error)

func HostClassRemoveTagsMockDefault

func HostClassRemoveTagsMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassResetCPUFeaturesMockDefault

func HostClassResetCPUFeaturesMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassRestartAgentMockDefault

func HostClassRestartAgentMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassRetrieveWlbEvacuateRecommendationsMockDefault

func HostClassRetrieveWlbEvacuateRecommendationsMockDefault(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

func HostClassSendDebugKeysMockDefault

func HostClassSendDebugKeysMockDefault(sessionID SessionRef, host HostRef, keys string) (_err error)

func HostClassSetAddressMockDefault

func HostClassSetAddressMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassSetCPUFeaturesMockDefault

func HostClassSetCPUFeaturesMockDefault(sessionID SessionRef, host HostRef, features string) (_err error)

func HostClassSetCrashDumpSrMockDefault

func HostClassSetCrashDumpSrMockDefault(sessionID SessionRef, self HostRef, value SRRef) (_err error)

func HostClassSetDisplayMockDefault

func HostClassSetDisplayMockDefault(sessionID SessionRef, self HostRef, value HostDisplay) (_err error)

func HostClassSetGuestVCPUsParamsMockDefault

func HostClassSetGuestVCPUsParamsMockDefault(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func HostClassSetHostnameLiveMockDefault

func HostClassSetHostnameLiveMockDefault(sessionID SessionRef, host HostRef, hostname string) (_err error)

func HostClassSetHostnameMockDefault

func HostClassSetHostnameMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassSetLicenseServerMockDefault

func HostClassSetLicenseServerMockDefault(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func HostClassSetLoggingMockDefault

func HostClassSetLoggingMockDefault(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func HostClassSetNameDescriptionMockDefault

func HostClassSetNameDescriptionMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassSetNameLabelMockDefault

func HostClassSetNameLabelMockDefault(sessionID SessionRef, self HostRef, value string) (_err error)

func HostClassSetOtherConfigMockDefault

func HostClassSetOtherConfigMockDefault(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func HostClassSetPowerOnModeMockDefault

func HostClassSetPowerOnModeMockDefault(sessionID SessionRef, self HostRef, powerOnMode string, powerOnConfig map[string]string) (_err error)

func HostClassSetSslLegacyMockDefault

func HostClassSetSslLegacyMockDefault(sessionID SessionRef, self HostRef, value bool) (_err error)

func HostClassSetSuspendImageSrMockDefault

func HostClassSetSuspendImageSrMockDefault(sessionID SessionRef, self HostRef, value SRRef) (_err error)

func HostClassSetTagsMockDefault

func HostClassSetTagsMockDefault(sessionID SessionRef, self HostRef, value []string) (_err error)

func HostClassShutdownAgentMockDefault

func HostClassShutdownAgentMockDefault(sessionID SessionRef) (_err error)

func HostClassShutdownMockDefault

func HostClassShutdownMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassSyncDataMockDefault

func HostClassSyncDataMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostClassSyslogReconfigureMockDefault

func HostClassSyslogReconfigureMockDefault(sessionID SessionRef, host HostRef) (_err error)

func HostCrashdumpClassAddToOtherConfigMockDefault

func HostCrashdumpClassAddToOtherConfigMockDefault(sessionID SessionRef, self HostCrashdumpRef, key string, value string) (_err error)

func HostCrashdumpClassDestroyMockDefault

func HostCrashdumpClassDestroyMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_err error)

func HostCrashdumpClassGetAllRecordsMockDefault

func HostCrashdumpClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[HostCrashdumpRef]HostCrashdumpRecord, _err error)

func HostCrashdumpClassGetOtherConfigMockDefault

func HostCrashdumpClassGetOtherConfigMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval map[string]string, _err error)

func HostCrashdumpClassGetSizeMockDefault

func HostCrashdumpClassGetSizeMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval int, _err error)

func HostCrashdumpClassGetTimestampMockDefault

func HostCrashdumpClassGetTimestampMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval time.Time, _err error)

func HostCrashdumpClassGetUUIDMockDefault

func HostCrashdumpClassGetUUIDMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval string, _err error)

func HostCrashdumpClassRemoveFromOtherConfigMockDefault

func HostCrashdumpClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self HostCrashdumpRef, key string) (_err error)

func HostCrashdumpClassSetOtherConfigMockDefault

func HostCrashdumpClassSetOtherConfigMockDefault(sessionID SessionRef, self HostCrashdumpRef, value map[string]string) (_err error)

func HostCrashdumpClassUploadMockDefault

func HostCrashdumpClassUploadMockDefault(sessionID SessionRef, self HostCrashdumpRef, url string, options map[string]string) (_err error)

func HostMetricsClassAddToOtherConfigMockDefault

func HostMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self HostMetricsRef, key string, value string) (_err error)

func HostMetricsClassGetAllRecordsMockDefault

func HostMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[HostMetricsRef]HostMetricsRecord, _err error)

func HostMetricsClassGetLastUpdatedMockDefault

func HostMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval time.Time, _err error)

func HostMetricsClassGetLiveMockDefault

func HostMetricsClassGetLiveMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval bool, _err error)

func HostMetricsClassGetMemoryFreeMockDefault

func HostMetricsClassGetMemoryFreeMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

func HostMetricsClassGetMemoryTotalMockDefault

func HostMetricsClassGetMemoryTotalMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

func HostMetricsClassGetOtherConfigMockDefault

func HostMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval map[string]string, _err error)

func HostMetricsClassGetUUIDMockDefault

func HostMetricsClassGetUUIDMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval string, _err error)

func HostMetricsClassRemoveFromOtherConfigMockDefault

func HostMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self HostMetricsRef, key string) (_err error)

func HostMetricsClassSetOtherConfigMockDefault

func HostMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self HostMetricsRef, value map[string]string) (_err error)

func HostPatchClassAddToOtherConfigMockDefault

func HostPatchClassAddToOtherConfigMockDefault(sessionID SessionRef, self HostPatchRef, key string, value string) (_err error)

func HostPatchClassApplyMockDefault

func HostPatchClassApplyMockDefault(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func HostPatchClassDestroyMockDefault

func HostPatchClassDestroyMockDefault(sessionID SessionRef, self HostPatchRef) (_err error)

func HostPatchClassGetAllRecordsMockDefault

func HostPatchClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[HostPatchRef]HostPatchRecord, _err error)

func HostPatchClassGetAppliedMockDefault

func HostPatchClassGetAppliedMockDefault(sessionID SessionRef, self HostPatchRef) (_retval bool, _err error)

func HostPatchClassGetNameDescriptionMockDefault

func HostPatchClassGetNameDescriptionMockDefault(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func HostPatchClassGetNameLabelMockDefault

func HostPatchClassGetNameLabelMockDefault(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func HostPatchClassGetOtherConfigMockDefault

func HostPatchClassGetOtherConfigMockDefault(sessionID SessionRef, self HostPatchRef) (_retval map[string]string, _err error)

func HostPatchClassGetSizeMockDefault

func HostPatchClassGetSizeMockDefault(sessionID SessionRef, self HostPatchRef) (_retval int, _err error)

func HostPatchClassGetTimestampAppliedMockDefault

func HostPatchClassGetTimestampAppliedMockDefault(sessionID SessionRef, self HostPatchRef) (_retval time.Time, _err error)

func HostPatchClassGetUUIDMockDefault

func HostPatchClassGetUUIDMockDefault(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func HostPatchClassGetVersionMockDefault

func HostPatchClassGetVersionMockDefault(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func HostPatchClassRemoveFromOtherConfigMockDefault

func HostPatchClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self HostPatchRef, key string) (_err error)

func HostPatchClassSetOtherConfigMockDefault

func HostPatchClassSetOtherConfigMockDefault(sessionID SessionRef, self HostPatchRef, value map[string]string) (_err error)

func LVHDClassEnableThinProvisioningMockDefault

func LVHDClassEnableThinProvisioningMockDefault(sessionID SessionRef, host HostRef, sr SRRef, initialAllocation int, allocationQuantum int) (_retval string, _err error)

func LVHDClassGetUUIDMockDefault

func LVHDClassGetUUIDMockDefault(sessionID SessionRef, self LVHDRef) (_retval string, _err error)

func MessageClassDestroyMockDefault

func MessageClassDestroyMockDefault(sessionID SessionRef, self MessageRef) (_err error)

func MessageClassGetAllRecordsMockDefault

func MessageClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[MessageRef]MessageRecord, _err error)

func MessageClassGetAllRecordsWhereMockDefault

func MessageClassGetAllRecordsWhereMockDefault(sessionID SessionRef, expr string) (_retval map[MessageRef]MessageRecord, _err error)

func MessageClassGetMockDefault

func MessageClassGetMockDefault(sessionID SessionRef, cls Cls, objUUID string, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

func MessageClassGetSinceMockDefault

func MessageClassGetSinceMockDefault(sessionID SessionRef, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

func NetworkClassAddPurposeMockDefault

func NetworkClassAddPurposeMockDefault(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

func NetworkClassAddTagsMockDefault

func NetworkClassAddTagsMockDefault(sessionID SessionRef, self NetworkRef, value string) (_err error)

func NetworkClassAddToOtherConfigMockDefault

func NetworkClassAddToOtherConfigMockDefault(sessionID SessionRef, self NetworkRef, key string, value string) (_err error)

func NetworkClassDestroyMockDefault

func NetworkClassDestroyMockDefault(sessionID SessionRef, self NetworkRef) (_err error)

func NetworkClassGetAllRecordsMockDefault

func NetworkClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[NetworkRef]NetworkRecord, _err error)

func NetworkClassGetAssignedIpsMockDefault

func NetworkClassGetAssignedIpsMockDefault(sessionID SessionRef, self NetworkRef) (_retval map[VIFRef]string, _err error)

func NetworkClassGetBlobsMockDefault

func NetworkClassGetBlobsMockDefault(sessionID SessionRef, self NetworkRef) (_retval map[string]BlobRef, _err error)

func NetworkClassGetBridgeMockDefault

func NetworkClassGetBridgeMockDefault(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func NetworkClassGetCurrentOperationsMockDefault

func NetworkClassGetCurrentOperationsMockDefault(sessionID SessionRef, self NetworkRef) (_retval map[string]NetworkOperations, _err error)

func NetworkClassGetMTUMockDefault

func NetworkClassGetMTUMockDefault(sessionID SessionRef, self NetworkRef) (_retval int, _err error)

func NetworkClassGetManagedMockDefault

func NetworkClassGetManagedMockDefault(sessionID SessionRef, self NetworkRef) (_retval bool, _err error)

func NetworkClassGetNameDescriptionMockDefault

func NetworkClassGetNameDescriptionMockDefault(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func NetworkClassGetNameLabelMockDefault

func NetworkClassGetNameLabelMockDefault(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func NetworkClassGetOtherConfigMockDefault

func NetworkClassGetOtherConfigMockDefault(sessionID SessionRef, self NetworkRef) (_retval map[string]string, _err error)

func NetworkClassGetTagsMockDefault

func NetworkClassGetTagsMockDefault(sessionID SessionRef, self NetworkRef) (_retval []string, _err error)

func NetworkClassGetUUIDMockDefault

func NetworkClassGetUUIDMockDefault(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func NetworkClassRemoveFromOtherConfigMockDefault

func NetworkClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self NetworkRef, key string) (_err error)

func NetworkClassRemovePurposeMockDefault

func NetworkClassRemovePurposeMockDefault(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

func NetworkClassRemoveTagsMockDefault

func NetworkClassRemoveTagsMockDefault(sessionID SessionRef, self NetworkRef, value string) (_err error)

func NetworkClassSetDefaultLockingModeMockDefault

func NetworkClassSetDefaultLockingModeMockDefault(sessionID SessionRef, network NetworkRef, value NetworkDefaultLockingMode) (_err error)

func NetworkClassSetMTUMockDefault

func NetworkClassSetMTUMockDefault(sessionID SessionRef, self NetworkRef, value int) (_err error)

func NetworkClassSetNameDescriptionMockDefault

func NetworkClassSetNameDescriptionMockDefault(sessionID SessionRef, self NetworkRef, value string) (_err error)

func NetworkClassSetNameLabelMockDefault

func NetworkClassSetNameLabelMockDefault(sessionID SessionRef, self NetworkRef, value string) (_err error)

func NetworkClassSetOtherConfigMockDefault

func NetworkClassSetOtherConfigMockDefault(sessionID SessionRef, self NetworkRef, value map[string]string) (_err error)

func NetworkClassSetTagsMockDefault

func NetworkClassSetTagsMockDefault(sessionID SessionRef, self NetworkRef, value []string) (_err error)

func PBDClassAddToOtherConfigMockDefault

func PBDClassAddToOtherConfigMockDefault(sessionID SessionRef, self PBDRef, key string, value string) (_err error)

func PBDClassDestroyMockDefault

func PBDClassDestroyMockDefault(sessionID SessionRef, self PBDRef) (_err error)

func PBDClassGetAllRecordsMockDefault

func PBDClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PBDRef]PBDRecord, _err error)

func PBDClassGetCurrentlyAttachedMockDefault

func PBDClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self PBDRef) (_retval bool, _err error)

func PBDClassGetDeviceConfigMockDefault

func PBDClassGetDeviceConfigMockDefault(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

func PBDClassGetOtherConfigMockDefault

func PBDClassGetOtherConfigMockDefault(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

func PBDClassGetUUIDMockDefault

func PBDClassGetUUIDMockDefault(sessionID SessionRef, self PBDRef) (_retval string, _err error)

func PBDClassPlugMockDefault

func PBDClassPlugMockDefault(sessionID SessionRef, self PBDRef) (_err error)

func PBDClassRemoveFromOtherConfigMockDefault

func PBDClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PBDRef, key string) (_err error)

func PBDClassSetDeviceConfigMockDefault

func PBDClassSetDeviceConfigMockDefault(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

func PBDClassSetOtherConfigMockDefault

func PBDClassSetOtherConfigMockDefault(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

func PBDClassUnplugMockDefault

func PBDClassUnplugMockDefault(sessionID SessionRef, self PBDRef) (_err error)

func PCIClassAddToOtherConfigMockDefault

func PCIClassAddToOtherConfigMockDefault(sessionID SessionRef, self PCIRef, key string, value string) (_err error)

func PCIClassGetAllRecordsMockDefault

func PCIClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PCIRef]PCIRecord, _err error)

func PCIClassGetClassNameMockDefault

func PCIClassGetClassNameMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetDeviceNameMockDefault

func PCIClassGetDeviceNameMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetOtherConfigMockDefault

func PCIClassGetOtherConfigMockDefault(sessionID SessionRef, self PCIRef) (_retval map[string]string, _err error)

func PCIClassGetPciIDMockDefault

func PCIClassGetPciIDMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetSubsystemDeviceNameMockDefault

func PCIClassGetSubsystemDeviceNameMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetSubsystemVendorNameMockDefault

func PCIClassGetSubsystemVendorNameMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetUUIDMockDefault

func PCIClassGetUUIDMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassGetVendorNameMockDefault

func PCIClassGetVendorNameMockDefault(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func PCIClassRemoveFromOtherConfigMockDefault

func PCIClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PCIRef, key string) (_err error)

func PCIClassSetOtherConfigMockDefault

func PCIClassSetOtherConfigMockDefault(sessionID SessionRef, self PCIRef, value map[string]string) (_err error)

func PGPUClassAddEnabledVGPUTypesMockDefault

func PGPUClassAddEnabledVGPUTypesMockDefault(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func PGPUClassAddToOtherConfigMockDefault

func PGPUClassAddToOtherConfigMockDefault(sessionID SessionRef, self PGPURef, key string, value string) (_err error)

func PGPUClassGetAllRecordsMockDefault

func PGPUClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PGPURef]PGPURecord, _err error)

func PGPUClassGetCompatibilityMetadataMockDefault

func PGPUClassGetCompatibilityMetadataMockDefault(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

func PGPUClassGetIsSystemDisplayDeviceMockDefault

func PGPUClassGetIsSystemDisplayDeviceMockDefault(sessionID SessionRef, self PGPURef) (_retval bool, _err error)

func PGPUClassGetOtherConfigMockDefault

func PGPUClassGetOtherConfigMockDefault(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

func PGPUClassGetRemainingCapacityMockDefault

func PGPUClassGetRemainingCapacityMockDefault(sessionID SessionRef, self PGPURef, vgpuType VGPUTypeRef) (_retval int, _err error)

func PGPUClassGetSupportedVGPUMaxCapacitiesMockDefault

func PGPUClassGetSupportedVGPUMaxCapacitiesMockDefault(sessionID SessionRef, self PGPURef) (_retval map[VGPUTypeRef]int, _err error)

func PGPUClassGetUUIDMockDefault

func PGPUClassGetUUIDMockDefault(sessionID SessionRef, self PGPURef) (_retval string, _err error)

func PGPUClassRemoveEnabledVGPUTypesMockDefault

func PGPUClassRemoveEnabledVGPUTypesMockDefault(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func PGPUClassRemoveFromOtherConfigMockDefault

func PGPUClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PGPURef, key string) (_err error)

func PGPUClassSetEnabledVGPUTypesMockDefault

func PGPUClassSetEnabledVGPUTypesMockDefault(sessionID SessionRef, self PGPURef, value []VGPUTypeRef) (_err error)

func PGPUClassSetGPUGroupMockDefault

func PGPUClassSetGPUGroupMockDefault(sessionID SessionRef, self PGPURef, value GPUGroupRef) (_err error)

func PGPUClassSetOtherConfigMockDefault

func PGPUClassSetOtherConfigMockDefault(sessionID SessionRef, self PGPURef, value map[string]string) (_err error)

func PIFClassAddToOtherConfigMockDefault

func PIFClassAddToOtherConfigMockDefault(sessionID SessionRef, self PIFRef, key string, value string) (_err error)

func PIFClassDbForgetMockDefault

func PIFClassDbForgetMockDefault(sessionID SessionRef, self PIFRef) (_err error)

func PIFClassDestroyMockDefault

func PIFClassDestroyMockDefault(sessionID SessionRef, self PIFRef) (_err error)

func PIFClassForgetMockDefault

func PIFClassForgetMockDefault(sessionID SessionRef, self PIFRef) (_err error)

func PIFClassGetAllRecordsMockDefault

func PIFClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PIFRef]PIFRecord, _err error)

func PIFClassGetCapabilitiesMockDefault

func PIFClassGetCapabilitiesMockDefault(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

func PIFClassGetCurrentlyAttachedMockDefault

func PIFClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func PIFClassGetDNSMockDefault

func PIFClassGetDNSMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetDeviceMockDefault

func PIFClassGetDeviceMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetDisallowUnplugMockDefault

func PIFClassGetDisallowUnplugMockDefault(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func PIFClassGetGatewayMockDefault

func PIFClassGetGatewayMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetIPMockDefault

func PIFClassGetIPMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetIPv6MockDefault

func PIFClassGetIPv6MockDefault(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

func PIFClassGetIpv6GatewayMockDefault

func PIFClassGetIpv6GatewayMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetMACMockDefault

func PIFClassGetMACMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetMTUMockDefault

func PIFClassGetMTUMockDefault(sessionID SessionRef, self PIFRef) (_retval int, _err error)

func PIFClassGetManagedMockDefault

func PIFClassGetManagedMockDefault(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func PIFClassGetManagementMockDefault

func PIFClassGetManagementMockDefault(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func PIFClassGetNetmaskMockDefault

func PIFClassGetNetmaskMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetOtherConfigMockDefault

func PIFClassGetOtherConfigMockDefault(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

func PIFClassGetPhysicalMockDefault

func PIFClassGetPhysicalMockDefault(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func PIFClassGetPropertiesMockDefault

func PIFClassGetPropertiesMockDefault(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

func PIFClassGetUUIDMockDefault

func PIFClassGetUUIDMockDefault(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func PIFClassGetVLANMockDefault

func PIFClassGetVLANMockDefault(sessionID SessionRef, self PIFRef) (_retval int, _err error)

func PIFClassPlugMockDefault

func PIFClassPlugMockDefault(sessionID SessionRef, self PIFRef) (_err error)

func PIFClassReconfigureIPMockDefault

func PIFClassReconfigureIPMockDefault(sessionID SessionRef, self PIFRef, mode IPConfigurationMode, ip string, netmask string, gateway string, dns string) (_err error)

func PIFClassReconfigureIpv6MockDefault

func PIFClassReconfigureIpv6MockDefault(sessionID SessionRef, self PIFRef, mode Ipv6ConfigurationMode, ipv6 string, gateway string, dns string) (_err error)

func PIFClassRemoveFromOtherConfigMockDefault

func PIFClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PIFRef, key string) (_err error)

func PIFClassScanMockDefault

func PIFClassScanMockDefault(sessionID SessionRef, host HostRef) (_err error)

func PIFClassSetDisallowUnplugMockDefault

func PIFClassSetDisallowUnplugMockDefault(sessionID SessionRef, self PIFRef, value bool) (_err error)

func PIFClassSetOtherConfigMockDefault

func PIFClassSetOtherConfigMockDefault(sessionID SessionRef, self PIFRef, value map[string]string) (_err error)

func PIFClassSetPrimaryAddressTypeMockDefault

func PIFClassSetPrimaryAddressTypeMockDefault(sessionID SessionRef, self PIFRef, primaryAddressType PrimaryAddressType) (_err error)

func PIFClassSetPropertyMockDefault

func PIFClassSetPropertyMockDefault(sessionID SessionRef, self PIFRef, name string, value string) (_err error)

func PIFClassUnplugMockDefault

func PIFClassUnplugMockDefault(sessionID SessionRef, self PIFRef) (_err error)

func PIFMetricsClassAddToOtherConfigMockDefault

func PIFMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self PIFMetricsRef, key string, value string) (_err error)

func PIFMetricsClassGetAllRecordsMockDefault

func PIFMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PIFMetricsRef]PIFMetricsRecord, _err error)

func PIFMetricsClassGetCarrierMockDefault

func PIFMetricsClassGetCarrierMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

func PIFMetricsClassGetDeviceIDMockDefault

func PIFMetricsClassGetDeviceIDMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassGetDeviceNameMockDefault

func PIFMetricsClassGetDeviceNameMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassGetDuplexMockDefault

func PIFMetricsClassGetDuplexMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

func PIFMetricsClassGetIoReadKbsMockDefault

func PIFMetricsClassGetIoReadKbsMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

func PIFMetricsClassGetIoWriteKbsMockDefault

func PIFMetricsClassGetIoWriteKbsMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

func PIFMetricsClassGetLastUpdatedMockDefault

func PIFMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval time.Time, _err error)

func PIFMetricsClassGetOtherConfigMockDefault

func PIFMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval map[string]string, _err error)

func PIFMetricsClassGetPciBusPathMockDefault

func PIFMetricsClassGetPciBusPathMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassGetSpeedMockDefault

func PIFMetricsClassGetSpeedMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval int, _err error)

func PIFMetricsClassGetUUIDMockDefault

func PIFMetricsClassGetUUIDMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassGetVendorIDMockDefault

func PIFMetricsClassGetVendorIDMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassGetVendorNameMockDefault

func PIFMetricsClassGetVendorNameMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func PIFMetricsClassRemoveFromOtherConfigMockDefault

func PIFMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PIFMetricsRef, key string) (_err error)

func PIFMetricsClassSetOtherConfigMockDefault

func PIFMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self PIFMetricsRef, value map[string]string) (_err error)

func PUSBClassAddToOtherConfigMockDefault

func PUSBClassAddToOtherConfigMockDefault(sessionID SessionRef, self PUSBRef, key string, value string) (_err error)

func PUSBClassGetAllRecordsMockDefault

func PUSBClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PUSBRef]PUSBRecord, _err error)

func PUSBClassGetDescriptionMockDefault

func PUSBClassGetDescriptionMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetOtherConfigMockDefault

func PUSBClassGetOtherConfigMockDefault(sessionID SessionRef, self PUSBRef) (_retval map[string]string, _err error)

func PUSBClassGetPassthroughEnabledMockDefault

func PUSBClassGetPassthroughEnabledMockDefault(sessionID SessionRef, self PUSBRef) (_retval bool, _err error)

func PUSBClassGetPathMockDefault

func PUSBClassGetPathMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetProductDescMockDefault

func PUSBClassGetProductDescMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetProductIDMockDefault

func PUSBClassGetProductIDMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetSerialMockDefault

func PUSBClassGetSerialMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetUUIDMockDefault

func PUSBClassGetUUIDMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetVendorDescMockDefault

func PUSBClassGetVendorDescMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetVendorIDMockDefault

func PUSBClassGetVendorIDMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassGetVersionMockDefault

func PUSBClassGetVersionMockDefault(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func PUSBClassRemoveFromOtherConfigMockDefault

func PUSBClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PUSBRef, key string) (_err error)

func PUSBClassScanMockDefault

func PUSBClassScanMockDefault(sessionID SessionRef, host HostRef) (_err error)

func PUSBClassSetOtherConfigMockDefault

func PUSBClassSetOtherConfigMockDefault(sessionID SessionRef, self PUSBRef, value map[string]string) (_err error)

func PUSBClassSetPassthroughEnabledMockDefault

func PUSBClassSetPassthroughEnabledMockDefault(sessionID SessionRef, self PUSBRef, value bool) (_err error)

func PVSCacheStorageClassDestroyMockDefault

func PVSCacheStorageClassDestroyMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_err error)

func PVSCacheStorageClassGetAllRecordsMockDefault

func PVSCacheStorageClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PVSCacheStorageRef]PVSCacheStorageRecord, _err error)

func PVSCacheStorageClassGetSizeMockDefault

func PVSCacheStorageClassGetSizeMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval int, _err error)

func PVSCacheStorageClassGetUUIDMockDefault

func PVSCacheStorageClassGetUUIDMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval string, _err error)

func PVSProxyClassDestroyMockDefault

func PVSProxyClassDestroyMockDefault(sessionID SessionRef, self PVSProxyRef) (_err error)

func PVSProxyClassGetAllRecordsMockDefault

func PVSProxyClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PVSProxyRef]PVSProxyRecord, _err error)

func PVSProxyClassGetCurrentlyAttachedMockDefault

func PVSProxyClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval bool, _err error)

func PVSProxyClassGetUUIDMockDefault

func PVSProxyClassGetUUIDMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval string, _err error)

func PVSServerClassForgetMockDefault

func PVSServerClassForgetMockDefault(sessionID SessionRef, self PVSServerRef) (_err error)

func PVSServerClassGetAddressesMockDefault

func PVSServerClassGetAddressesMockDefault(sessionID SessionRef, self PVSServerRef) (_retval []string, _err error)

func PVSServerClassGetAllRecordsMockDefault

func PVSServerClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PVSServerRef]PVSServerRecord, _err error)

func PVSServerClassGetFirstPortMockDefault

func PVSServerClassGetFirstPortMockDefault(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

func PVSServerClassGetLastPortMockDefault

func PVSServerClassGetLastPortMockDefault(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

func PVSServerClassGetUUIDMockDefault

func PVSServerClassGetUUIDMockDefault(sessionID SessionRef, self PVSServerRef) (_retval string, _err error)

func PVSSiteClassForgetMockDefault

func PVSSiteClassForgetMockDefault(sessionID SessionRef, self PVSSiteRef) (_err error)

func PVSSiteClassGetAllRecordsMockDefault

func PVSSiteClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PVSSiteRef]PVSSiteRecord, _err error)

func PVSSiteClassGetNameDescriptionMockDefault

func PVSSiteClassGetNameDescriptionMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func PVSSiteClassGetNameLabelMockDefault

func PVSSiteClassGetNameLabelMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func PVSSiteClassGetPVSUUIDMockDefault

func PVSSiteClassGetPVSUUIDMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func PVSSiteClassGetUUIDMockDefault

func PVSSiteClassGetUUIDMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func PVSSiteClassSetNameDescriptionMockDefault

func PVSSiteClassSetNameDescriptionMockDefault(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

func PVSSiteClassSetNameLabelMockDefault

func PVSSiteClassSetNameLabelMockDefault(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

func PVSSiteClassSetPVSUUIDMockDefault

func PVSSiteClassSetPVSUUIDMockDefault(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

func PoolClassAddTagsMockDefault

func PoolClassAddTagsMockDefault(sessionID SessionRef, self PoolRef, value string) (_err error)

func PoolClassAddToGuestAgentConfigMockDefault

func PoolClassAddToGuestAgentConfigMockDefault(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func PoolClassAddToGuiConfigMockDefault

func PoolClassAddToGuiConfigMockDefault(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func PoolClassAddToHealthCheckConfigMockDefault

func PoolClassAddToHealthCheckConfigMockDefault(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func PoolClassAddToOtherConfigMockDefault

func PoolClassAddToOtherConfigMockDefault(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func PoolClassApplyEditionMockDefault

func PoolClassApplyEditionMockDefault(sessionID SessionRef, self PoolRef, edition string) (_err error)

func PoolClassCertificateInstallMockDefault

func PoolClassCertificateInstallMockDefault(sessionID SessionRef, name string, cert string) (_err error)

func PoolClassCertificateListMockDefault

func PoolClassCertificateListMockDefault(sessionID SessionRef) (_retval []string, _err error)

func PoolClassCertificateSyncMockDefault

func PoolClassCertificateSyncMockDefault(sessionID SessionRef) (_err error)

func PoolClassCertificateUninstallMockDefault

func PoolClassCertificateUninstallMockDefault(sessionID SessionRef, name string) (_err error)

func PoolClassCrlInstallMockDefault

func PoolClassCrlInstallMockDefault(sessionID SessionRef, name string, cert string) (_err error)

func PoolClassCrlListMockDefault

func PoolClassCrlListMockDefault(sessionID SessionRef) (_retval []string, _err error)

func PoolClassCrlUninstallMockDefault

func PoolClassCrlUninstallMockDefault(sessionID SessionRef, name string) (_err error)

func PoolClassDeconfigureWlbMockDefault

func PoolClassDeconfigureWlbMockDefault(sessionID SessionRef) (_err error)

func PoolClassDesignateNewMasterMockDefault

func PoolClassDesignateNewMasterMockDefault(sessionID SessionRef, host HostRef) (_err error)

func PoolClassDetectNonhomogeneousExternalAuthMockDefault

func PoolClassDetectNonhomogeneousExternalAuthMockDefault(sessionID SessionRef, pool PoolRef) (_err error)

func PoolClassDisableExternalAuthMockDefault

func PoolClassDisableExternalAuthMockDefault(sessionID SessionRef, pool PoolRef, config map[string]string) (_err error)

func PoolClassDisableHaMockDefault

func PoolClassDisableHaMockDefault(sessionID SessionRef) (_err error)

func PoolClassDisableLocalStorageCachingMockDefault

func PoolClassDisableLocalStorageCachingMockDefault(sessionID SessionRef, self PoolRef) (_err error)

func PoolClassDisableRedoLogMockDefault

func PoolClassDisableRedoLogMockDefault(sessionID SessionRef) (_err error)

func PoolClassDisableSslLegacyMockDefault

func PoolClassDisableSslLegacyMockDefault(sessionID SessionRef, self PoolRef) (_err error)

func PoolClassEjectMockDefault

func PoolClassEjectMockDefault(sessionID SessionRef, host HostRef) (_err error)

func PoolClassEmergencyResetMasterMockDefault

func PoolClassEmergencyResetMasterMockDefault(sessionID SessionRef, masterAddress string) (_err error)

func PoolClassEmergencyTransitionToMasterMockDefault

func PoolClassEmergencyTransitionToMasterMockDefault(sessionID SessionRef) (_err error)

func PoolClassEnableExternalAuthMockDefault

func PoolClassEnableExternalAuthMockDefault(sessionID SessionRef, pool PoolRef, config map[string]string, serviceName string, authType string) (_err error)

func PoolClassEnableHaMockDefault

func PoolClassEnableHaMockDefault(sessionID SessionRef, heartbeatSrs []SRRef, configuration map[string]string) (_err error)

func PoolClassEnableLocalStorageCachingMockDefault

func PoolClassEnableLocalStorageCachingMockDefault(sessionID SessionRef, self PoolRef) (_err error)

func PoolClassEnableRedoLogMockDefault

func PoolClassEnableRedoLogMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func PoolClassEnableSslLegacyMockDefault

func PoolClassEnableSslLegacyMockDefault(sessionID SessionRef, self PoolRef) (_err error)

func PoolClassGetAllRecordsMockDefault

func PoolClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PoolRef]PoolRecord, _err error)

func PoolClassGetBlobsMockDefault

func PoolClassGetBlobsMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]BlobRef, _err error)

func PoolClassGetCPUInfoMockDefault

func PoolClassGetCPUInfoMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetCurrentOperationsMockDefault

func PoolClassGetCurrentOperationsMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]PoolAllowedOperations, _err error)

func PoolClassGetGuestAgentConfigMockDefault

func PoolClassGetGuestAgentConfigMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetGuiConfigMockDefault

func PoolClassGetGuiConfigMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetHaAllowOvercommitMockDefault

func PoolClassGetHaAllowOvercommitMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetHaClusterStackMockDefault

func PoolClassGetHaClusterStackMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetHaConfigurationMockDefault

func PoolClassGetHaConfigurationMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetHaEnabledMockDefault

func PoolClassGetHaEnabledMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetHaHostFailuresToTolerateMockDefault

func PoolClassGetHaHostFailuresToTolerateMockDefault(sessionID SessionRef, self PoolRef) (_retval int, _err error)

func PoolClassGetHaOvercommittedMockDefault

func PoolClassGetHaOvercommittedMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetHaPlanExistsForMockDefault

func PoolClassGetHaPlanExistsForMockDefault(sessionID SessionRef, self PoolRef) (_retval int, _err error)

func PoolClassGetHaStatefilesMockDefault

func PoolClassGetHaStatefilesMockDefault(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

func PoolClassGetHealthCheckConfigMockDefault

func PoolClassGetHealthCheckConfigMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetIgmpSnoopingEnabledMockDefault

func PoolClassGetIgmpSnoopingEnabledMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetLicenseStateMockDefault

func PoolClassGetLicenseStateMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetLivePatchingDisabledMockDefault

func PoolClassGetLivePatchingDisabledMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetNameDescriptionMockDefault

func PoolClassGetNameDescriptionMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetNameLabelMockDefault

func PoolClassGetNameLabelMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetOtherConfigMockDefault

func PoolClassGetOtherConfigMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetPolicyNoVendorDeviceMockDefault

func PoolClassGetPolicyNoVendorDeviceMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetRedoLogEnabledMockDefault

func PoolClassGetRedoLogEnabledMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetRestrictionsMockDefault

func PoolClassGetRestrictionsMockDefault(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func PoolClassGetTagsMockDefault

func PoolClassGetTagsMockDefault(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

func PoolClassGetUUIDMockDefault

func PoolClassGetUUIDMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetVswitchControllerMockDefault

func PoolClassGetVswitchControllerMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetWlbEnabledMockDefault

func PoolClassGetWlbEnabledMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassGetWlbURLMockDefault

func PoolClassGetWlbURLMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetWlbUsernameMockDefault

func PoolClassGetWlbUsernameMockDefault(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func PoolClassGetWlbVerifyCertMockDefault

func PoolClassGetWlbVerifyCertMockDefault(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func PoolClassHaComputeHypotheticalMaxHostFailuresToTolerateMockDefault

func PoolClassHaComputeHypotheticalMaxHostFailuresToTolerateMockDefault(sessionID SessionRef, configuration map[VMRef]string) (_retval int, _err error)

func PoolClassHaComputeMaxHostFailuresToTolerateMockDefault

func PoolClassHaComputeMaxHostFailuresToTolerateMockDefault(sessionID SessionRef) (_retval int, _err error)

func PoolClassHaComputeVMFailoverPlanMockDefault

func PoolClassHaComputeVMFailoverPlanMockDefault(sessionID SessionRef, failedHosts []HostRef, failedVms []VMRef) (_retval map[VMRef]map[string]string, _err error)

func PoolClassHaFailoverPlanExistsMockDefault

func PoolClassHaFailoverPlanExistsMockDefault(sessionID SessionRef, n int) (_retval bool, _err error)

func PoolClassHaPreventRestartsForMockDefault

func PoolClassHaPreventRestartsForMockDefault(sessionID SessionRef, seconds int) (_err error)

func PoolClassHasExtensionMockDefault

func PoolClassHasExtensionMockDefault(sessionID SessionRef, self PoolRef, name string) (_retval bool, _err error)

func PoolClassInitializeWlbMockDefault

func PoolClassInitializeWlbMockDefault(sessionID SessionRef, wlbURL string, wlbUsername string, wlbPassword string, xenserverUsername string, xenserverPassword string) (_err error)

func PoolClassJoinForceMockDefault

func PoolClassJoinForceMockDefault(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

func PoolClassJoinMockDefault

func PoolClassJoinMockDefault(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

func PoolClassManagementReconfigureMockDefault

func PoolClassManagementReconfigureMockDefault(sessionID SessionRef, network NetworkRef) (_err error)

func PoolClassRemoveFromGuestAgentConfigMockDefault

func PoolClassRemoveFromGuestAgentConfigMockDefault(sessionID SessionRef, self PoolRef, key string) (_err error)

func PoolClassRemoveFromGuiConfigMockDefault

func PoolClassRemoveFromGuiConfigMockDefault(sessionID SessionRef, self PoolRef, key string) (_err error)

func PoolClassRemoveFromHealthCheckConfigMockDefault

func PoolClassRemoveFromHealthCheckConfigMockDefault(sessionID SessionRef, self PoolRef, key string) (_err error)

func PoolClassRemoveFromOtherConfigMockDefault

func PoolClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PoolRef, key string) (_err error)

func PoolClassRemoveTagsMockDefault

func PoolClassRemoveTagsMockDefault(sessionID SessionRef, self PoolRef, value string) (_err error)

func PoolClassRetrieveWlbConfigurationMockDefault

func PoolClassRetrieveWlbConfigurationMockDefault(sessionID SessionRef) (_retval map[string]string, _err error)

func PoolClassRetrieveWlbRecommendationsMockDefault

func PoolClassRetrieveWlbRecommendationsMockDefault(sessionID SessionRef) (_retval map[VMRef][]string, _err error)

func PoolClassSendTestPostMockDefault

func PoolClassSendTestPostMockDefault(sessionID SessionRef, host string, port int, body string) (_retval string, _err error)

func PoolClassSendWlbConfigurationMockDefault

func PoolClassSendWlbConfigurationMockDefault(sessionID SessionRef, config map[string]string) (_err error)

func PoolClassSetCrashDumpSRMockDefault

func PoolClassSetCrashDumpSRMockDefault(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func PoolClassSetDefaultSRMockDefault

func PoolClassSetDefaultSRMockDefault(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func PoolClassSetGuiConfigMockDefault

func PoolClassSetGuiConfigMockDefault(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func PoolClassSetHaAllowOvercommitMockDefault

func PoolClassSetHaAllowOvercommitMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSetHaHostFailuresToTolerateMockDefault

func PoolClassSetHaHostFailuresToTolerateMockDefault(sessionID SessionRef, self PoolRef, value int) (_err error)

func PoolClassSetHealthCheckConfigMockDefault

func PoolClassSetHealthCheckConfigMockDefault(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func PoolClassSetIgmpSnoopingEnabledMockDefault

func PoolClassSetIgmpSnoopingEnabledMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSetLivePatchingDisabledMockDefault

func PoolClassSetLivePatchingDisabledMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSetNameDescriptionMockDefault

func PoolClassSetNameDescriptionMockDefault(sessionID SessionRef, self PoolRef, value string) (_err error)

func PoolClassSetNameLabelMockDefault

func PoolClassSetNameLabelMockDefault(sessionID SessionRef, self PoolRef, value string) (_err error)

func PoolClassSetOtherConfigMockDefault

func PoolClassSetOtherConfigMockDefault(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func PoolClassSetPolicyNoVendorDeviceMockDefault

func PoolClassSetPolicyNoVendorDeviceMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSetSuspendImageSRMockDefault

func PoolClassSetSuspendImageSRMockDefault(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func PoolClassSetTagsMockDefault

func PoolClassSetTagsMockDefault(sessionID SessionRef, self PoolRef, value []string) (_err error)

func PoolClassSetVswitchControllerMockDefault

func PoolClassSetVswitchControllerMockDefault(sessionID SessionRef, address string) (_err error)

func PoolClassSetWlbEnabledMockDefault

func PoolClassSetWlbEnabledMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSetWlbVerifyCertMockDefault

func PoolClassSetWlbVerifyCertMockDefault(sessionID SessionRef, self PoolRef, value bool) (_err error)

func PoolClassSyncDatabaseMockDefault

func PoolClassSyncDatabaseMockDefault(sessionID SessionRef) (_err error)

func PoolClassTestArchiveTargetMockDefault

func PoolClassTestArchiveTargetMockDefault(sessionID SessionRef, self PoolRef, config map[string]string) (_retval string, _err error)

func PoolPatchClassAddToOtherConfigMockDefault

func PoolPatchClassAddToOtherConfigMockDefault(sessionID SessionRef, self PoolPatchRef, key string, value string) (_err error)

func PoolPatchClassApplyMockDefault

func PoolPatchClassApplyMockDefault(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

func PoolPatchClassCleanMockDefault

func PoolPatchClassCleanMockDefault(sessionID SessionRef, self PoolPatchRef) (_err error)

func PoolPatchClassCleanOnHostMockDefault

func PoolPatchClassCleanOnHostMockDefault(sessionID SessionRef, self PoolPatchRef, host HostRef) (_err error)

func PoolPatchClassDestroyMockDefault

func PoolPatchClassDestroyMockDefault(sessionID SessionRef, self PoolPatchRef) (_err error)

func PoolPatchClassGetAllRecordsMockDefault

func PoolPatchClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PoolPatchRef]PoolPatchRecord, _err error)

func PoolPatchClassGetNameDescriptionMockDefault

func PoolPatchClassGetNameDescriptionMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func PoolPatchClassGetNameLabelMockDefault

func PoolPatchClassGetNameLabelMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func PoolPatchClassGetOtherConfigMockDefault

func PoolPatchClassGetOtherConfigMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval map[string]string, _err error)

func PoolPatchClassGetPoolAppliedMockDefault

func PoolPatchClassGetPoolAppliedMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval bool, _err error)

func PoolPatchClassGetSizeMockDefault

func PoolPatchClassGetSizeMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval int, _err error)

func PoolPatchClassGetUUIDMockDefault

func PoolPatchClassGetUUIDMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func PoolPatchClassGetVersionMockDefault

func PoolPatchClassGetVersionMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func PoolPatchClassPoolApplyMockDefault

func PoolPatchClassPoolApplyMockDefault(sessionID SessionRef, self PoolPatchRef) (_err error)

func PoolPatchClassPoolCleanMockDefault

func PoolPatchClassPoolCleanMockDefault(sessionID SessionRef, self PoolPatchRef) (_err error)

func PoolPatchClassPrecheckMockDefault

func PoolPatchClassPrecheckMockDefault(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

func PoolPatchClassRemoveFromOtherConfigMockDefault

func PoolPatchClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PoolPatchRef, key string) (_err error)

func PoolPatchClassSetOtherConfigMockDefault

func PoolPatchClassSetOtherConfigMockDefault(sessionID SessionRef, self PoolPatchRef, value map[string]string) (_err error)

func PoolUpdateClassAddToOtherConfigMockDefault

func PoolUpdateClassAddToOtherConfigMockDefault(sessionID SessionRef, self PoolUpdateRef, key string, value string) (_err error)

func PoolUpdateClassApplyMockDefault

func PoolUpdateClassApplyMockDefault(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_err error)

func PoolUpdateClassDestroyMockDefault

func PoolUpdateClassDestroyMockDefault(sessionID SessionRef, self PoolUpdateRef) (_err error)

func PoolUpdateClassGetAllRecordsMockDefault

func PoolUpdateClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[PoolUpdateRef]PoolUpdateRecord, _err error)

func PoolUpdateClassGetEnforceHomogeneityMockDefault

func PoolUpdateClassGetEnforceHomogeneityMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval bool, _err error)

func PoolUpdateClassGetInstallationSizeMockDefault

func PoolUpdateClassGetInstallationSizeMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval int, _err error)

func PoolUpdateClassGetKeyMockDefault

func PoolUpdateClassGetKeyMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func PoolUpdateClassGetNameDescriptionMockDefault

func PoolUpdateClassGetNameDescriptionMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func PoolUpdateClassGetNameLabelMockDefault

func PoolUpdateClassGetNameLabelMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func PoolUpdateClassGetOtherConfigMockDefault

func PoolUpdateClassGetOtherConfigMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval map[string]string, _err error)

func PoolUpdateClassGetUUIDMockDefault

func PoolUpdateClassGetUUIDMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func PoolUpdateClassGetVersionMockDefault

func PoolUpdateClassGetVersionMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func PoolUpdateClassPoolApplyMockDefault

func PoolUpdateClassPoolApplyMockDefault(sessionID SessionRef, self PoolUpdateRef) (_err error)

func PoolUpdateClassPoolCleanMockDefault

func PoolUpdateClassPoolCleanMockDefault(sessionID SessionRef, self PoolUpdateRef) (_err error)

func PoolUpdateClassRemoveFromOtherConfigMockDefault

func PoolUpdateClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self PoolUpdateRef, key string) (_err error)

func PoolUpdateClassSetOtherConfigMockDefault

func PoolUpdateClassSetOtherConfigMockDefault(sessionID SessionRef, self PoolUpdateRef, value map[string]string) (_err error)

func RoleClassGetAllRecordsMockDefault

func RoleClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[RoleRef]RoleRecord, _err error)

func RoleClassGetNameDescriptionMockDefault

func RoleClassGetNameDescriptionMockDefault(sessionID SessionRef, self RoleRef) (_retval string, _err error)

func RoleClassGetNameLabelMockDefault

func RoleClassGetNameLabelMockDefault(sessionID SessionRef, self RoleRef) (_retval string, _err error)

func RoleClassGetPermissionsNameLabelMockDefault

func RoleClassGetPermissionsNameLabelMockDefault(sessionID SessionRef, self RoleRef) (_retval []string, _err error)

func RoleClassGetUUIDMockDefault

func RoleClassGetUUIDMockDefault(sessionID SessionRef, self RoleRef) (_retval string, _err error)

func SDNControllerClassForgetMockDefault

func SDNControllerClassForgetMockDefault(sessionID SessionRef, self SDNControllerRef) (_err error)

func SDNControllerClassGetAddressMockDefault

func SDNControllerClassGetAddressMockDefault(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

func SDNControllerClassGetAllRecordsMockDefault

func SDNControllerClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[SDNControllerRef]SDNControllerRecord, _err error)

func SDNControllerClassGetPortMockDefault

func SDNControllerClassGetPortMockDefault(sessionID SessionRef, self SDNControllerRef) (_retval int, _err error)

func SDNControllerClassGetUUIDMockDefault

func SDNControllerClassGetUUIDMockDefault(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

func SMClassAddToOtherConfigMockDefault

func SMClassAddToOtherConfigMockDefault(sessionID SessionRef, self SMRef, key string, value string) (_err error)

func SMClassGetAllRecordsMockDefault

func SMClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[SMRef]SMRecord, _err error)

func SMClassGetCapabilitiesMockDefault

func SMClassGetCapabilitiesMockDefault(sessionID SessionRef, self SMRef) (_retval []string, _err error)

func SMClassGetConfigurationMockDefault

func SMClassGetConfigurationMockDefault(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

func SMClassGetCopyrightMockDefault

func SMClassGetCopyrightMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetDriverFilenameMockDefault

func SMClassGetDriverFilenameMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetFeaturesMockDefault

func SMClassGetFeaturesMockDefault(sessionID SessionRef, self SMRef) (_retval map[string]int, _err error)

func SMClassGetNameDescriptionMockDefault

func SMClassGetNameDescriptionMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetNameLabelMockDefault

func SMClassGetNameLabelMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetOtherConfigMockDefault

func SMClassGetOtherConfigMockDefault(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

func SMClassGetRequiredAPIVersionMockDefault

func SMClassGetRequiredAPIVersionMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetRequiredClusterStackMockDefault

func SMClassGetRequiredClusterStackMockDefault(sessionID SessionRef, self SMRef) (_retval []string, _err error)

func SMClassGetTypeMockDefault

func SMClassGetTypeMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetUUIDMockDefault

func SMClassGetUUIDMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetVendorMockDefault

func SMClassGetVendorMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassGetVersionMockDefault

func SMClassGetVersionMockDefault(sessionID SessionRef, self SMRef) (_retval string, _err error)

func SMClassRemoveFromOtherConfigMockDefault

func SMClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self SMRef, key string) (_err error)

func SMClassSetOtherConfigMockDefault

func SMClassSetOtherConfigMockDefault(sessionID SessionRef, self SMRef, value map[string]string) (_err error)

func SRClassAddTagsMockDefault

func SRClassAddTagsMockDefault(sessionID SessionRef, self SRRef, value string) (_err error)

func SRClassAddToOtherConfigMockDefault

func SRClassAddToOtherConfigMockDefault(sessionID SessionRef, self SRRef, key string, value string) (_err error)

func SRClassAddToSmConfigMockDefault

func SRClassAddToSmConfigMockDefault(sessionID SessionRef, self SRRef, key string, value string) (_err error)

func SRClassAssertCanHostHaStatefileMockDefault

func SRClassAssertCanHostHaStatefileMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassAssertSupportsDatabaseReplicationMockDefault

func SRClassAssertSupportsDatabaseReplicationMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassDestroyMockDefault

func SRClassDestroyMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassDisableDatabaseReplicationMockDefault

func SRClassDisableDatabaseReplicationMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassEnableDatabaseReplicationMockDefault

func SRClassEnableDatabaseReplicationMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassForgetDataSourceArchivesMockDefault

func SRClassForgetDataSourceArchivesMockDefault(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

func SRClassForgetMockDefault

func SRClassForgetMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassGetAllRecordsMockDefault

func SRClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[SRRef]SRRecord, _err error)

func SRClassGetBlobsMockDefault

func SRClassGetBlobsMockDefault(sessionID SessionRef, self SRRef) (_retval map[string]BlobRef, _err error)

func SRClassGetClusteredMockDefault

func SRClassGetClusteredMockDefault(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func SRClassGetContentTypeMockDefault

func SRClassGetContentTypeMockDefault(sessionID SessionRef, self SRRef) (_retval string, _err error)

func SRClassGetCurrentOperationsMockDefault

func SRClassGetCurrentOperationsMockDefault(sessionID SessionRef, self SRRef) (_retval map[string]StorageOperations, _err error)

func SRClassGetIsToolsSrMockDefault

func SRClassGetIsToolsSrMockDefault(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func SRClassGetLocalCacheEnabledMockDefault

func SRClassGetLocalCacheEnabledMockDefault(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func SRClassGetNameDescriptionMockDefault

func SRClassGetNameDescriptionMockDefault(sessionID SessionRef, self SRRef) (_retval string, _err error)

func SRClassGetNameLabelMockDefault

func SRClassGetNameLabelMockDefault(sessionID SessionRef, self SRRef) (_retval string, _err error)

func SRClassGetOtherConfigMockDefault

func SRClassGetOtherConfigMockDefault(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

func SRClassGetPhysicalSizeMockDefault

func SRClassGetPhysicalSizeMockDefault(sessionID SessionRef, self SRRef) (_retval int, _err error)

func SRClassGetPhysicalUtilisationMockDefault

func SRClassGetPhysicalUtilisationMockDefault(sessionID SessionRef, self SRRef) (_retval int, _err error)

func SRClassGetSharedMockDefault

func SRClassGetSharedMockDefault(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func SRClassGetSmConfigMockDefault

func SRClassGetSmConfigMockDefault(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

func SRClassGetSupportedTypesMockDefault

func SRClassGetSupportedTypesMockDefault(sessionID SessionRef) (_retval []string, _err error)

func SRClassGetTagsMockDefault

func SRClassGetTagsMockDefault(sessionID SessionRef, self SRRef) (_retval []string, _err error)

func SRClassGetTypeMockDefault

func SRClassGetTypeMockDefault(sessionID SessionRef, self SRRef) (_retval string, _err error)

func SRClassGetUUIDMockDefault

func SRClassGetUUIDMockDefault(sessionID SessionRef, self SRRef) (_retval string, _err error)

func SRClassGetVirtualAllocationMockDefault

func SRClassGetVirtualAllocationMockDefault(sessionID SessionRef, self SRRef) (_retval int, _err error)

func SRClassMakeMockDefault

func SRClassMakeMockDefault(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, smConfig map[string]string) (_retval string, _err error)

func SRClassProbeMockDefault

func SRClassProbeMockDefault(sessionID SessionRef, host HostRef, deviceConfig map[string]string, atype string, smConfig map[string]string) (_retval string, _err error)

func SRClassQueryDataSourceMockDefault

func SRClassQueryDataSourceMockDefault(sessionID SessionRef, sr SRRef, dataSource string) (_retval float64, _err error)

func SRClassRecordDataSourceMockDefault

func SRClassRecordDataSourceMockDefault(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

func SRClassRemoveFromOtherConfigMockDefault

func SRClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self SRRef, key string) (_err error)

func SRClassRemoveFromSmConfigMockDefault

func SRClassRemoveFromSmConfigMockDefault(sessionID SessionRef, self SRRef, key string) (_err error)

func SRClassRemoveTagsMockDefault

func SRClassRemoveTagsMockDefault(sessionID SessionRef, self SRRef, value string) (_err error)

func SRClassScanMockDefault

func SRClassScanMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SRClassSetNameDescriptionMockDefault

func SRClassSetNameDescriptionMockDefault(sessionID SessionRef, sr SRRef, value string) (_err error)

func SRClassSetNameLabelMockDefault

func SRClassSetNameLabelMockDefault(sessionID SessionRef, sr SRRef, value string) (_err error)

func SRClassSetOtherConfigMockDefault

func SRClassSetOtherConfigMockDefault(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

func SRClassSetPhysicalSizeMockDefault

func SRClassSetPhysicalSizeMockDefault(sessionID SessionRef, self SRRef, value int) (_err error)

func SRClassSetPhysicalUtilisationMockDefault

func SRClassSetPhysicalUtilisationMockDefault(sessionID SessionRef, self SRRef, value int) (_err error)

func SRClassSetSharedMockDefault

func SRClassSetSharedMockDefault(sessionID SessionRef, sr SRRef, value bool) (_err error)

func SRClassSetSmConfigMockDefault

func SRClassSetSmConfigMockDefault(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

func SRClassSetTagsMockDefault

func SRClassSetTagsMockDefault(sessionID SessionRef, self SRRef, value []string) (_err error)

func SRClassSetVirtualAllocationMockDefault

func SRClassSetVirtualAllocationMockDefault(sessionID SessionRef, self SRRef, value int) (_err error)

func SRClassUpdateMockDefault

func SRClassUpdateMockDefault(sessionID SessionRef, sr SRRef) (_err error)

func SecretClassAddToOtherConfigMockDefault

func SecretClassAddToOtherConfigMockDefault(sessionID SessionRef, self SecretRef, key string, value string) (_err error)

func SecretClassDestroyMockDefault

func SecretClassDestroyMockDefault(sessionID SessionRef, self SecretRef) (_err error)

func SecretClassGetAllRecordsMockDefault

func SecretClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[SecretRef]SecretRecord, _err error)

func SecretClassGetOtherConfigMockDefault

func SecretClassGetOtherConfigMockDefault(sessionID SessionRef, self SecretRef) (_retval map[string]string, _err error)

func SecretClassGetUUIDMockDefault

func SecretClassGetUUIDMockDefault(sessionID SessionRef, self SecretRef) (_retval string, _err error)

func SecretClassGetValueMockDefault

func SecretClassGetValueMockDefault(sessionID SessionRef, self SecretRef) (_retval string, _err error)

func SecretClassRemoveFromOtherConfigMockDefault

func SecretClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self SecretRef, key string) (_err error)

func SecretClassSetOtherConfigMockDefault

func SecretClassSetOtherConfigMockDefault(sessionID SessionRef, self SecretRef, value map[string]string) (_err error)

func SecretClassSetValueMockDefault

func SecretClassSetValueMockDefault(sessionID SessionRef, self SecretRef, value string) (_err error)

func SessionClassAddToOtherConfigMockDefault

func SessionClassAddToOtherConfigMockDefault(sessionID SessionRef, self SessionRef, key string, value string) (_err error)

func SessionClassChangePasswordMockDefault

func SessionClassChangePasswordMockDefault(sessionID SessionRef, oldPwd string, newPwd string) (_err error)

func SessionClassGetAllSubjectIdentifiersMockDefault

func SessionClassGetAllSubjectIdentifiersMockDefault(sessionID SessionRef) (_retval []string, _err error)

func SessionClassGetAuthUserNameMockDefault

func SessionClassGetAuthUserNameMockDefault(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func SessionClassGetAuthUserSidMockDefault

func SessionClassGetAuthUserSidMockDefault(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func SessionClassGetIsLocalSuperuserMockDefault

func SessionClassGetIsLocalSuperuserMockDefault(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

func SessionClassGetLastActiveMockDefault

func SessionClassGetLastActiveMockDefault(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

func SessionClassGetOriginatorMockDefault

func SessionClassGetOriginatorMockDefault(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func SessionClassGetOtherConfigMockDefault

func SessionClassGetOtherConfigMockDefault(sessionID SessionRef, self SessionRef) (_retval map[string]string, _err error)

func SessionClassGetPoolMockDefault

func SessionClassGetPoolMockDefault(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

func SessionClassGetRbacPermissionsMockDefault

func SessionClassGetRbacPermissionsMockDefault(sessionID SessionRef, self SessionRef) (_retval []string, _err error)

func SessionClassGetUUIDMockDefault

func SessionClassGetUUIDMockDefault(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func SessionClassGetValidationTimeMockDefault

func SessionClassGetValidationTimeMockDefault(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

func SessionClassLocalLogoutMockDefault

func SessionClassLocalLogoutMockDefault(sessionID SessionRef) (_err error)

func SessionClassLogoutMockDefault

func SessionClassLogoutMockDefault(sessionID SessionRef) (_err error)

func SessionClassLogoutSubjectIdentifierMockDefault

func SessionClassLogoutSubjectIdentifierMockDefault(sessionID SessionRef, subjectIdentifier string) (_err error)

func SessionClassRemoveFromOtherConfigMockDefault

func SessionClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self SessionRef, key string) (_err error)

func SessionClassSetOtherConfigMockDefault

func SessionClassSetOtherConfigMockDefault(sessionID SessionRef, self SessionRef, value map[string]string) (_err error)

func SubjectClassAddToRolesMockDefault

func SubjectClassAddToRolesMockDefault(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

func SubjectClassDestroyMockDefault

func SubjectClassDestroyMockDefault(sessionID SessionRef, self SubjectRef) (_err error)

func SubjectClassGetAllRecordsMockDefault

func SubjectClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[SubjectRef]SubjectRecord, _err error)

func SubjectClassGetOtherConfigMockDefault

func SubjectClassGetOtherConfigMockDefault(sessionID SessionRef, self SubjectRef) (_retval map[string]string, _err error)

func SubjectClassGetPermissionsNameLabelMockDefault

func SubjectClassGetPermissionsNameLabelMockDefault(sessionID SessionRef, self SubjectRef) (_retval []string, _err error)

func SubjectClassGetSubjectIdentifierMockDefault

func SubjectClassGetSubjectIdentifierMockDefault(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

func SubjectClassGetUUIDMockDefault

func SubjectClassGetUUIDMockDefault(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

func SubjectClassRemoveFromRolesMockDefault

func SubjectClassRemoveFromRolesMockDefault(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

func TaskClassAddToOtherConfigMockDefault

func TaskClassAddToOtherConfigMockDefault(sessionID SessionRef, self TaskRef, key string, value string) (_err error)

func TaskClassCancelMockDefault

func TaskClassCancelMockDefault(sessionID SessionRef, task TaskRef) (_err error)

func TaskClassDestroyMockDefault

func TaskClassDestroyMockDefault(sessionID SessionRef, self TaskRef) (_err error)

func TaskClassGetAllRecordsMockDefault

func TaskClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[TaskRef]TaskRecord, _err error)

func TaskClassGetBacktraceMockDefault

func TaskClassGetBacktraceMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassGetCreatedMockDefault

func TaskClassGetCreatedMockDefault(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

func TaskClassGetCurrentOperationsMockDefault

func TaskClassGetCurrentOperationsMockDefault(sessionID SessionRef, self TaskRef) (_retval map[string]TaskAllowedOperations, _err error)

func TaskClassGetErrorInfoMockDefault

func TaskClassGetErrorInfoMockDefault(sessionID SessionRef, self TaskRef) (_retval []string, _err error)

func TaskClassGetFinishedMockDefault

func TaskClassGetFinishedMockDefault(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

func TaskClassGetNameDescriptionMockDefault

func TaskClassGetNameDescriptionMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassGetNameLabelMockDefault

func TaskClassGetNameLabelMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassGetOtherConfigMockDefault

func TaskClassGetOtherConfigMockDefault(sessionID SessionRef, self TaskRef) (_retval map[string]string, _err error)

func TaskClassGetProgressMockDefault

func TaskClassGetProgressMockDefault(sessionID SessionRef, self TaskRef) (_retval float64, _err error)

func TaskClassGetResultMockDefault

func TaskClassGetResultMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassGetTypeMockDefault

func TaskClassGetTypeMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassGetUUIDMockDefault

func TaskClassGetUUIDMockDefault(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func TaskClassRemoveFromOtherConfigMockDefault

func TaskClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self TaskRef, key string) (_err error)

func TaskClassSetOtherConfigMockDefault

func TaskClassSetOtherConfigMockDefault(sessionID SessionRef, self TaskRef, value map[string]string) (_err error)

func TaskClassSetStatusMockDefault

func TaskClassSetStatusMockDefault(sessionID SessionRef, self TaskRef, value TaskStatusType) (_err error)

func TunnelClassAddToOtherConfigMockDefault

func TunnelClassAddToOtherConfigMockDefault(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

func TunnelClassAddToStatusMockDefault

func TunnelClassAddToStatusMockDefault(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

func TunnelClassDestroyMockDefault

func TunnelClassDestroyMockDefault(sessionID SessionRef, self TunnelRef) (_err error)

func TunnelClassGetAllRecordsMockDefault

func TunnelClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[TunnelRef]TunnelRecord, _err error)

func TunnelClassGetOtherConfigMockDefault

func TunnelClassGetOtherConfigMockDefault(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

func TunnelClassGetStatusMockDefault

func TunnelClassGetStatusMockDefault(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

func TunnelClassGetUUIDMockDefault

func TunnelClassGetUUIDMockDefault(sessionID SessionRef, self TunnelRef) (_retval string, _err error)

func TunnelClassRemoveFromOtherConfigMockDefault

func TunnelClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self TunnelRef, key string) (_err error)

func TunnelClassRemoveFromStatusMockDefault

func TunnelClassRemoveFromStatusMockDefault(sessionID SessionRef, self TunnelRef, key string) (_err error)

func TunnelClassSetOtherConfigMockDefault

func TunnelClassSetOtherConfigMockDefault(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

func TunnelClassSetStatusMockDefault

func TunnelClassSetStatusMockDefault(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

func USBGroupClassAddToOtherConfigMockDefault

func USBGroupClassAddToOtherConfigMockDefault(sessionID SessionRef, self USBGroupRef, key string, value string) (_err error)

func USBGroupClassDestroyMockDefault

func USBGroupClassDestroyMockDefault(sessionID SessionRef, self USBGroupRef) (_err error)

func USBGroupClassGetAllRecordsMockDefault

func USBGroupClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[USBGroupRef]USBGroupRecord, _err error)

func USBGroupClassGetNameDescriptionMockDefault

func USBGroupClassGetNameDescriptionMockDefault(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func USBGroupClassGetNameLabelMockDefault

func USBGroupClassGetNameLabelMockDefault(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func USBGroupClassGetOtherConfigMockDefault

func USBGroupClassGetOtherConfigMockDefault(sessionID SessionRef, self USBGroupRef) (_retval map[string]string, _err error)

func USBGroupClassGetUUIDMockDefault

func USBGroupClassGetUUIDMockDefault(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func USBGroupClassRemoveFromOtherConfigMockDefault

func USBGroupClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self USBGroupRef, key string) (_err error)

func USBGroupClassSetNameDescriptionMockDefault

func USBGroupClassSetNameDescriptionMockDefault(sessionID SessionRef, self USBGroupRef, value string) (_err error)

func USBGroupClassSetNameLabelMockDefault

func USBGroupClassSetNameLabelMockDefault(sessionID SessionRef, self USBGroupRef, value string) (_err error)

func USBGroupClassSetOtherConfigMockDefault

func USBGroupClassSetOtherConfigMockDefault(sessionID SessionRef, self USBGroupRef, value map[string]string) (_err error)

func UserClassAddToOtherConfigMockDefault

func UserClassAddToOtherConfigMockDefault(sessionID SessionRef, self UserRef, key string, value string) (_err error)

func UserClassDestroyMockDefault

func UserClassDestroyMockDefault(sessionID SessionRef, self UserRef) (_err error)

func UserClassGetFullnameMockDefault

func UserClassGetFullnameMockDefault(sessionID SessionRef, self UserRef) (_retval string, _err error)

func UserClassGetOtherConfigMockDefault

func UserClassGetOtherConfigMockDefault(sessionID SessionRef, self UserRef) (_retval map[string]string, _err error)

func UserClassGetShortNameMockDefault

func UserClassGetShortNameMockDefault(sessionID SessionRef, self UserRef) (_retval string, _err error)

func UserClassGetUUIDMockDefault

func UserClassGetUUIDMockDefault(sessionID SessionRef, self UserRef) (_retval string, _err error)

func UserClassRemoveFromOtherConfigMockDefault

func UserClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self UserRef, key string) (_err error)

func UserClassSetFullnameMockDefault

func UserClassSetFullnameMockDefault(sessionID SessionRef, self UserRef, value string) (_err error)

func UserClassSetOtherConfigMockDefault

func UserClassSetOtherConfigMockDefault(sessionID SessionRef, self UserRef, value map[string]string) (_err error)

func VBDClassAddToOtherConfigMockDefault

func VBDClassAddToOtherConfigMockDefault(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

func VBDClassAddToQosAlgorithmParamsMockDefault

func VBDClassAddToQosAlgorithmParamsMockDefault(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

func VBDClassAssertAttachableMockDefault

func VBDClassAssertAttachableMockDefault(sessionID SessionRef, self VBDRef) (_err error)

func VBDClassDestroyMockDefault

func VBDClassDestroyMockDefault(sessionID SessionRef, self VBDRef) (_err error)

func VBDClassEjectMockDefault

func VBDClassEjectMockDefault(sessionID SessionRef, vbd VBDRef) (_err error)

func VBDClassGetAllRecordsMockDefault

func VBDClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VBDRef]VBDRecord, _err error)

func VBDClassGetBootableMockDefault

func VBDClassGetBootableMockDefault(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func VBDClassGetCurrentOperationsMockDefault

func VBDClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VBDRef) (_retval map[string]VbdOperations, _err error)

func VBDClassGetCurrentlyAttachedMockDefault

func VBDClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func VBDClassGetDeviceMockDefault

func VBDClassGetDeviceMockDefault(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func VBDClassGetEmptyMockDefault

func VBDClassGetEmptyMockDefault(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func VBDClassGetOtherConfigMockDefault

func VBDClassGetOtherConfigMockDefault(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func VBDClassGetQosAlgorithmParamsMockDefault

func VBDClassGetQosAlgorithmParamsMockDefault(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func VBDClassGetQosAlgorithmTypeMockDefault

func VBDClassGetQosAlgorithmTypeMockDefault(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func VBDClassGetQosSupportedAlgorithmsMockDefault

func VBDClassGetQosSupportedAlgorithmsMockDefault(sessionID SessionRef, self VBDRef) (_retval []string, _err error)

func VBDClassGetRuntimePropertiesMockDefault

func VBDClassGetRuntimePropertiesMockDefault(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func VBDClassGetStatusCodeMockDefault

func VBDClassGetStatusCodeMockDefault(sessionID SessionRef, self VBDRef) (_retval int, _err error)

func VBDClassGetStatusDetailMockDefault

func VBDClassGetStatusDetailMockDefault(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func VBDClassGetStorageLockMockDefault

func VBDClassGetStorageLockMockDefault(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func VBDClassGetUUIDMockDefault

func VBDClassGetUUIDMockDefault(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func VBDClassGetUnpluggableMockDefault

func VBDClassGetUnpluggableMockDefault(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func VBDClassGetUserdeviceMockDefault

func VBDClassGetUserdeviceMockDefault(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func VBDClassInsertMockDefault

func VBDClassInsertMockDefault(sessionID SessionRef, vbd VBDRef, vdi VDIRef) (_err error)

func VBDClassPlugMockDefault

func VBDClassPlugMockDefault(sessionID SessionRef, self VBDRef) (_err error)

func VBDClassRemoveFromOtherConfigMockDefault

func VBDClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VBDRef, key string) (_err error)

func VBDClassRemoveFromQosAlgorithmParamsMockDefault

func VBDClassRemoveFromQosAlgorithmParamsMockDefault(sessionID SessionRef, self VBDRef, key string) (_err error)

func VBDClassSetBootableMockDefault

func VBDClassSetBootableMockDefault(sessionID SessionRef, self VBDRef, value bool) (_err error)

func VBDClassSetModeMockDefault

func VBDClassSetModeMockDefault(sessionID SessionRef, self VBDRef, value VbdMode) (_err error)

func VBDClassSetOtherConfigMockDefault

func VBDClassSetOtherConfigMockDefault(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

func VBDClassSetQosAlgorithmParamsMockDefault

func VBDClassSetQosAlgorithmParamsMockDefault(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

func VBDClassSetQosAlgorithmTypeMockDefault

func VBDClassSetQosAlgorithmTypeMockDefault(sessionID SessionRef, self VBDRef, value string) (_err error)

func VBDClassSetTypeMockDefault

func VBDClassSetTypeMockDefault(sessionID SessionRef, self VBDRef, value VbdType) (_err error)

func VBDClassSetUnpluggableMockDefault

func VBDClassSetUnpluggableMockDefault(sessionID SessionRef, self VBDRef, value bool) (_err error)

func VBDClassSetUserdeviceMockDefault

func VBDClassSetUserdeviceMockDefault(sessionID SessionRef, self VBDRef, value string) (_err error)

func VBDClassUnplugForceMockDefault

func VBDClassUnplugForceMockDefault(sessionID SessionRef, self VBDRef) (_err error)

func VBDClassUnplugMockDefault

func VBDClassUnplugMockDefault(sessionID SessionRef, self VBDRef) (_err error)

func VBDMetricsClassAddToOtherConfigMockDefault

func VBDMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self VBDMetricsRef, key string, value string) (_err error)

func VBDMetricsClassGetAllRecordsMockDefault

func VBDMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VBDMetricsRef]VBDMetricsRecord, _err error)

func VBDMetricsClassGetIoReadKbsMockDefault

func VBDMetricsClassGetIoReadKbsMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

func VBDMetricsClassGetIoWriteKbsMockDefault

func VBDMetricsClassGetIoWriteKbsMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

func VBDMetricsClassGetLastUpdatedMockDefault

func VBDMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval time.Time, _err error)

func VBDMetricsClassGetOtherConfigMockDefault

func VBDMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval map[string]string, _err error)

func VBDMetricsClassGetUUIDMockDefault

func VBDMetricsClassGetUUIDMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval string, _err error)

func VBDMetricsClassRemoveFromOtherConfigMockDefault

func VBDMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VBDMetricsRef, key string) (_err error)

func VBDMetricsClassSetOtherConfigMockDefault

func VBDMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self VBDMetricsRef, value map[string]string) (_err error)

func VDIClassAddTagsMockDefault

func VDIClassAddTagsMockDefault(sessionID SessionRef, self VDIRef, value string) (_err error)

func VDIClassAddToOtherConfigMockDefault

func VDIClassAddToOtherConfigMockDefault(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func VDIClassAddToSmConfigMockDefault

func VDIClassAddToSmConfigMockDefault(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func VDIClassAddToXenstoreDataMockDefault

func VDIClassAddToXenstoreDataMockDefault(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func VDIClassDataDestroyMockDefault

func VDIClassDataDestroyMockDefault(sessionID SessionRef, self VDIRef) (_err error)

func VDIClassDbForgetMockDefault

func VDIClassDbForgetMockDefault(sessionID SessionRef, vdi VDIRef) (_err error)

func VDIClassDestroyMockDefault

func VDIClassDestroyMockDefault(sessionID SessionRef, self VDIRef) (_err error)

func VDIClassDisableCbtMockDefault

func VDIClassDisableCbtMockDefault(sessionID SessionRef, self VDIRef) (_err error)

func VDIClassEnableCbtMockDefault

func VDIClassEnableCbtMockDefault(sessionID SessionRef, self VDIRef) (_err error)

func VDIClassForgetMockDefault

func VDIClassForgetMockDefault(sessionID SessionRef, vdi VDIRef) (_err error)

func VDIClassGetAllRecordsMockDefault

func VDIClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VDIRef]VDIRecord, _err error)

func VDIClassGetAllowCachingMockDefault

func VDIClassGetAllowCachingMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetCbtEnabledMockDefault

func VDIClassGetCbtEnabledMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetCurrentOperationsMockDefault

func VDIClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VDIRef) (_retval map[string]VdiOperations, _err error)

func VDIClassGetIsASnapshotMockDefault

func VDIClassGetIsASnapshotMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetIsToolsIsoMockDefault

func VDIClassGetIsToolsIsoMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetLocationMockDefault

func VDIClassGetLocationMockDefault(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func VDIClassGetManagedMockDefault

func VDIClassGetManagedMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetMetadataLatestMockDefault

func VDIClassGetMetadataLatestMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetMissingMockDefault

func VDIClassGetMissingMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetNameDescriptionMockDefault

func VDIClassGetNameDescriptionMockDefault(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func VDIClassGetNameLabelMockDefault

func VDIClassGetNameLabelMockDefault(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func VDIClassGetOtherConfigMockDefault

func VDIClassGetOtherConfigMockDefault(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func VDIClassGetPhysicalUtilisationMockDefault

func VDIClassGetPhysicalUtilisationMockDefault(sessionID SessionRef, self VDIRef) (_retval int, _err error)

func VDIClassGetReadOnlyMockDefault

func VDIClassGetReadOnlyMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetSharableMockDefault

func VDIClassGetSharableMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetSmConfigMockDefault

func VDIClassGetSmConfigMockDefault(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func VDIClassGetSnapshotTimeMockDefault

func VDIClassGetSnapshotTimeMockDefault(sessionID SessionRef, self VDIRef) (_retval time.Time, _err error)

func VDIClassGetStorageLockMockDefault

func VDIClassGetStorageLockMockDefault(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func VDIClassGetTagsMockDefault

func VDIClassGetTagsMockDefault(sessionID SessionRef, self VDIRef) (_retval []string, _err error)

func VDIClassGetUUIDMockDefault

func VDIClassGetUUIDMockDefault(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func VDIClassGetVirtualSizeMockDefault

func VDIClassGetVirtualSizeMockDefault(sessionID SessionRef, self VDIRef) (_retval int, _err error)

func VDIClassGetXenstoreDataMockDefault

func VDIClassGetXenstoreDataMockDefault(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func VDIClassListChangedBlocksMockDefault

func VDIClassListChangedBlocksMockDefault(sessionID SessionRef, vdiFrom VDIRef, vdiTo VDIRef) (_retval string, _err error)

func VDIClassReadDatabasePoolUUIDMockDefault

func VDIClassReadDatabasePoolUUIDMockDefault(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func VDIClassRemoveFromOtherConfigMockDefault

func VDIClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VDIRef, key string) (_err error)

func VDIClassRemoveFromSmConfigMockDefault

func VDIClassRemoveFromSmConfigMockDefault(sessionID SessionRef, self VDIRef, key string) (_err error)

func VDIClassRemoveFromXenstoreDataMockDefault

func VDIClassRemoveFromXenstoreDataMockDefault(sessionID SessionRef, self VDIRef, key string) (_err error)

func VDIClassRemoveTagsMockDefault

func VDIClassRemoveTagsMockDefault(sessionID SessionRef, self VDIRef, value string) (_err error)

func VDIClassResizeMockDefault

func VDIClassResizeMockDefault(sessionID SessionRef, vdi VDIRef, size int) (_err error)

func VDIClassResizeOnlineMockDefault

func VDIClassResizeOnlineMockDefault(sessionID SessionRef, vdi VDIRef, size int) (_err error)

func VDIClassSetAllowCachingMockDefault

func VDIClassSetAllowCachingMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetIsASnapshotMockDefault

func VDIClassSetIsASnapshotMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetManagedMockDefault

func VDIClassSetManagedMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetMetadataOfPoolMockDefault

func VDIClassSetMetadataOfPoolMockDefault(sessionID SessionRef, self VDIRef, value PoolRef) (_err error)

func VDIClassSetMissingMockDefault

func VDIClassSetMissingMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetNameDescriptionMockDefault

func VDIClassSetNameDescriptionMockDefault(sessionID SessionRef, self VDIRef, value string) (_err error)

func VDIClassSetNameLabelMockDefault

func VDIClassSetNameLabelMockDefault(sessionID SessionRef, self VDIRef, value string) (_err error)

func VDIClassSetOnBootMockDefault

func VDIClassSetOnBootMockDefault(sessionID SessionRef, self VDIRef, value OnBoot) (_err error)

func VDIClassSetOtherConfigMockDefault

func VDIClassSetOtherConfigMockDefault(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func VDIClassSetPhysicalUtilisationMockDefault

func VDIClassSetPhysicalUtilisationMockDefault(sessionID SessionRef, self VDIRef, value int) (_err error)

func VDIClassSetReadOnlyMockDefault

func VDIClassSetReadOnlyMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetSharableMockDefault

func VDIClassSetSharableMockDefault(sessionID SessionRef, self VDIRef, value bool) (_err error)

func VDIClassSetSmConfigMockDefault

func VDIClassSetSmConfigMockDefault(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func VDIClassSetSnapshotOfMockDefault

func VDIClassSetSnapshotOfMockDefault(sessionID SessionRef, self VDIRef, value VDIRef) (_err error)

func VDIClassSetSnapshotTimeMockDefault

func VDIClassSetSnapshotTimeMockDefault(sessionID SessionRef, self VDIRef, value time.Time) (_err error)

func VDIClassSetTagsMockDefault

func VDIClassSetTagsMockDefault(sessionID SessionRef, self VDIRef, value []string) (_err error)

func VDIClassSetVirtualSizeMockDefault

func VDIClassSetVirtualSizeMockDefault(sessionID SessionRef, self VDIRef, value int) (_err error)

func VDIClassSetXenstoreDataMockDefault

func VDIClassSetXenstoreDataMockDefault(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func VDIClassUpdateMockDefault

func VDIClassUpdateMockDefault(sessionID SessionRef, vdi VDIRef) (_err error)

func VGPUClassAddToOtherConfigMockDefault

func VGPUClassAddToOtherConfigMockDefault(sessionID SessionRef, self VGPURef, key string, value string) (_err error)

func VGPUClassDestroyMockDefault

func VGPUClassDestroyMockDefault(sessionID SessionRef, self VGPURef) (_err error)

func VGPUClassGetAllRecordsMockDefault

func VGPUClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VGPURef]VGPURecord, _err error)

func VGPUClassGetCompatibilityMetadataMockDefault

func VGPUClassGetCompatibilityMetadataMockDefault(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

func VGPUClassGetCurrentlyAttachedMockDefault

func VGPUClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self VGPURef) (_retval bool, _err error)

func VGPUClassGetDeviceMockDefault

func VGPUClassGetDeviceMockDefault(sessionID SessionRef, self VGPURef) (_retval string, _err error)

func VGPUClassGetOtherConfigMockDefault

func VGPUClassGetOtherConfigMockDefault(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

func VGPUClassGetUUIDMockDefault

func VGPUClassGetUUIDMockDefault(sessionID SessionRef, self VGPURef) (_retval string, _err error)

func VGPUClassRemoveFromOtherConfigMockDefault

func VGPUClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VGPURef, key string) (_err error)

func VGPUClassSetOtherConfigMockDefault

func VGPUClassSetOtherConfigMockDefault(sessionID SessionRef, self VGPURef, value map[string]string) (_err error)

func VGPUTypeClassGetAllRecordsMockDefault

func VGPUTypeClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VGPUTypeRef]VGPUTypeRecord, _err error)

func VGPUTypeClassGetExperimentalMockDefault

func VGPUTypeClassGetExperimentalMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval bool, _err error)

func VGPUTypeClassGetFramebufferSizeMockDefault

func VGPUTypeClassGetFramebufferSizeMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func VGPUTypeClassGetIdentifierMockDefault

func VGPUTypeClassGetIdentifierMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func VGPUTypeClassGetMaxHeadsMockDefault

func VGPUTypeClassGetMaxHeadsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func VGPUTypeClassGetMaxResolutionXMockDefault

func VGPUTypeClassGetMaxResolutionXMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func VGPUTypeClassGetMaxResolutionYMockDefault

func VGPUTypeClassGetMaxResolutionYMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func VGPUTypeClassGetModelNameMockDefault

func VGPUTypeClassGetModelNameMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func VGPUTypeClassGetUUIDMockDefault

func VGPUTypeClassGetUUIDMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func VGPUTypeClassGetVendorNameMockDefault

func VGPUTypeClassGetVendorNameMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func VIFClassAddIpv4AllowedMockDefault

func VIFClassAddIpv4AllowedMockDefault(sessionID SessionRef, self VIFRef, value string) (_err error)

func VIFClassAddIpv6AllowedMockDefault

func VIFClassAddIpv6AllowedMockDefault(sessionID SessionRef, self VIFRef, value string) (_err error)

func VIFClassAddToOtherConfigMockDefault

func VIFClassAddToOtherConfigMockDefault(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

func VIFClassAddToQosAlgorithmParamsMockDefault

func VIFClassAddToQosAlgorithmParamsMockDefault(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

func VIFClassConfigureIpv4MockDefault

func VIFClassConfigureIpv4MockDefault(sessionID SessionRef, self VIFRef, mode VifIpv4ConfigurationMode, address string, gateway string) (_err error)

func VIFClassConfigureIpv6MockDefault

func VIFClassConfigureIpv6MockDefault(sessionID SessionRef, self VIFRef, mode VifIpv6ConfigurationMode, address string, gateway string) (_err error)

func VIFClassDestroyMockDefault

func VIFClassDestroyMockDefault(sessionID SessionRef, self VIFRef) (_err error)

func VIFClassGetAllRecordsMockDefault

func VIFClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VIFRef]VIFRecord, _err error)

func VIFClassGetCurrentOperationsMockDefault

func VIFClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VIFRef) (_retval map[string]VifOperations, _err error)

func VIFClassGetCurrentlyAttachedMockDefault

func VIFClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

func VIFClassGetDeviceMockDefault

func VIFClassGetDeviceMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetIpv4AddressesMockDefault

func VIFClassGetIpv4AddressesMockDefault(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func VIFClassGetIpv4AllowedMockDefault

func VIFClassGetIpv4AllowedMockDefault(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func VIFClassGetIpv4GatewayMockDefault

func VIFClassGetIpv4GatewayMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetIpv6AddressesMockDefault

func VIFClassGetIpv6AddressesMockDefault(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func VIFClassGetIpv6AllowedMockDefault

func VIFClassGetIpv6AllowedMockDefault(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func VIFClassGetIpv6GatewayMockDefault

func VIFClassGetIpv6GatewayMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetMACAutogeneratedMockDefault

func VIFClassGetMACAutogeneratedMockDefault(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

func VIFClassGetMACMockDefault

func VIFClassGetMACMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetMTUMockDefault

func VIFClassGetMTUMockDefault(sessionID SessionRef, self VIFRef) (_retval int, _err error)

func VIFClassGetOtherConfigMockDefault

func VIFClassGetOtherConfigMockDefault(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func VIFClassGetQosAlgorithmParamsMockDefault

func VIFClassGetQosAlgorithmParamsMockDefault(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func VIFClassGetQosAlgorithmTypeMockDefault

func VIFClassGetQosAlgorithmTypeMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetQosSupportedAlgorithmsMockDefault

func VIFClassGetQosSupportedAlgorithmsMockDefault(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func VIFClassGetRuntimePropertiesMockDefault

func VIFClassGetRuntimePropertiesMockDefault(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func VIFClassGetStatusCodeMockDefault

func VIFClassGetStatusCodeMockDefault(sessionID SessionRef, self VIFRef) (_retval int, _err error)

func VIFClassGetStatusDetailMockDefault

func VIFClassGetStatusDetailMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassGetUUIDMockDefault

func VIFClassGetUUIDMockDefault(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func VIFClassMoveMockDefault

func VIFClassMoveMockDefault(sessionID SessionRef, self VIFRef, network NetworkRef) (_err error)

func VIFClassPlugMockDefault

func VIFClassPlugMockDefault(sessionID SessionRef, self VIFRef) (_err error)

func VIFClassRemoveFromOtherConfigMockDefault

func VIFClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VIFRef, key string) (_err error)

func VIFClassRemoveFromQosAlgorithmParamsMockDefault

func VIFClassRemoveFromQosAlgorithmParamsMockDefault(sessionID SessionRef, self VIFRef, key string) (_err error)

func VIFClassRemoveIpv4AllowedMockDefault

func VIFClassRemoveIpv4AllowedMockDefault(sessionID SessionRef, self VIFRef, value string) (_err error)

func VIFClassRemoveIpv6AllowedMockDefault

func VIFClassRemoveIpv6AllowedMockDefault(sessionID SessionRef, self VIFRef, value string) (_err error)

func VIFClassSetIpv4AllowedMockDefault

func VIFClassSetIpv4AllowedMockDefault(sessionID SessionRef, self VIFRef, value []string) (_err error)

func VIFClassSetIpv6AllowedMockDefault

func VIFClassSetIpv6AllowedMockDefault(sessionID SessionRef, self VIFRef, value []string) (_err error)

func VIFClassSetLockingModeMockDefault

func VIFClassSetLockingModeMockDefault(sessionID SessionRef, self VIFRef, value VifLockingMode) (_err error)

func VIFClassSetOtherConfigMockDefault

func VIFClassSetOtherConfigMockDefault(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

func VIFClassSetQosAlgorithmParamsMockDefault

func VIFClassSetQosAlgorithmParamsMockDefault(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

func VIFClassSetQosAlgorithmTypeMockDefault

func VIFClassSetQosAlgorithmTypeMockDefault(sessionID SessionRef, self VIFRef, value string) (_err error)

func VIFClassUnplugForceMockDefault

func VIFClassUnplugForceMockDefault(sessionID SessionRef, self VIFRef) (_err error)

func VIFClassUnplugMockDefault

func VIFClassUnplugMockDefault(sessionID SessionRef, self VIFRef) (_err error)

func VIFMetricsClassAddToOtherConfigMockDefault

func VIFMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self VIFMetricsRef, key string, value string) (_err error)

func VIFMetricsClassGetAllRecordsMockDefault

func VIFMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VIFMetricsRef]VIFMetricsRecord, _err error)

func VIFMetricsClassGetIoReadKbsMockDefault

func VIFMetricsClassGetIoReadKbsMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

func VIFMetricsClassGetIoWriteKbsMockDefault

func VIFMetricsClassGetIoWriteKbsMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

func VIFMetricsClassGetLastUpdatedMockDefault

func VIFMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval time.Time, _err error)

func VIFMetricsClassGetOtherConfigMockDefault

func VIFMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval map[string]string, _err error)

func VIFMetricsClassGetUUIDMockDefault

func VIFMetricsClassGetUUIDMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval string, _err error)

func VIFMetricsClassRemoveFromOtherConfigMockDefault

func VIFMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VIFMetricsRef, key string) (_err error)

func VIFMetricsClassSetOtherConfigMockDefault

func VIFMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self VIFMetricsRef, value map[string]string) (_err error)

func VLANClassAddToOtherConfigMockDefault

func VLANClassAddToOtherConfigMockDefault(sessionID SessionRef, self VLANRef, key string, value string) (_err error)

func VLANClassDestroyMockDefault

func VLANClassDestroyMockDefault(sessionID SessionRef, self VLANRef) (_err error)

func VLANClassGetAllRecordsMockDefault

func VLANClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VLANRef]VLANRecord, _err error)

func VLANClassGetOtherConfigMockDefault

func VLANClassGetOtherConfigMockDefault(sessionID SessionRef, self VLANRef) (_retval map[string]string, _err error)

func VLANClassGetTagMockDefault

func VLANClassGetTagMockDefault(sessionID SessionRef, self VLANRef) (_retval int, _err error)

func VLANClassGetUUIDMockDefault

func VLANClassGetUUIDMockDefault(sessionID SessionRef, self VLANRef) (_retval string, _err error)

func VLANClassRemoveFromOtherConfigMockDefault

func VLANClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VLANRef, key string) (_err error)

func VLANClassSetOtherConfigMockDefault

func VLANClassSetOtherConfigMockDefault(sessionID SessionRef, self VLANRef, value map[string]string) (_err error)

func VMApplianceClassAssertCanBeRecoveredMockDefault

func VMApplianceClassAssertCanBeRecoveredMockDefault(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_err error)

func VMApplianceClassCleanShutdownMockDefault

func VMApplianceClassCleanShutdownMockDefault(sessionID SessionRef, self VMApplianceRef) (_err error)

func VMApplianceClassDestroyMockDefault

func VMApplianceClassDestroyMockDefault(sessionID SessionRef, self VMApplianceRef) (_err error)

func VMApplianceClassGetAllRecordsMockDefault

func VMApplianceClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMApplianceRef]VMApplianceRecord, _err error)

func VMApplianceClassGetCurrentOperationsMockDefault

func VMApplianceClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval map[string]VMApplianceOperation, _err error)

func VMApplianceClassGetNameDescriptionMockDefault

func VMApplianceClassGetNameDescriptionMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func VMApplianceClassGetNameLabelMockDefault

func VMApplianceClassGetNameLabelMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func VMApplianceClassGetUUIDMockDefault

func VMApplianceClassGetUUIDMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func VMApplianceClassHardShutdownMockDefault

func VMApplianceClassHardShutdownMockDefault(sessionID SessionRef, self VMApplianceRef) (_err error)

func VMApplianceClassRecoverMockDefault

func VMApplianceClassRecoverMockDefault(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef, force bool) (_err error)

func VMApplianceClassSetNameDescriptionMockDefault

func VMApplianceClassSetNameDescriptionMockDefault(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

func VMApplianceClassSetNameLabelMockDefault

func VMApplianceClassSetNameLabelMockDefault(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

func VMApplianceClassShutdownMockDefault

func VMApplianceClassShutdownMockDefault(sessionID SessionRef, self VMApplianceRef) (_err error)

func VMApplianceClassStartMockDefault

func VMApplianceClassStartMockDefault(sessionID SessionRef, self VMApplianceRef, paused bool) (_err error)

func VMClassAddTagsMockDefault

func VMClassAddTagsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassAddToBlockedOperationsMockDefault

func VMClassAddToBlockedOperationsMockDefault(sessionID SessionRef, self VMRef, key VMOperations, value string) (_err error)

func VMClassAddToHVMBootParamsMockDefault

func VMClassAddToHVMBootParamsMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAddToOtherConfigMockDefault

func VMClassAddToOtherConfigMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAddToPlatformMockDefault

func VMClassAddToPlatformMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAddToVCPUsParamsLiveMockDefault

func VMClassAddToVCPUsParamsLiveMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAddToVCPUsParamsMockDefault

func VMClassAddToVCPUsParamsMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAddToXenstoreDataMockDefault

func VMClassAddToXenstoreDataMockDefault(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func VMClassAssertAgileMockDefault

func VMClassAssertAgileMockDefault(sessionID SessionRef, self VMRef) (_err error)

func VMClassAssertCanBeRecoveredMockDefault

func VMClassAssertCanBeRecoveredMockDefault(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_err error)

func VMClassAssertCanBootHereMockDefault

func VMClassAssertCanBootHereMockDefault(sessionID SessionRef, self VMRef, host HostRef) (_err error)

func VMClassAssertCanMigrateMockDefault

func VMClassAssertCanMigrateMockDefault(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_err error)

func VMClassAssertOperationValidMockDefault

func VMClassAssertOperationValidMockDefault(sessionID SessionRef, self VMRef, op VMOperations) (_err error)

func VMClassCallPluginMockDefault

func VMClassCallPluginMockDefault(sessionID SessionRef, vm VMRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

func VMClassCleanRebootMockDefault

func VMClassCleanRebootMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassCleanShutdownMockDefault

func VMClassCleanShutdownMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassComputeMemoryOverheadMockDefault

func VMClassComputeMemoryOverheadMockDefault(sessionID SessionRef, vm VMRef) (_retval int, _err error)

func VMClassCopyBiosStringsMockDefault

func VMClassCopyBiosStringsMockDefault(sessionID SessionRef, vm VMRef, host HostRef) (_err error)

func VMClassDestroyMockDefault

func VMClassDestroyMockDefault(sessionID SessionRef, self VMRef) (_err error)

func VMClassForgetDataSourceArchivesMockDefault

func VMClassForgetDataSourceArchivesMockDefault(sessionID SessionRef, self VMRef, dataSource string) (_err error)

func VMClassGetAllRecordsMockDefault

func VMClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMRef]VMRecord, _err error)

func VMClassGetAllowedVBDDevicesMockDefault

func VMClassGetAllowedVBDDevicesMockDefault(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

func VMClassGetAllowedVIFDevicesMockDefault

func VMClassGetAllowedVIFDevicesMockDefault(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

func VMClassGetBiosStringsMockDefault

func VMClassGetBiosStringsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetBlobsMockDefault

func VMClassGetBlobsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]BlobRef, _err error)

func VMClassGetBlockedOperationsMockDefault

func VMClassGetBlockedOperationsMockDefault(sessionID SessionRef, self VMRef) (_retval map[VMOperations]string, _err error)

func VMClassGetCooperativeMockDefault

func VMClassGetCooperativeMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetCurrentOperationsMockDefault

func VMClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]VMOperations, _err error)

func VMClassGetDomarchMockDefault

func VMClassGetDomarchMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetDomidMockDefault

func VMClassGetDomidMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetGenerationIDMockDefault

func VMClassGetGenerationIDMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetHVMBootParamsMockDefault

func VMClassGetHVMBootParamsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetHVMBootPolicyMockDefault

func VMClassGetHVMBootPolicyMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetHVMShadowMultiplierMockDefault

func VMClassGetHVMShadowMultiplierMockDefault(sessionID SessionRef, self VMRef) (_retval float64, _err error)

func VMClassGetHaAlwaysRunMockDefault

func VMClassGetHaAlwaysRunMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetHaRestartPriorityMockDefault

func VMClassGetHaRestartPriorityMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetHardwarePlatformVersionMockDefault

func VMClassGetHardwarePlatformVersionMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetHasVendorDeviceMockDefault

func VMClassGetHasVendorDeviceMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsASnapshotMockDefault

func VMClassGetIsASnapshotMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsATemplateMockDefault

func VMClassGetIsATemplateMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsControlDomainMockDefault

func VMClassGetIsControlDomainMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsDefaultTemplateMockDefault

func VMClassGetIsDefaultTemplateMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsSnapshotFromVmppMockDefault

func VMClassGetIsSnapshotFromVmppMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetIsVmssSnapshotMockDefault

func VMClassGetIsVmssSnapshotMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetLastBootCPUFlagsMockDefault

func VMClassGetLastBootCPUFlagsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetLastBootedRecordMockDefault

func VMClassGetLastBootedRecordMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetMemoryDynamicMaxMockDefault

func VMClassGetMemoryDynamicMaxMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetMemoryDynamicMinMockDefault

func VMClassGetMemoryDynamicMinMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetMemoryOverheadMockDefault

func VMClassGetMemoryOverheadMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetMemoryStaticMaxMockDefault

func VMClassGetMemoryStaticMaxMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetMemoryStaticMinMockDefault

func VMClassGetMemoryStaticMinMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetMemoryTargetMockDefault

func VMClassGetMemoryTargetMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetNameDescriptionMockDefault

func VMClassGetNameDescriptionMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetNameLabelMockDefault

func VMClassGetNameLabelMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetOrderMockDefault

func VMClassGetOrderMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetOtherConfigMockDefault

func VMClassGetOtherConfigMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetPCIBusMockDefault

func VMClassGetPCIBusMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVArgsMockDefault

func VMClassGetPVArgsMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVBootloaderArgsMockDefault

func VMClassGetPVBootloaderArgsMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVBootloaderMockDefault

func VMClassGetPVBootloaderMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVKernelMockDefault

func VMClassGetPVKernelMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVLegacyArgsMockDefault

func VMClassGetPVLegacyArgsMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPVRamdiskMockDefault

func VMClassGetPVRamdiskMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetPlatformMockDefault

func VMClassGetPlatformMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetRecommendationsMockDefault

func VMClassGetRecommendationsMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetReferenceLabelMockDefault

func VMClassGetReferenceLabelMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetRequiresRebootMockDefault

func VMClassGetRequiresRebootMockDefault(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func VMClassGetShutdownDelayMockDefault

func VMClassGetShutdownDelayMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetSnapshotInfoMockDefault

func VMClassGetSnapshotInfoMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetSnapshotMetadataMockDefault

func VMClassGetSnapshotMetadataMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetSnapshotTimeMockDefault

func VMClassGetSnapshotTimeMockDefault(sessionID SessionRef, self VMRef) (_retval time.Time, _err error)

func VMClassGetStartDelayMockDefault

func VMClassGetStartDelayMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetTagsMockDefault

func VMClassGetTagsMockDefault(sessionID SessionRef, self VMRef) (_retval []string, _err error)

func VMClassGetTransportableSnapshotIDMockDefault

func VMClassGetTransportableSnapshotIDMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetUUIDMockDefault

func VMClassGetUUIDMockDefault(sessionID SessionRef, self VMRef) (_retval string, _err error)

func VMClassGetUserVersionMockDefault

func VMClassGetUserVersionMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetVCPUsAtStartupMockDefault

func VMClassGetVCPUsAtStartupMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetVCPUsMaxMockDefault

func VMClassGetVCPUsMaxMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetVCPUsParamsMockDefault

func VMClassGetVCPUsParamsMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassGetVersionMockDefault

func VMClassGetVersionMockDefault(sessionID SessionRef, self VMRef) (_retval int, _err error)

func VMClassGetXenstoreDataMockDefault

func VMClassGetXenstoreDataMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassHardRebootMockDefault

func VMClassHardRebootMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassHardShutdownMockDefault

func VMClassHardShutdownMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassImportConvertMockDefault

func VMClassImportConvertMockDefault(sessionID SessionRef, atype string, username string, password string, sr SRRef, remoteConfig map[string]string) (_err error)

func VMClassMaximiseMemoryMockDefault

func VMClassMaximiseMemoryMockDefault(sessionID SessionRef, self VMRef, total int, approximate bool) (_retval int, _err error)

func VMClassPauseMockDefault

func VMClassPauseMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassPoolMigrateMockDefault

func VMClassPoolMigrateMockDefault(sessionID SessionRef, vm VMRef, host HostRef, options map[string]string) (_err error)

func VMClassPowerStateResetMockDefault

func VMClassPowerStateResetMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassProvisionMockDefault

func VMClassProvisionMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassQueryDataSourceMockDefault

func VMClassQueryDataSourceMockDefault(sessionID SessionRef, self VMRef, dataSource string) (_retval float64, _err error)

func VMClassQueryServicesMockDefault

func VMClassQueryServicesMockDefault(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func VMClassRecordDataSourceMockDefault

func VMClassRecordDataSourceMockDefault(sessionID SessionRef, self VMRef, dataSource string) (_err error)

func VMClassRecoverMockDefault

func VMClassRecoverMockDefault(sessionID SessionRef, self VMRef, sessionTo SessionRef, force bool) (_err error)

func VMClassRemoveFromBlockedOperationsMockDefault

func VMClassRemoveFromBlockedOperationsMockDefault(sessionID SessionRef, self VMRef, key VMOperations) (_err error)

func VMClassRemoveFromHVMBootParamsMockDefault

func VMClassRemoveFromHVMBootParamsMockDefault(sessionID SessionRef, self VMRef, key string) (_err error)

func VMClassRemoveFromOtherConfigMockDefault

func VMClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VMRef, key string) (_err error)

func VMClassRemoveFromPlatformMockDefault

func VMClassRemoveFromPlatformMockDefault(sessionID SessionRef, self VMRef, key string) (_err error)

func VMClassRemoveFromVCPUsParamsMockDefault

func VMClassRemoveFromVCPUsParamsMockDefault(sessionID SessionRef, self VMRef, key string) (_err error)

func VMClassRemoveFromXenstoreDataMockDefault

func VMClassRemoveFromXenstoreDataMockDefault(sessionID SessionRef, self VMRef, key string) (_err error)

func VMClassRemoveTagsMockDefault

func VMClassRemoveTagsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassResumeMockDefault

func VMClassResumeMockDefault(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

func VMClassResumeOnMockDefault

func VMClassResumeOnMockDefault(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

func VMClassRetrieveWlbRecommendationsMockDefault

func VMClassRetrieveWlbRecommendationsMockDefault(sessionID SessionRef, vm VMRef) (_retval map[HostRef][]string, _err error)

func VMClassRevertMockDefault

func VMClassRevertMockDefault(sessionID SessionRef, snapshot VMRef) (_err error)

func VMClassSendSysrqMockDefault

func VMClassSendSysrqMockDefault(sessionID SessionRef, vm VMRef, key string) (_err error)

func VMClassSendTriggerMockDefault

func VMClassSendTriggerMockDefault(sessionID SessionRef, vm VMRef, trigger string) (_err error)

func VMClassSetActionsAfterCrashMockDefault

func VMClassSetActionsAfterCrashMockDefault(sessionID SessionRef, self VMRef, value OnCrashBehaviour) (_err error)

func VMClassSetActionsAfterRebootMockDefault

func VMClassSetActionsAfterRebootMockDefault(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

func VMClassSetActionsAfterShutdownMockDefault

func VMClassSetActionsAfterShutdownMockDefault(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

func VMClassSetAffinityMockDefault

func VMClassSetAffinityMockDefault(sessionID SessionRef, self VMRef, value HostRef) (_err error)

func VMClassSetApplianceMockDefault

func VMClassSetApplianceMockDefault(sessionID SessionRef, self VMRef, value VMApplianceRef) (_err error)

func VMClassSetBiosStringsMockDefault

func VMClassSetBiosStringsMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassSetBlockedOperationsMockDefault

func VMClassSetBlockedOperationsMockDefault(sessionID SessionRef, self VMRef, value map[VMOperations]string) (_err error)

func VMClassSetHVMBootParamsMockDefault

func VMClassSetHVMBootParamsMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassSetHVMBootPolicyMockDefault

func VMClassSetHVMBootPolicyMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetHVMShadowMultiplierMockDefault

func VMClassSetHVMShadowMultiplierMockDefault(sessionID SessionRef, self VMRef, value float64) (_err error)

func VMClassSetHaAlwaysRunMockDefault

func VMClassSetHaAlwaysRunMockDefault(sessionID SessionRef, self VMRef, value bool) (_err error)

func VMClassSetHaRestartPriorityMockDefault

func VMClassSetHaRestartPriorityMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetHardwarePlatformVersionMockDefault

func VMClassSetHardwarePlatformVersionMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetHasVendorDeviceMockDefault

func VMClassSetHasVendorDeviceMockDefault(sessionID SessionRef, self VMRef, value bool) (_err error)

func VMClassSetIsATemplateMockDefault

func VMClassSetIsATemplateMockDefault(sessionID SessionRef, self VMRef, value bool) (_err error)

func VMClassSetMemoryDynamicMaxMockDefault

func VMClassSetMemoryDynamicMaxMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetMemoryDynamicMinMockDefault

func VMClassSetMemoryDynamicMinMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetMemoryDynamicRangeMockDefault

func VMClassSetMemoryDynamicRangeMockDefault(sessionID SessionRef, self VMRef, min int, max int) (_err error)

func VMClassSetMemoryLimitsMockDefault

func VMClassSetMemoryLimitsMockDefault(sessionID SessionRef, self VMRef, staticMin int, staticMax int, dynamicMin int, dynamicMax int) (_err error)

func VMClassSetMemoryMockDefault

func VMClassSetMemoryMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetMemoryStaticMaxMockDefault

func VMClassSetMemoryStaticMaxMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetMemoryStaticMinMockDefault

func VMClassSetMemoryStaticMinMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetMemoryStaticRangeMockDefault

func VMClassSetMemoryStaticRangeMockDefault(sessionID SessionRef, self VMRef, min int, max int) (_err error)

func VMClassSetMemoryTargetLiveMockDefault

func VMClassSetMemoryTargetLiveMockDefault(sessionID SessionRef, self VMRef, target int) (_err error)

func VMClassSetNameDescriptionMockDefault

func VMClassSetNameDescriptionMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetNameLabelMockDefault

func VMClassSetNameLabelMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetOrderMockDefault

func VMClassSetOrderMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetOtherConfigMockDefault

func VMClassSetOtherConfigMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassSetPCIBusMockDefault

func VMClassSetPCIBusMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVArgsMockDefault

func VMClassSetPVArgsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVBootloaderArgsMockDefault

func VMClassSetPVBootloaderArgsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVBootloaderMockDefault

func VMClassSetPVBootloaderMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVKernelMockDefault

func VMClassSetPVKernelMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVLegacyArgsMockDefault

func VMClassSetPVLegacyArgsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPVRamdiskMockDefault

func VMClassSetPVRamdiskMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetPlatformMockDefault

func VMClassSetPlatformMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassSetProtectionPolicyMockDefault

func VMClassSetProtectionPolicyMockDefault(sessionID SessionRef, self VMRef, value VMPPRef) (_err error)

func VMClassSetRecommendationsMockDefault

func VMClassSetRecommendationsMockDefault(sessionID SessionRef, self VMRef, value string) (_err error)

func VMClassSetShadowMultiplierLiveMockDefault

func VMClassSetShadowMultiplierLiveMockDefault(sessionID SessionRef, self VMRef, multiplier float64) (_err error)

func VMClassSetShutdownDelayMockDefault

func VMClassSetShutdownDelayMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetSnapshotScheduleMockDefault

func VMClassSetSnapshotScheduleMockDefault(sessionID SessionRef, self VMRef, value VMSSRef) (_err error)

func VMClassSetStartDelayMockDefault

func VMClassSetStartDelayMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetSuspendSRMockDefault

func VMClassSetSuspendSRMockDefault(sessionID SessionRef, self VMRef, value SRRef) (_err error)

func VMClassSetSuspendVDIMockDefault

func VMClassSetSuspendVDIMockDefault(sessionID SessionRef, self VMRef, value VDIRef) (_err error)

func VMClassSetTagsMockDefault

func VMClassSetTagsMockDefault(sessionID SessionRef, self VMRef, value []string) (_err error)

func VMClassSetUserVersionMockDefault

func VMClassSetUserVersionMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetVCPUsAtStartupMockDefault

func VMClassSetVCPUsAtStartupMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetVCPUsMaxMockDefault

func VMClassSetVCPUsMaxMockDefault(sessionID SessionRef, self VMRef, value int) (_err error)

func VMClassSetVCPUsNumberLiveMockDefault

func VMClassSetVCPUsNumberLiveMockDefault(sessionID SessionRef, self VMRef, nvcpu int) (_err error)

func VMClassSetVCPUsParamsMockDefault

func VMClassSetVCPUsParamsMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassSetXenstoreDataMockDefault

func VMClassSetXenstoreDataMockDefault(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func VMClassShutdownMockDefault

func VMClassShutdownMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassStartMockDefault

func VMClassStartMockDefault(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

func VMClassStartOnMockDefault

func VMClassStartOnMockDefault(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

func VMClassSuspendMockDefault

func VMClassSuspendMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassUnpauseMockDefault

func VMClassUnpauseMockDefault(sessionID SessionRef, vm VMRef) (_err error)

func VMClassUpdateAllowedOperationsMockDefault

func VMClassUpdateAllowedOperationsMockDefault(sessionID SessionRef, self VMRef) (_err error)

func VMClassWaitMemoryTargetLiveMockDefault

func VMClassWaitMemoryTargetLiveMockDefault(sessionID SessionRef, self VMRef) (_err error)

func VMGuestMetricsClassAddToOtherConfigMockDefault

func VMGuestMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self VMGuestMetricsRef, key string, value string) (_err error)

func VMGuestMetricsClassGetAllRecordsMockDefault

func VMGuestMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMGuestMetricsRef]VMGuestMetricsRecord, _err error)

func VMGuestMetricsClassGetDisksMockDefault

func VMGuestMetricsClassGetDisksMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetLastUpdatedMockDefault

func VMGuestMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval time.Time, _err error)

func VMGuestMetricsClassGetLiveMockDefault

func VMGuestMetricsClassGetLiveMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func VMGuestMetricsClassGetMemoryMockDefault

func VMGuestMetricsClassGetMemoryMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetNetworksMockDefault

func VMGuestMetricsClassGetNetworksMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetOSVersionMockDefault

func VMGuestMetricsClassGetOSVersionMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetOtherConfigMockDefault

func VMGuestMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetOtherMockDefault

func VMGuestMetricsClassGetOtherMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetPVDriversDetectedMockDefault

func VMGuestMetricsClassGetPVDriversDetectedMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func VMGuestMetricsClassGetPVDriversUpToDateMockDefault

func VMGuestMetricsClassGetPVDriversUpToDateMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func VMGuestMetricsClassGetPVDriversVersionMockDefault

func VMGuestMetricsClassGetPVDriversVersionMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func VMGuestMetricsClassGetUUIDMockDefault

func VMGuestMetricsClassGetUUIDMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval string, _err error)

func VMGuestMetricsClassRemoveFromOtherConfigMockDefault

func VMGuestMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VMGuestMetricsRef, key string) (_err error)

func VMGuestMetricsClassSetOtherConfigMockDefault

func VMGuestMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self VMGuestMetricsRef, value map[string]string) (_err error)

func VMMetricsClassAddToOtherConfigMockDefault

func VMMetricsClassAddToOtherConfigMockDefault(sessionID SessionRef, self VMMetricsRef, key string, value string) (_err error)

func VMMetricsClassGetAllRecordsMockDefault

func VMMetricsClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMMetricsRef]VMMetricsRecord, _err error)

func VMMetricsClassGetHvmMockDefault

func VMMetricsClassGetHvmMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func VMMetricsClassGetInstallTimeMockDefault

func VMMetricsClassGetInstallTimeMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func VMMetricsClassGetLastUpdatedMockDefault

func VMMetricsClassGetLastUpdatedMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func VMMetricsClassGetMemoryActualMockDefault

func VMMetricsClassGetMemoryActualMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

func VMMetricsClassGetNestedVirtMockDefault

func VMMetricsClassGetNestedVirtMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func VMMetricsClassGetNomigrateMockDefault

func VMMetricsClassGetNomigrateMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func VMMetricsClassGetOtherConfigMockDefault

func VMMetricsClassGetOtherConfigMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

func VMMetricsClassGetStartTimeMockDefault

func VMMetricsClassGetStartTimeMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func VMMetricsClassGetStateMockDefault

func VMMetricsClassGetStateMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval []string, _err error)

func VMMetricsClassGetUUIDMockDefault

func VMMetricsClassGetUUIDMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval string, _err error)

func VMMetricsClassGetVCPUsCPUMockDefault

func VMMetricsClassGetVCPUsCPUMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval map[int]int, _err error)

func VMMetricsClassGetVCPUsFlagsMockDefault

func VMMetricsClassGetVCPUsFlagsMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval map[int][]string, _err error)

func VMMetricsClassGetVCPUsNumberMockDefault

func VMMetricsClassGetVCPUsNumberMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

func VMMetricsClassGetVCPUsParamsMockDefault

func VMMetricsClassGetVCPUsParamsMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

func VMMetricsClassGetVCPUsUtilisationMockDefault

func VMMetricsClassGetVCPUsUtilisationMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval map[int]float64, _err error)

func VMMetricsClassRemoveFromOtherConfigMockDefault

func VMMetricsClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VMMetricsRef, key string) (_err error)

func VMMetricsClassSetOtherConfigMockDefault

func VMMetricsClassSetOtherConfigMockDefault(sessionID SessionRef, self VMMetricsRef, value map[string]string) (_err error)

func VMPPClassAddToAlarmConfigMockDefault

func VMPPClassAddToAlarmConfigMockDefault(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func VMPPClassAddToArchiveScheduleMockDefault

func VMPPClassAddToArchiveScheduleMockDefault(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func VMPPClassAddToArchiveTargetConfigMockDefault

func VMPPClassAddToArchiveTargetConfigMockDefault(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func VMPPClassAddToBackupScheduleMockDefault

func VMPPClassAddToBackupScheduleMockDefault(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func VMPPClassArchiveNowMockDefault

func VMPPClassArchiveNowMockDefault(sessionID SessionRef, snapshot VMRef) (_retval string, _err error)

func VMPPClassDestroyMockDefault

func VMPPClassDestroyMockDefault(sessionID SessionRef, self VMPPRef) (_err error)

func VMPPClassGetAlarmConfigMockDefault

func VMPPClassGetAlarmConfigMockDefault(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func VMPPClassGetAlertsMockDefault

func VMPPClassGetAlertsMockDefault(sessionID SessionRef, vmpp VMPPRef, hoursFromNow int) (_retval []string, _err error)

func VMPPClassGetAllRecordsMockDefault

func VMPPClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMPPRef]VMPPRecord, _err error)

func VMPPClassGetArchiveLastRunTimeMockDefault

func VMPPClassGetArchiveLastRunTimeMockDefault(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

func VMPPClassGetArchiveScheduleMockDefault

func VMPPClassGetArchiveScheduleMockDefault(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func VMPPClassGetArchiveTargetConfigMockDefault

func VMPPClassGetArchiveTargetConfigMockDefault(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func VMPPClassGetBackupLastRunTimeMockDefault

func VMPPClassGetBackupLastRunTimeMockDefault(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

func VMPPClassGetBackupRetentionValueMockDefault

func VMPPClassGetBackupRetentionValueMockDefault(sessionID SessionRef, self VMPPRef) (_retval int, _err error)

func VMPPClassGetBackupScheduleMockDefault

func VMPPClassGetBackupScheduleMockDefault(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func VMPPClassGetIsAlarmEnabledMockDefault

func VMPPClassGetIsAlarmEnabledMockDefault(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func VMPPClassGetIsArchiveRunningMockDefault

func VMPPClassGetIsArchiveRunningMockDefault(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func VMPPClassGetIsBackupRunningMockDefault

func VMPPClassGetIsBackupRunningMockDefault(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func VMPPClassGetIsPolicyEnabledMockDefault

func VMPPClassGetIsPolicyEnabledMockDefault(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func VMPPClassGetNameDescriptionMockDefault

func VMPPClassGetNameDescriptionMockDefault(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func VMPPClassGetNameLabelMockDefault

func VMPPClassGetNameLabelMockDefault(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func VMPPClassGetRecentAlertsMockDefault

func VMPPClassGetRecentAlertsMockDefault(sessionID SessionRef, self VMPPRef) (_retval []string, _err error)

func VMPPClassGetUUIDMockDefault

func VMPPClassGetUUIDMockDefault(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func VMPPClassProtectNowMockDefault

func VMPPClassProtectNowMockDefault(sessionID SessionRef, vmpp VMPPRef) (_retval string, _err error)

func VMPPClassRemoveFromAlarmConfigMockDefault

func VMPPClassRemoveFromAlarmConfigMockDefault(sessionID SessionRef, self VMPPRef, key string) (_err error)

func VMPPClassRemoveFromArchiveScheduleMockDefault

func VMPPClassRemoveFromArchiveScheduleMockDefault(sessionID SessionRef, self VMPPRef, key string) (_err error)

func VMPPClassRemoveFromArchiveTargetConfigMockDefault

func VMPPClassRemoveFromArchiveTargetConfigMockDefault(sessionID SessionRef, self VMPPRef, key string) (_err error)

func VMPPClassRemoveFromBackupScheduleMockDefault

func VMPPClassRemoveFromBackupScheduleMockDefault(sessionID SessionRef, self VMPPRef, key string) (_err error)

func VMPPClassSetAlarmConfigMockDefault

func VMPPClassSetAlarmConfigMockDefault(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func VMPPClassSetArchiveFrequencyMockDefault

func VMPPClassSetArchiveFrequencyMockDefault(sessionID SessionRef, self VMPPRef, value VmppArchiveFrequency) (_err error)

func VMPPClassSetArchiveLastRunTimeMockDefault

func VMPPClassSetArchiveLastRunTimeMockDefault(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func VMPPClassSetArchiveScheduleMockDefault

func VMPPClassSetArchiveScheduleMockDefault(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func VMPPClassSetArchiveTargetConfigMockDefault

func VMPPClassSetArchiveTargetConfigMockDefault(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func VMPPClassSetArchiveTargetTypeMockDefault

func VMPPClassSetArchiveTargetTypeMockDefault(sessionID SessionRef, self VMPPRef, value VmppArchiveTargetType) (_err error)

func VMPPClassSetBackupFrequencyMockDefault

func VMPPClassSetBackupFrequencyMockDefault(sessionID SessionRef, self VMPPRef, value VmppBackupFrequency) (_err error)

func VMPPClassSetBackupLastRunTimeMockDefault

func VMPPClassSetBackupLastRunTimeMockDefault(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func VMPPClassSetBackupRetentionValueMockDefault

func VMPPClassSetBackupRetentionValueMockDefault(sessionID SessionRef, self VMPPRef, value int) (_err error)

func VMPPClassSetBackupScheduleMockDefault

func VMPPClassSetBackupScheduleMockDefault(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func VMPPClassSetBackupTypeMockDefault

func VMPPClassSetBackupTypeMockDefault(sessionID SessionRef, self VMPPRef, value VmppBackupType) (_err error)

func VMPPClassSetIsAlarmEnabledMockDefault

func VMPPClassSetIsAlarmEnabledMockDefault(sessionID SessionRef, self VMPPRef, value bool) (_err error)

func VMPPClassSetIsPolicyEnabledMockDefault

func VMPPClassSetIsPolicyEnabledMockDefault(sessionID SessionRef, self VMPPRef, value bool) (_err error)

func VMPPClassSetNameDescriptionMockDefault

func VMPPClassSetNameDescriptionMockDefault(sessionID SessionRef, self VMPPRef, value string) (_err error)

func VMPPClassSetNameLabelMockDefault

func VMPPClassSetNameLabelMockDefault(sessionID SessionRef, self VMPPRef, value string) (_err error)

func VMSSClassAddToScheduleMockDefault

func VMSSClassAddToScheduleMockDefault(sessionID SessionRef, self VMSSRef, key string, value string) (_err error)

func VMSSClassDestroyMockDefault

func VMSSClassDestroyMockDefault(sessionID SessionRef, self VMSSRef) (_err error)

func VMSSClassGetAllRecordsMockDefault

func VMSSClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VMSSRef]VMSSRecord, _err error)

func VMSSClassGetEnabledMockDefault

func VMSSClassGetEnabledMockDefault(sessionID SessionRef, self VMSSRef) (_retval bool, _err error)

func VMSSClassGetLastRunTimeMockDefault

func VMSSClassGetLastRunTimeMockDefault(sessionID SessionRef, self VMSSRef) (_retval time.Time, _err error)

func VMSSClassGetNameDescriptionMockDefault

func VMSSClassGetNameDescriptionMockDefault(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func VMSSClassGetNameLabelMockDefault

func VMSSClassGetNameLabelMockDefault(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func VMSSClassGetRetainedSnapshotsMockDefault

func VMSSClassGetRetainedSnapshotsMockDefault(sessionID SessionRef, self VMSSRef) (_retval int, _err error)

func VMSSClassGetScheduleMockDefault

func VMSSClassGetScheduleMockDefault(sessionID SessionRef, self VMSSRef) (_retval map[string]string, _err error)

func VMSSClassGetUUIDMockDefault

func VMSSClassGetUUIDMockDefault(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func VMSSClassRemoveFromScheduleMockDefault

func VMSSClassRemoveFromScheduleMockDefault(sessionID SessionRef, self VMSSRef, key string) (_err error)

func VMSSClassSetEnabledMockDefault

func VMSSClassSetEnabledMockDefault(sessionID SessionRef, self VMSSRef, value bool) (_err error)

func VMSSClassSetFrequencyMockDefault

func VMSSClassSetFrequencyMockDefault(sessionID SessionRef, self VMSSRef, value VmssFrequency) (_err error)

func VMSSClassSetLastRunTimeMockDefault

func VMSSClassSetLastRunTimeMockDefault(sessionID SessionRef, self VMSSRef, value time.Time) (_err error)

func VMSSClassSetNameDescriptionMockDefault

func VMSSClassSetNameDescriptionMockDefault(sessionID SessionRef, self VMSSRef, value string) (_err error)

func VMSSClassSetNameLabelMockDefault

func VMSSClassSetNameLabelMockDefault(sessionID SessionRef, self VMSSRef, value string) (_err error)

func VMSSClassSetRetainedSnapshotsMockDefault

func VMSSClassSetRetainedSnapshotsMockDefault(sessionID SessionRef, self VMSSRef, value int) (_err error)

func VMSSClassSetScheduleMockDefault

func VMSSClassSetScheduleMockDefault(sessionID SessionRef, self VMSSRef, value map[string]string) (_err error)

func VMSSClassSetTypeMockDefault

func VMSSClassSetTypeMockDefault(sessionID SessionRef, self VMSSRef, value VmssType) (_err error)

func VMSSClassSnapshotNowMockDefault

func VMSSClassSnapshotNowMockDefault(sessionID SessionRef, vmss VMSSRef) (_retval string, _err error)

func VTPMClassDestroyMockDefault

func VTPMClassDestroyMockDefault(sessionID SessionRef, self VTPMRef) (_err error)

func VTPMClassGetUUIDMockDefault

func VTPMClassGetUUIDMockDefault(sessionID SessionRef, self VTPMRef) (_retval string, _err error)

func VUSBClassAddToOtherConfigMockDefault

func VUSBClassAddToOtherConfigMockDefault(sessionID SessionRef, self VUSBRef, key string, value string) (_err error)

func VUSBClassDestroyMockDefault

func VUSBClassDestroyMockDefault(sessionID SessionRef, self VUSBRef) (_err error)

func VUSBClassGetAllRecordsMockDefault

func VUSBClassGetAllRecordsMockDefault(sessionID SessionRef) (_retval map[VUSBRef]VUSBRecord, _err error)

func VUSBClassGetCurrentOperationsMockDefault

func VUSBClassGetCurrentOperationsMockDefault(sessionID SessionRef, self VUSBRef) (_retval map[string]VusbOperations, _err error)

func VUSBClassGetCurrentlyAttachedMockDefault

func VUSBClassGetCurrentlyAttachedMockDefault(sessionID SessionRef, self VUSBRef) (_retval bool, _err error)

func VUSBClassGetOtherConfigMockDefault

func VUSBClassGetOtherConfigMockDefault(sessionID SessionRef, self VUSBRef) (_retval map[string]string, _err error)

func VUSBClassGetUUIDMockDefault

func VUSBClassGetUUIDMockDefault(sessionID SessionRef, self VUSBRef) (_retval string, _err error)

func VUSBClassRemoveFromOtherConfigMockDefault

func VUSBClassRemoveFromOtherConfigMockDefault(sessionID SessionRef, self VUSBRef, key string) (_err error)

func VUSBClassSetOtherConfigMockDefault

func VUSBClassSetOtherConfigMockDefault(sessionID SessionRef, self VUSBRef, value map[string]string) (_err error)

func VUSBClassUnplugMockDefault

func VUSBClassUnplugMockDefault(sessionID SessionRef, self VUSBRef) (_err error)

Types

type APIResult

type APIResult struct {
	Value interface{}
}

type AfterApplyGuidance

type AfterApplyGuidance string
const (
	// This patch requires HVM guests to be restarted once applied.
	AfterApplyGuidanceRestartHVM AfterApplyGuidance = "restartHVM"
	// This patch requires PV guests to be restarted once applied.
	AfterApplyGuidanceRestartPV AfterApplyGuidance = "restartPV"
	// This patch requires the host to be restarted once applied.
	AfterApplyGuidanceRestartHost AfterApplyGuidance = "restartHost"
	// This patch requires XAPI to be restarted once applied.
	AfterApplyGuidanceRestartXAPI AfterApplyGuidance = "restartXAPI"
)

func PoolPatchClassGetAfterApplyGuidanceMockDefault

func PoolPatchClassGetAfterApplyGuidanceMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval []AfterApplyGuidance, _err error)

type AllocationAlgorithm

type AllocationAlgorithm string
const (
	// vGPUs of a given type are allocated evenly across supporting pGPUs.
	AllocationAlgorithmBreadthFirst AllocationAlgorithm = "breadth_first"
	// vGPUs of a given type are allocated on supporting pGPUs until they are full.
	AllocationAlgorithmDepthFirst AllocationAlgorithm = "depth_first"
)

func GPUGroupClassGetAllocationAlgorithmMockDefault

func GPUGroupClassGetAllocationAlgorithmMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval AllocationAlgorithm, _err error)

type AuthClass

type AuthClass struct {
	// contains filtered or unexported fields
}

Management of remote authentication services

func (AuthClass) GetGroupMembership

func (_class AuthClass) GetGroupMembership(sessionID SessionRef, subjectIdentifier string) (_retval []string, _err error)

This calls queries the external directory service to obtain the transitively-closed set of groups that the the subject_identifier is member of.

func (AuthClass) GetGroupMembershipMock

func (_class AuthClass) GetGroupMembershipMock(sessionID SessionRef, subjectIdentifier string) (_retval []string, _err error)

func (AuthClass) GetSubjectIdentifier

func (_class AuthClass) GetSubjectIdentifier(sessionID SessionRef, subjectName string) (_retval string, _err error)

This call queries the external directory service to obtain the subject_identifier as a string from the human-readable subject_name

func (AuthClass) GetSubjectIdentifierMock

func (_class AuthClass) GetSubjectIdentifierMock(sessionID SessionRef, subjectName string) (_retval string, _err error)

func (AuthClass) GetSubjectInformationFromIdentifier

func (_class AuthClass) GetSubjectInformationFromIdentifier(sessionID SessionRef, subjectIdentifier string) (_retval map[string]string, _err error)

This call queries the external directory service to obtain the user information (e.g. username, organization etc) from the specified subject_identifier

func (AuthClass) GetSubjectInformationFromIdentifierMock

func (_class AuthClass) GetSubjectInformationFromIdentifierMock(sessionID SessionRef, subjectIdentifier string) (_retval map[string]string, _err error)

type AuthRef

type AuthRef string

type BlobClass

type BlobClass struct {
	// contains filtered or unexported fields
}

A placeholder for a binary blob

func (BlobClass) Create

func (_class BlobClass) Create(sessionID SessionRef, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a binary blob

func (BlobClass) CreateMock

func (_class BlobClass) CreateMock(sessionID SessionRef, mimeType string, public bool) (_retval BlobRef, _err error)

func (BlobClass) Destroy

func (_class BlobClass) Destroy(sessionID SessionRef, self BlobRef) (_err error)

func (BlobClass) DestroyMock

func (_class BlobClass) DestroyMock(sessionID SessionRef, self BlobRef) (_err error)

func (BlobClass) GetAll

func (_class BlobClass) GetAll(sessionID SessionRef) (_retval []BlobRef, _err error)

Return a list of all the blobs known to the system.

func (BlobClass) GetAllMock

func (_class BlobClass) GetAllMock(sessionID SessionRef) (_retval []BlobRef, _err error)

func (BlobClass) GetAllRecords

func (_class BlobClass) GetAllRecords(sessionID SessionRef) (_retval map[BlobRef]BlobRecord, _err error)

Return a map of blob references to blob records for all blobs known to the system.

func (BlobClass) GetAllRecordsMock

func (_class BlobClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[BlobRef]BlobRecord, _err error)

func (BlobClass) GetByNameLabel

func (_class BlobClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []BlobRef, _err error)

Get all the blob instances with the given label.

func (BlobClass) GetByNameLabelMock

func (_class BlobClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []BlobRef, _err error)

func (BlobClass) GetByUUID

func (_class BlobClass) GetByUUID(sessionID SessionRef, uuid string) (_retval BlobRef, _err error)

Get a reference to the blob instance with the specified UUID.

func (BlobClass) GetByUUIDMock

func (_class BlobClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval BlobRef, _err error)

func (BlobClass) GetLastUpdated

func (_class BlobClass) GetLastUpdated(sessionID SessionRef, self BlobRef) (_retval time.Time, _err error)

Get the last_updated field of the given blob.

func (BlobClass) GetLastUpdatedMock

func (_class BlobClass) GetLastUpdatedMock(sessionID SessionRef, self BlobRef) (_retval time.Time, _err error)

func (BlobClass) GetMimeType

func (_class BlobClass) GetMimeType(sessionID SessionRef, self BlobRef) (_retval string, _err error)

Get the mime_type field of the given blob.

func (BlobClass) GetMimeTypeMock

func (_class BlobClass) GetMimeTypeMock(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func (BlobClass) GetNameDescription

func (_class BlobClass) GetNameDescription(sessionID SessionRef, self BlobRef) (_retval string, _err error)

Get the name/description field of the given blob.

func (BlobClass) GetNameDescriptionMock

func (_class BlobClass) GetNameDescriptionMock(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func (BlobClass) GetNameLabel

func (_class BlobClass) GetNameLabel(sessionID SessionRef, self BlobRef) (_retval string, _err error)

Get the name/label field of the given blob.

func (BlobClass) GetNameLabelMock

func (_class BlobClass) GetNameLabelMock(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func (BlobClass) GetPublic

func (_class BlobClass) GetPublic(sessionID SessionRef, self BlobRef) (_retval bool, _err error)

Get the public field of the given blob.

func (BlobClass) GetPublicMock

func (_class BlobClass) GetPublicMock(sessionID SessionRef, self BlobRef) (_retval bool, _err error)

func (BlobClass) GetRecord

func (_class BlobClass) GetRecord(sessionID SessionRef, self BlobRef) (_retval BlobRecord, _err error)

Get a record containing the current state of the given blob.

func (BlobClass) GetRecordMock

func (_class BlobClass) GetRecordMock(sessionID SessionRef, self BlobRef) (_retval BlobRecord, _err error)

func (BlobClass) GetSize

func (_class BlobClass) GetSize(sessionID SessionRef, self BlobRef) (_retval int, _err error)

Get the size field of the given blob.

func (BlobClass) GetSizeMock

func (_class BlobClass) GetSizeMock(sessionID SessionRef, self BlobRef) (_retval int, _err error)

func (BlobClass) GetUUID

func (_class BlobClass) GetUUID(sessionID SessionRef, self BlobRef) (_retval string, _err error)

Get the uuid field of the given blob.

func (BlobClass) GetUUIDMock

func (_class BlobClass) GetUUIDMock(sessionID SessionRef, self BlobRef) (_retval string, _err error)

func (BlobClass) SetNameDescription

func (_class BlobClass) SetNameDescription(sessionID SessionRef, self BlobRef, value string) (_err error)

Set the name/description field of the given blob.

func (BlobClass) SetNameDescriptionMock

func (_class BlobClass) SetNameDescriptionMock(sessionID SessionRef, self BlobRef, value string) (_err error)

func (BlobClass) SetNameLabel

func (_class BlobClass) SetNameLabel(sessionID SessionRef, self BlobRef, value string) (_err error)

Set the name/label field of the given blob.

func (BlobClass) SetNameLabelMock

func (_class BlobClass) SetNameLabelMock(sessionID SessionRef, self BlobRef, value string) (_err error)

func (BlobClass) SetPublic

func (_class BlobClass) SetPublic(sessionID SessionRef, self BlobRef, value bool) (_err error)

Set the public field of the given blob.

func (BlobClass) SetPublicMock

func (_class BlobClass) SetPublicMock(sessionID SessionRef, self BlobRef, value bool) (_err error)

type BlobRecord

type BlobRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Size of the binary data, in bytes
	Size int
	// True if the blob is publicly accessible
	Public bool
	// Time at which the data in the blob was last updated
	LastUpdated time.Time
	// The mime type associated with this object. Defaults to 'application/octet-stream' if the empty string is supplied
	MimeType string
}

func BlobClassGetRecordMockDefault

func BlobClassGetRecordMockDefault(sessionID SessionRef, self BlobRef) (_retval BlobRecord, _err error)

type BlobRef

type BlobRef string

func BlobClassCreateMockDefault

func BlobClassCreateMockDefault(sessionID SessionRef, mimeType string, public bool) (_retval BlobRef, _err error)

func BlobClassGetAllMockDefault

func BlobClassGetAllMockDefault(sessionID SessionRef) (_retval []BlobRef, _err error)

func BlobClassGetByNameLabelMockDefault

func BlobClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []BlobRef, _err error)

func BlobClassGetByUUIDMockDefault

func BlobClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval BlobRef, _err error)

func HostClassCreateNewBlobMockDefault

func HostClassCreateNewBlobMockDefault(sessionID SessionRef, host HostRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func NetworkClassCreateNewBlobMockDefault

func NetworkClassCreateNewBlobMockDefault(sessionID SessionRef, network NetworkRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func PoolClassCreateNewBlobMockDefault

func PoolClassCreateNewBlobMockDefault(sessionID SessionRef, pool PoolRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func SRClassCreateNewBlobMockDefault

func SRClassCreateNewBlobMockDefault(sessionID SessionRef, sr SRRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func VMClassCreateNewBlobMockDefault

func VMClassCreateNewBlobMockDefault(sessionID SessionRef, vm VMRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

type BondClass

type BondClass struct {
	// contains filtered or unexported fields
}

func (BondClass) AddToOtherConfig

func (_class BondClass) AddToOtherConfig(sessionID SessionRef, self BondRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given Bond.

func (BondClass) AddToOtherConfigMock

func (_class BondClass) AddToOtherConfigMock(sessionID SessionRef, self BondRef, key string, value string) (_err error)

func (BondClass) Create

func (_class BondClass) Create(sessionID SessionRef, network NetworkRef, members []PIFRef, mac string, mode BondMode, properties map[string]string) (_retval BondRef, _err error)

Create an interface bond

func (BondClass) CreateMock

func (_class BondClass) CreateMock(sessionID SessionRef, network NetworkRef, members []PIFRef, mac string, mode BondMode, properties map[string]string) (_retval BondRef, _err error)

func (BondClass) Destroy

func (_class BondClass) Destroy(sessionID SessionRef, self BondRef) (_err error)

Destroy an interface bond

func (BondClass) DestroyMock

func (_class BondClass) DestroyMock(sessionID SessionRef, self BondRef) (_err error)

func (BondClass) GetAll

func (_class BondClass) GetAll(sessionID SessionRef) (_retval []BondRef, _err error)

Return a list of all the Bonds known to the system.

func (BondClass) GetAllMock

func (_class BondClass) GetAllMock(sessionID SessionRef) (_retval []BondRef, _err error)

func (BondClass) GetAllRecords

func (_class BondClass) GetAllRecords(sessionID SessionRef) (_retval map[BondRef]BondRecord, _err error)

Return a map of Bond references to Bond records for all Bonds known to the system.

func (BondClass) GetAllRecordsMock

func (_class BondClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[BondRef]BondRecord, _err error)

func (BondClass) GetByUUID

func (_class BondClass) GetByUUID(sessionID SessionRef, uuid string) (_retval BondRef, _err error)

Get a reference to the Bond instance with the specified UUID.

func (BondClass) GetByUUIDMock

func (_class BondClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval BondRef, _err error)

func (BondClass) GetLinksUp

func (_class BondClass) GetLinksUp(sessionID SessionRef, self BondRef) (_retval int, _err error)

Get the links_up field of the given Bond.

func (BondClass) GetLinksUpMock

func (_class BondClass) GetLinksUpMock(sessionID SessionRef, self BondRef) (_retval int, _err error)

func (BondClass) GetMaster

func (_class BondClass) GetMaster(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

Get the master field of the given Bond.

func (BondClass) GetMasterMock

func (_class BondClass) GetMasterMock(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

func (BondClass) GetMode

func (_class BondClass) GetMode(sessionID SessionRef, self BondRef) (_retval BondMode, _err error)

Get the mode field of the given Bond.

func (BondClass) GetModeMock

func (_class BondClass) GetModeMock(sessionID SessionRef, self BondRef) (_retval BondMode, _err error)

func (BondClass) GetOtherConfig

func (_class BondClass) GetOtherConfig(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

Get the other_config field of the given Bond.

func (BondClass) GetOtherConfigMock

func (_class BondClass) GetOtherConfigMock(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

func (BondClass) GetPrimarySlave

func (_class BondClass) GetPrimarySlave(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

Get the primary_slave field of the given Bond.

func (BondClass) GetPrimarySlaveMock

func (_class BondClass) GetPrimarySlaveMock(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

func (BondClass) GetProperties

func (_class BondClass) GetProperties(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

Get the properties field of the given Bond.

func (BondClass) GetPropertiesMock

func (_class BondClass) GetPropertiesMock(sessionID SessionRef, self BondRef) (_retval map[string]string, _err error)

func (BondClass) GetRecord

func (_class BondClass) GetRecord(sessionID SessionRef, self BondRef) (_retval BondRecord, _err error)

Get a record containing the current state of the given Bond.

func (BondClass) GetRecordMock

func (_class BondClass) GetRecordMock(sessionID SessionRef, self BondRef) (_retval BondRecord, _err error)

func (BondClass) GetSlaves

func (_class BondClass) GetSlaves(sessionID SessionRef, self BondRef) (_retval []PIFRef, _err error)

Get the slaves field of the given Bond.

func (BondClass) GetSlavesMock

func (_class BondClass) GetSlavesMock(sessionID SessionRef, self BondRef) (_retval []PIFRef, _err error)

func (BondClass) GetUUID

func (_class BondClass) GetUUID(sessionID SessionRef, self BondRef) (_retval string, _err error)

Get the uuid field of the given Bond.

func (BondClass) GetUUIDMock

func (_class BondClass) GetUUIDMock(sessionID SessionRef, self BondRef) (_retval string, _err error)

func (BondClass) RemoveFromOtherConfig

func (_class BondClass) RemoveFromOtherConfig(sessionID SessionRef, self BondRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given Bond. If the key is not in that Map, then do nothing.

func (BondClass) RemoveFromOtherConfigMock

func (_class BondClass) RemoveFromOtherConfigMock(sessionID SessionRef, self BondRef, key string) (_err error)

func (BondClass) SetMode

func (_class BondClass) SetMode(sessionID SessionRef, self BondRef, value BondMode) (_err error)

Change the bond mode

func (BondClass) SetModeMock

func (_class BondClass) SetModeMock(sessionID SessionRef, self BondRef, value BondMode) (_err error)

func (BondClass) SetOtherConfig

func (_class BondClass) SetOtherConfig(sessionID SessionRef, self BondRef, value map[string]string) (_err error)

Set the other_config field of the given Bond.

func (BondClass) SetOtherConfigMock

func (_class BondClass) SetOtherConfigMock(sessionID SessionRef, self BondRef, value map[string]string) (_err error)

func (BondClass) SetProperty

func (_class BondClass) SetProperty(sessionID SessionRef, self BondRef, name string, value string) (_err error)

Set the value of a property of the bond

func (BondClass) SetPropertyMock

func (_class BondClass) SetPropertyMock(sessionID SessionRef, self BondRef, name string, value string) (_err error)

type BondMode

type BondMode string
const (
	// Source-level balancing
	BondModeBalanceSlb BondMode = "balance-slb"
	// Active/passive bonding: only one NIC is carrying traffic
	BondModeActiveBackup BondMode = "active-backup"
	// Link aggregation control protocol
	BondModeLacp BondMode = "lacp"
)

func BondClassGetModeMockDefault

func BondClassGetModeMockDefault(sessionID SessionRef, self BondRef) (_retval BondMode, _err error)

type BondRecord

type BondRecord struct {
	// Unique identifier/object reference
	UUID string
	// The bonded interface
	Master PIFRef
	// The interfaces which are part of this bond
	Slaves []PIFRef
	// additional configuration
	OtherConfig map[string]string
	// The PIF of which the IP configuration and MAC were copied to the bond, and which will receive all configuration/VLANs/VIFs on the bond if the bond is destroyed
	PrimarySlave PIFRef
	// The algorithm used to distribute traffic among the bonded NICs
	Mode BondMode
	// Additional configuration properties specific to the bond mode.
	Properties map[string]string
	// Number of links up in this bond
	LinksUp int
}

func BondClassGetRecordMockDefault

func BondClassGetRecordMockDefault(sessionID SessionRef, self BondRef) (_retval BondRecord, _err error)

type BondRef

type BondRef string

func BondClassCreateMockDefault

func BondClassCreateMockDefault(sessionID SessionRef, network NetworkRef, members []PIFRef, mac string, mode BondMode, properties map[string]string) (_retval BondRef, _err error)

func BondClassGetAllMockDefault

func BondClassGetAllMockDefault(sessionID SessionRef) (_retval []BondRef, _err error)

func BondClassGetByUUIDMockDefault

func BondClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval BondRef, _err error)

func PIFClassGetBondMasterOfMockDefault

func PIFClassGetBondMasterOfMockDefault(sessionID SessionRef, self PIFRef) (_retval []BondRef, _err error)

func PIFClassGetBondSlaveOfMockDefault

func PIFClassGetBondSlaveOfMockDefault(sessionID SessionRef, self PIFRef) (_retval BondRef, _err error)

type Client

type Client struct {
	Session          SessionClass
	Auth             AuthClass
	Subject          SubjectClass
	Role             RoleClass
	Task             TaskClass
	Event            EventClass
	Pool             PoolClass
	PoolPatch        PoolPatchClass
	PoolUpdate       PoolUpdateClass
	VM               VMClass
	VMMetrics        VMMetricsClass
	VMGuestMetrics   VMGuestMetricsClass
	VMPP             VMPPClass
	VMSS             VMSSClass
	VMAppliance      VMApplianceClass
	DRTask           DRTaskClass
	Host             HostClass
	HostCrashdump    HostCrashdumpClass
	HostPatch        HostPatchClass
	HostMetrics      HostMetricsClass
	HostCPU          HostCPUClass
	Network          NetworkClass
	VIF              VIFClass
	VIFMetrics       VIFMetricsClass
	PIF              PIFClass
	PIFMetrics       PIFMetricsClass
	Bond             BondClass
	VLAN             VLANClass
	SM               SMClass
	SR               SRClass
	LVHD             LVHDClass
	VDI              VDIClass
	VBD              VBDClass
	VBDMetrics       VBDMetricsClass
	PBD              PBDClass
	Crashdump        CrashdumpClass
	VTPM             VTPMClass
	Console          ConsoleClass
	User             UserClass
	DataSource       DataSourceClass
	Blob             BlobClass
	Message          MessageClass
	Secret           SecretClass
	Tunnel           TunnelClass
	PCI              PCIClass
	PGPU             PGPUClass
	GPUGroup         GPUGroupClass
	VGPU             VGPUClass
	VGPUType         VGPUTypeClass
	PVSSite          PVSSiteClass
	PVSServer        PVSServerClass
	PVSProxy         PVSProxyClass
	PVSCacheStorage  PVSCacheStorageClass
	Feature          FeatureClass
	SDNController    SDNControllerClass
	VdiNbdServerInfo VdiNbdServerInfoClass
	PUSB             PUSBClass
	USBGroup         USBGroupClass
	VUSB             VUSBClass
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string, transport *http.Transport) (*Client, error)

func (*Client) APICall

func (client *Client) APICall(method string, params ...interface{}) (result APIResult, err error)

type Cls

type Cls string
const (
	// VM
	ClsVM Cls = "VM"
	// Host
	ClsHost Cls = "Host"
	// SR
	ClsSR Cls = "SR"
	// Pool
	ClsPool Cls = "Pool"
	// VMPP
	ClsVMPP Cls = "VMPP"
	// VMSS
	ClsVMSS Cls = "VMSS"
	// PVS_proxy
	ClsPVSProxy Cls = "PVS_proxy"
	// VDI
	ClsVDI Cls = "VDI"
)

type ConsoleClass

type ConsoleClass struct {
	// contains filtered or unexported fields
}

A console

func (ConsoleClass) AddToOtherConfig

func (_class ConsoleClass) AddToOtherConfig(sessionID SessionRef, self ConsoleRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given console.

func (ConsoleClass) AddToOtherConfigMock

func (_class ConsoleClass) AddToOtherConfigMock(sessionID SessionRef, self ConsoleRef, key string, value string) (_err error)

func (ConsoleClass) Create

func (_class ConsoleClass) Create(sessionID SessionRef, args ConsoleRecord) (_retval ConsoleRef, _err error)

Create a new console instance, and return its handle. The constructor args are: other_config* (* = non-optional).

func (ConsoleClass) CreateMock

func (_class ConsoleClass) CreateMock(sessionID SessionRef, args ConsoleRecord) (_retval ConsoleRef, _err error)

func (ConsoleClass) Destroy

func (_class ConsoleClass) Destroy(sessionID SessionRef, self ConsoleRef) (_err error)

Destroy the specified console instance.

func (ConsoleClass) DestroyMock

func (_class ConsoleClass) DestroyMock(sessionID SessionRef, self ConsoleRef) (_err error)

func (ConsoleClass) GetAll

func (_class ConsoleClass) GetAll(sessionID SessionRef) (_retval []ConsoleRef, _err error)

Return a list of all the consoles known to the system.

func (ConsoleClass) GetAllMock

func (_class ConsoleClass) GetAllMock(sessionID SessionRef) (_retval []ConsoleRef, _err error)

func (ConsoleClass) GetAllRecords

func (_class ConsoleClass) GetAllRecords(sessionID SessionRef) (_retval map[ConsoleRef]ConsoleRecord, _err error)

Return a map of console references to console records for all consoles known to the system.

func (ConsoleClass) GetAllRecordsMock

func (_class ConsoleClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[ConsoleRef]ConsoleRecord, _err error)

func (ConsoleClass) GetByUUID

func (_class ConsoleClass) GetByUUID(sessionID SessionRef, uuid string) (_retval ConsoleRef, _err error)

Get a reference to the console instance with the specified UUID.

func (ConsoleClass) GetByUUIDMock

func (_class ConsoleClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval ConsoleRef, _err error)

func (ConsoleClass) GetLocation

func (_class ConsoleClass) GetLocation(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

Get the location field of the given console.

func (ConsoleClass) GetLocationMock

func (_class ConsoleClass) GetLocationMock(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

func (ConsoleClass) GetOtherConfig

func (_class ConsoleClass) GetOtherConfig(sessionID SessionRef, self ConsoleRef) (_retval map[string]string, _err error)

Get the other_config field of the given console.

func (ConsoleClass) GetOtherConfigMock

func (_class ConsoleClass) GetOtherConfigMock(sessionID SessionRef, self ConsoleRef) (_retval map[string]string, _err error)

func (ConsoleClass) GetProtocol

func (_class ConsoleClass) GetProtocol(sessionID SessionRef, self ConsoleRef) (_retval ConsoleProtocol, _err error)

Get the protocol field of the given console.

func (ConsoleClass) GetProtocolMock

func (_class ConsoleClass) GetProtocolMock(sessionID SessionRef, self ConsoleRef) (_retval ConsoleProtocol, _err error)

func (ConsoleClass) GetRecord

func (_class ConsoleClass) GetRecord(sessionID SessionRef, self ConsoleRef) (_retval ConsoleRecord, _err error)

Get a record containing the current state of the given console.

func (ConsoleClass) GetRecordMock

func (_class ConsoleClass) GetRecordMock(sessionID SessionRef, self ConsoleRef) (_retval ConsoleRecord, _err error)

func (ConsoleClass) GetUUID

func (_class ConsoleClass) GetUUID(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

Get the uuid field of the given console.

func (ConsoleClass) GetUUIDMock

func (_class ConsoleClass) GetUUIDMock(sessionID SessionRef, self ConsoleRef) (_retval string, _err error)

func (ConsoleClass) GetVM

func (_class ConsoleClass) GetVM(sessionID SessionRef, self ConsoleRef) (_retval VMRef, _err error)

Get the VM field of the given console.

func (ConsoleClass) GetVMMock

func (_class ConsoleClass) GetVMMock(sessionID SessionRef, self ConsoleRef) (_retval VMRef, _err error)

func (ConsoleClass) RemoveFromOtherConfig

func (_class ConsoleClass) RemoveFromOtherConfig(sessionID SessionRef, self ConsoleRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given console. If the key is not in that Map, then do nothing.

func (ConsoleClass) RemoveFromOtherConfigMock

func (_class ConsoleClass) RemoveFromOtherConfigMock(sessionID SessionRef, self ConsoleRef, key string) (_err error)

func (ConsoleClass) SetOtherConfig

func (_class ConsoleClass) SetOtherConfig(sessionID SessionRef, self ConsoleRef, value map[string]string) (_err error)

Set the other_config field of the given console.

func (ConsoleClass) SetOtherConfigMock

func (_class ConsoleClass) SetOtherConfigMock(sessionID SessionRef, self ConsoleRef, value map[string]string) (_err error)

type ConsoleProtocol

type ConsoleProtocol string
const (
	// VT100 terminal
	ConsoleProtocolVt100 ConsoleProtocol = "vt100"
	// Remote FrameBuffer protocol (as used in VNC)
	ConsoleProtocolRfb ConsoleProtocol = "rfb"
	// Remote Desktop Protocol
	ConsoleProtocolRdp ConsoleProtocol = "rdp"
)

func ConsoleClassGetProtocolMockDefault

func ConsoleClassGetProtocolMockDefault(sessionID SessionRef, self ConsoleRef) (_retval ConsoleProtocol, _err error)

type ConsoleRecord

type ConsoleRecord struct {
	// Unique identifier/object reference
	UUID string
	// the protocol used by this console
	Protocol ConsoleProtocol
	// URI for the console service
	Location string
	// VM to which this console is attached
	VM VMRef
	// additional configuration
	OtherConfig map[string]string
}

func ConsoleClassGetRecordMockDefault

func ConsoleClassGetRecordMockDefault(sessionID SessionRef, self ConsoleRef) (_retval ConsoleRecord, _err error)

type ConsoleRef

type ConsoleRef string

func ConsoleClassCreateMockDefault

func ConsoleClassCreateMockDefault(sessionID SessionRef, args ConsoleRecord) (_retval ConsoleRef, _err error)

func ConsoleClassGetAllMockDefault

func ConsoleClassGetAllMockDefault(sessionID SessionRef) (_retval []ConsoleRef, _err error)

func ConsoleClassGetByUUIDMockDefault

func ConsoleClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval ConsoleRef, _err error)

func VMClassGetConsolesMockDefault

func VMClassGetConsolesMockDefault(sessionID SessionRef, self VMRef) (_retval []ConsoleRef, _err error)

type CrashdumpClass

type CrashdumpClass struct {
	// contains filtered or unexported fields
}

A VM crashdump

func (CrashdumpClass) AddToOtherConfig

func (_class CrashdumpClass) AddToOtherConfig(sessionID SessionRef, self CrashdumpRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given crashdump.

func (CrashdumpClass) AddToOtherConfigMock

func (_class CrashdumpClass) AddToOtherConfigMock(sessionID SessionRef, self CrashdumpRef, key string, value string) (_err error)

func (CrashdumpClass) Destroy

func (_class CrashdumpClass) Destroy(sessionID SessionRef, self CrashdumpRef) (_err error)

Destroy the specified crashdump

func (CrashdumpClass) DestroyMock

func (_class CrashdumpClass) DestroyMock(sessionID SessionRef, self CrashdumpRef) (_err error)

func (CrashdumpClass) GetAll

func (_class CrashdumpClass) GetAll(sessionID SessionRef) (_retval []CrashdumpRef, _err error)

Return a list of all the crashdumps known to the system.

func (CrashdumpClass) GetAllMock

func (_class CrashdumpClass) GetAllMock(sessionID SessionRef) (_retval []CrashdumpRef, _err error)

func (CrashdumpClass) GetAllRecords

func (_class CrashdumpClass) GetAllRecords(sessionID SessionRef) (_retval map[CrashdumpRef]CrashdumpRecord, _err error)

Return a map of crashdump references to crashdump records for all crashdumps known to the system.

func (CrashdumpClass) GetAllRecordsMock

func (_class CrashdumpClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[CrashdumpRef]CrashdumpRecord, _err error)

func (CrashdumpClass) GetByUUID

func (_class CrashdumpClass) GetByUUID(sessionID SessionRef, uuid string) (_retval CrashdumpRef, _err error)

Get a reference to the crashdump instance with the specified UUID.

func (CrashdumpClass) GetByUUIDMock

func (_class CrashdumpClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval CrashdumpRef, _err error)

func (CrashdumpClass) GetOtherConfig

func (_class CrashdumpClass) GetOtherConfig(sessionID SessionRef, self CrashdumpRef) (_retval map[string]string, _err error)

Get the other_config field of the given crashdump.

func (CrashdumpClass) GetOtherConfigMock

func (_class CrashdumpClass) GetOtherConfigMock(sessionID SessionRef, self CrashdumpRef) (_retval map[string]string, _err error)

func (CrashdumpClass) GetRecord

func (_class CrashdumpClass) GetRecord(sessionID SessionRef, self CrashdumpRef) (_retval CrashdumpRecord, _err error)

Get a record containing the current state of the given crashdump.

func (CrashdumpClass) GetRecordMock

func (_class CrashdumpClass) GetRecordMock(sessionID SessionRef, self CrashdumpRef) (_retval CrashdumpRecord, _err error)

func (CrashdumpClass) GetUUID

func (_class CrashdumpClass) GetUUID(sessionID SessionRef, self CrashdumpRef) (_retval string, _err error)

Get the uuid field of the given crashdump.

func (CrashdumpClass) GetUUIDMock

func (_class CrashdumpClass) GetUUIDMock(sessionID SessionRef, self CrashdumpRef) (_retval string, _err error)

func (CrashdumpClass) GetVDI

func (_class CrashdumpClass) GetVDI(sessionID SessionRef, self CrashdumpRef) (_retval VDIRef, _err error)

Get the VDI field of the given crashdump.

func (CrashdumpClass) GetVDIMock

func (_class CrashdumpClass) GetVDIMock(sessionID SessionRef, self CrashdumpRef) (_retval VDIRef, _err error)

func (CrashdumpClass) GetVM

func (_class CrashdumpClass) GetVM(sessionID SessionRef, self CrashdumpRef) (_retval VMRef, _err error)

Get the VM field of the given crashdump.

func (CrashdumpClass) GetVMMock

func (_class CrashdumpClass) GetVMMock(sessionID SessionRef, self CrashdumpRef) (_retval VMRef, _err error)

func (CrashdumpClass) RemoveFromOtherConfig

func (_class CrashdumpClass) RemoveFromOtherConfig(sessionID SessionRef, self CrashdumpRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given crashdump. If the key is not in that Map, then do nothing.

func (CrashdumpClass) RemoveFromOtherConfigMock

func (_class CrashdumpClass) RemoveFromOtherConfigMock(sessionID SessionRef, self CrashdumpRef, key string) (_err error)

func (CrashdumpClass) SetOtherConfig

func (_class CrashdumpClass) SetOtherConfig(sessionID SessionRef, self CrashdumpRef, value map[string]string) (_err error)

Set the other_config field of the given crashdump.

func (CrashdumpClass) SetOtherConfigMock

func (_class CrashdumpClass) SetOtherConfigMock(sessionID SessionRef, self CrashdumpRef, value map[string]string) (_err error)

type CrashdumpRecord

type CrashdumpRecord struct {
	// Unique identifier/object reference
	UUID string
	// the virtual machine
	VM VMRef
	// the virtual disk
	VDI VDIRef
	// additional configuration
	OtherConfig map[string]string
}

func CrashdumpClassGetRecordMockDefault

func CrashdumpClassGetRecordMockDefault(sessionID SessionRef, self CrashdumpRef) (_retval CrashdumpRecord, _err error)

type CrashdumpRef

type CrashdumpRef string

func CrashdumpClassGetAllMockDefault

func CrashdumpClassGetAllMockDefault(sessionID SessionRef) (_retval []CrashdumpRef, _err error)

func CrashdumpClassGetByUUIDMockDefault

func CrashdumpClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval CrashdumpRef, _err error)

func VDIClassGetCrashDumpsMockDefault

func VDIClassGetCrashDumpsMockDefault(sessionID SessionRef, self VDIRef) (_retval []CrashdumpRef, _err error)

func VMClassGetCrashDumpsMockDefault

func VMClassGetCrashDumpsMockDefault(sessionID SessionRef, self VMRef) (_retval []CrashdumpRef, _err error)

type DRTaskClass

type DRTaskClass struct {
	// contains filtered or unexported fields
}

DR task

func (DRTaskClass) Create

func (_class DRTaskClass) Create(sessionID SessionRef, atype string, deviceConfig map[string]string, whitelist []string) (_retval DRTaskRef, _err error)

Create a disaster recovery task which will query the supplied list of devices

func (DRTaskClass) CreateMock

func (_class DRTaskClass) CreateMock(sessionID SessionRef, atype string, deviceConfig map[string]string, whitelist []string) (_retval DRTaskRef, _err error)

func (DRTaskClass) Destroy

func (_class DRTaskClass) Destroy(sessionID SessionRef, self DRTaskRef) (_err error)

Destroy the disaster recovery task, detaching and forgetting any SRs introduced which are no longer required

func (DRTaskClass) DestroyMock

func (_class DRTaskClass) DestroyMock(sessionID SessionRef, self DRTaskRef) (_err error)

func (DRTaskClass) GetAll

func (_class DRTaskClass) GetAll(sessionID SessionRef) (_retval []DRTaskRef, _err error)

Return a list of all the DR_tasks known to the system.

func (DRTaskClass) GetAllMock

func (_class DRTaskClass) GetAllMock(sessionID SessionRef) (_retval []DRTaskRef, _err error)

func (DRTaskClass) GetAllRecords

func (_class DRTaskClass) GetAllRecords(sessionID SessionRef) (_retval map[DRTaskRef]DRTaskRecord, _err error)

Return a map of DR_task references to DR_task records for all DR_tasks known to the system.

func (DRTaskClass) GetAllRecordsMock

func (_class DRTaskClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[DRTaskRef]DRTaskRecord, _err error)

func (DRTaskClass) GetByUUID

func (_class DRTaskClass) GetByUUID(sessionID SessionRef, uuid string) (_retval DRTaskRef, _err error)

Get a reference to the DR_task instance with the specified UUID.

func (DRTaskClass) GetByUUIDMock

func (_class DRTaskClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval DRTaskRef, _err error)

func (DRTaskClass) GetIntroducedSRs

func (_class DRTaskClass) GetIntroducedSRs(sessionID SessionRef, self DRTaskRef) (_retval []SRRef, _err error)

Get the introduced_SRs field of the given DR_task.

func (DRTaskClass) GetIntroducedSRsMock

func (_class DRTaskClass) GetIntroducedSRsMock(sessionID SessionRef, self DRTaskRef) (_retval []SRRef, _err error)

func (DRTaskClass) GetRecord

func (_class DRTaskClass) GetRecord(sessionID SessionRef, self DRTaskRef) (_retval DRTaskRecord, _err error)

Get a record containing the current state of the given DR_task.

func (DRTaskClass) GetRecordMock

func (_class DRTaskClass) GetRecordMock(sessionID SessionRef, self DRTaskRef) (_retval DRTaskRecord, _err error)

func (DRTaskClass) GetUUID

func (_class DRTaskClass) GetUUID(sessionID SessionRef, self DRTaskRef) (_retval string, _err error)

Get the uuid field of the given DR_task.

func (DRTaskClass) GetUUIDMock

func (_class DRTaskClass) GetUUIDMock(sessionID SessionRef, self DRTaskRef) (_retval string, _err error)

type DRTaskRecord

type DRTaskRecord struct {
	// Unique identifier/object reference
	UUID string
	// All SRs introduced by this appliance
	IntroducedSRs []SRRef
}

func DRTaskClassGetRecordMockDefault

func DRTaskClassGetRecordMockDefault(sessionID SessionRef, self DRTaskRef) (_retval DRTaskRecord, _err error)

type DRTaskRef

type DRTaskRef string

func DRTaskClassCreateMockDefault

func DRTaskClassCreateMockDefault(sessionID SessionRef, atype string, deviceConfig map[string]string, whitelist []string) (_retval DRTaskRef, _err error)

func DRTaskClassGetAllMockDefault

func DRTaskClassGetAllMockDefault(sessionID SessionRef) (_retval []DRTaskRef, _err error)

func DRTaskClassGetByUUIDMockDefault

func DRTaskClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval DRTaskRef, _err error)

func SRClassGetIntroducedByMockDefault

func SRClassGetIntroducedByMockDefault(sessionID SessionRef, self SRRef) (_retval DRTaskRef, _err error)

type DataSourceClass

type DataSourceClass struct {
	// contains filtered or unexported fields
}

Data sources for logging in RRDs

type DataSourceRecord

type DataSourceRecord struct {
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// true if the data source is being logged
	Enabled bool
	// true if the data source is enabled by default. Non-default data sources cannot be disabled
	Standard bool
	// the units of the value
	Units string
	// the minimum value of the data source
	Min float64
	// the maximum value of the data source
	Max float64
	// current value of the data source
	Value float64
}

func HostClassGetDataSourcesMockDefault

func HostClassGetDataSourcesMockDefault(sessionID SessionRef, host HostRef) (_retval []DataSourceRecord, _err error)

func SRClassGetDataSourcesMockDefault

func SRClassGetDataSourcesMockDefault(sessionID SessionRef, sr SRRef) (_retval []DataSourceRecord, _err error)

func VMClassGetDataSourcesMockDefault

func VMClassGetDataSourcesMockDefault(sessionID SessionRef, self VMRef) (_retval []DataSourceRecord, _err error)

type DataSourceRef

type DataSourceRef string

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error represents errors returned on xmlrpc request.

func (*Error) Code

func (e *Error) Code() string

Code ...

func (*Error) Error

func (e *Error) Error() string

Error() method implements Error interface

func (*Error) Type

func (e *Error) Type() string

Type ...

func (*Error) UUID

func (e *Error) UUID() string

UUID ...

type EventClass

type EventClass struct {
	// contains filtered or unexported fields
}

Asynchronous event registration and handling

func (EventClass) From

func (_class EventClass) From(sessionID SessionRef, classes []string, token string, timeout float64) (_retval []EventRecord, _err error)

Blocking call which returns a new token and a (possibly empty) batch of events. The returned token can be used in subsequent calls to this function.

Errors:

SESSION_NOT_REGISTERED - This session is not registered to receive events.  You must call event.register before event.next.  The session handle you are using is echoed.
EVENTS_LOST - Some events have been lost from the queue and cannot be retrieved.

func (EventClass) FromMock

func (_class EventClass) FromMock(sessionID SessionRef, classes []string, token string, timeout float64) (_retval []EventRecord, _err error)

func (EventClass) GetCurrentID

func (_class EventClass) GetCurrentID(sessionID SessionRef) (_retval int, _err error)

Return the ID of the next event to be generated by the system

func (EventClass) GetCurrentIDMock

func (_class EventClass) GetCurrentIDMock(sessionID SessionRef) (_retval int, _err error)

func (EventClass) Inject

func (_class EventClass) Inject(sessionID SessionRef, class string, ref string) (_retval string, _err error)

Injects an artificial event on the given object and return the corresponding ID

func (EventClass) InjectMock

func (_class EventClass) InjectMock(sessionID SessionRef, class string, ref string) (_retval string, _err error)

func (EventClass) Next

func (_class EventClass) Next(sessionID SessionRef) (_retval []EventRecord, _err error)

Blocking call which returns a (possibly empty) batch of events. This method is only recommended for legacy use. New development should use event.from which supercedes this method.

Errors:

SESSION_NOT_REGISTERED - This session is not registered to receive events.  You must call event.register before event.next.  The session handle you are using is echoed.
EVENTS_LOST - Some events have been lost from the queue and cannot be retrieved.

func (EventClass) NextMock

func (_class EventClass) NextMock(sessionID SessionRef) (_retval []EventRecord, _err error)

func (EventClass) Register

func (_class EventClass) Register(sessionID SessionRef, classes []string) (_err error)

Registers this session with the event system. Specifying * as the desired class will register for all classes.

func (EventClass) RegisterMock

func (_class EventClass) RegisterMock(sessionID SessionRef, classes []string) (_err error)

func (EventClass) Unregister

func (_class EventClass) Unregister(sessionID SessionRef, classes []string) (_err error)

Unregisters this session with the event system

func (EventClass) UnregisterMock

func (_class EventClass) UnregisterMock(sessionID SessionRef, classes []string) (_err error)

type EventOperation

type EventOperation string
const (
	// An object has been created
	EventOperationAdd EventOperation = "add"
	// An object has been deleted
	EventOperationDel EventOperation = "del"
	// An object has been modified
	EventOperationMod EventOperation = "mod"
)

type EventRecord

type EventRecord struct {
	// An ID, monotonically increasing, and local to the current session
	ID int
	// The time at which the event occurred
	Timestamp time.Time
	// The name of the class of the object that changed
	Class string
	// The operation that was performed
	Operation EventOperation
	// A reference to the object that changed
	Ref string
	// The uuid of the object that changed
	ObjUUID string
}

func EventClassFromMockDefault

func EventClassFromMockDefault(sessionID SessionRef, classes []string, token string, timeout float64) (_retval []EventRecord, _err error)

func EventClassNextMockDefault

func EventClassNextMockDefault(sessionID SessionRef) (_retval []EventRecord, _err error)

type EventRef

type EventRef string

type FeatureClass

type FeatureClass struct {
	// contains filtered or unexported fields
}

A new piece of functionality

func (FeatureClass) GetAll

func (_class FeatureClass) GetAll(sessionID SessionRef) (_retval []FeatureRef, _err error)

Return a list of all the Features known to the system.

func (FeatureClass) GetAllMock

func (_class FeatureClass) GetAllMock(sessionID SessionRef) (_retval []FeatureRef, _err error)

func (FeatureClass) GetAllRecords

func (_class FeatureClass) GetAllRecords(sessionID SessionRef) (_retval map[FeatureRef]FeatureRecord, _err error)

Return a map of Feature references to Feature records for all Features known to the system.

func (FeatureClass) GetAllRecordsMock

func (_class FeatureClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[FeatureRef]FeatureRecord, _err error)

func (FeatureClass) GetByNameLabel

func (_class FeatureClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []FeatureRef, _err error)

Get all the Feature instances with the given label.

func (FeatureClass) GetByNameLabelMock

func (_class FeatureClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []FeatureRef, _err error)

func (FeatureClass) GetByUUID

func (_class FeatureClass) GetByUUID(sessionID SessionRef, uuid string) (_retval FeatureRef, _err error)

Get a reference to the Feature instance with the specified UUID.

func (FeatureClass) GetByUUIDMock

func (_class FeatureClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval FeatureRef, _err error)

func (FeatureClass) GetEnabled

func (_class FeatureClass) GetEnabled(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

Get the enabled field of the given Feature.

func (FeatureClass) GetEnabledMock

func (_class FeatureClass) GetEnabledMock(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

func (FeatureClass) GetExperimental

func (_class FeatureClass) GetExperimental(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

Get the experimental field of the given Feature.

func (FeatureClass) GetExperimentalMock

func (_class FeatureClass) GetExperimentalMock(sessionID SessionRef, self FeatureRef) (_retval bool, _err error)

func (FeatureClass) GetHost

func (_class FeatureClass) GetHost(sessionID SessionRef, self FeatureRef) (_retval HostRef, _err error)

Get the host field of the given Feature.

func (FeatureClass) GetHostMock

func (_class FeatureClass) GetHostMock(sessionID SessionRef, self FeatureRef) (_retval HostRef, _err error)

func (FeatureClass) GetNameDescription

func (_class FeatureClass) GetNameDescription(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

Get the name/description field of the given Feature.

func (FeatureClass) GetNameDescriptionMock

func (_class FeatureClass) GetNameDescriptionMock(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func (FeatureClass) GetNameLabel

func (_class FeatureClass) GetNameLabel(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

Get the name/label field of the given Feature.

func (FeatureClass) GetNameLabelMock

func (_class FeatureClass) GetNameLabelMock(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func (FeatureClass) GetRecord

func (_class FeatureClass) GetRecord(sessionID SessionRef, self FeatureRef) (_retval FeatureRecord, _err error)

Get a record containing the current state of the given Feature.

func (FeatureClass) GetRecordMock

func (_class FeatureClass) GetRecordMock(sessionID SessionRef, self FeatureRef) (_retval FeatureRecord, _err error)

func (FeatureClass) GetUUID

func (_class FeatureClass) GetUUID(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

Get the uuid field of the given Feature.

func (FeatureClass) GetUUIDMock

func (_class FeatureClass) GetUUIDMock(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

func (FeatureClass) GetVersion

func (_class FeatureClass) GetVersion(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

Get the version field of the given Feature.

func (FeatureClass) GetVersionMock

func (_class FeatureClass) GetVersionMock(sessionID SessionRef, self FeatureRef) (_retval string, _err error)

type FeatureRecord

type FeatureRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Indicates whether the feature is enabled
	Enabled bool
	// Indicates whether the feature is experimental (as opposed to stable and fully supported)
	Experimental bool
	// The version of this feature
	Version string
	// The host where this feature is available
	Host HostRef
}

func FeatureClassGetRecordMockDefault

func FeatureClassGetRecordMockDefault(sessionID SessionRef, self FeatureRef) (_retval FeatureRecord, _err error)

type FeatureRef

type FeatureRef string

func FeatureClassGetAllMockDefault

func FeatureClassGetAllMockDefault(sessionID SessionRef) (_retval []FeatureRef, _err error)

func FeatureClassGetByNameLabelMockDefault

func FeatureClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []FeatureRef, _err error)

func FeatureClassGetByUUIDMockDefault

func FeatureClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval FeatureRef, _err error)

func HostClassGetFeaturesMockDefault

func HostClassGetFeaturesMockDefault(sessionID SessionRef, self HostRef) (_retval []FeatureRef, _err error)

type GPUGroupClass

type GPUGroupClass struct {
	// contains filtered or unexported fields
}

A group of compatible GPUs across the resource pool

func (GPUGroupClass) AddToOtherConfig

func (_class GPUGroupClass) AddToOtherConfig(sessionID SessionRef, self GPUGroupRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given GPU_group.

func (GPUGroupClass) AddToOtherConfigMock

func (_class GPUGroupClass) AddToOtherConfigMock(sessionID SessionRef, self GPUGroupRef, key string, value string) (_err error)

func (GPUGroupClass) Create

func (_class GPUGroupClass) Create(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval GPUGroupRef, _err error)

func (GPUGroupClass) CreateMock

func (_class GPUGroupClass) CreateMock(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval GPUGroupRef, _err error)

func (GPUGroupClass) Destroy

func (_class GPUGroupClass) Destroy(sessionID SessionRef, self GPUGroupRef) (_err error)

func (GPUGroupClass) DestroyMock

func (_class GPUGroupClass) DestroyMock(sessionID SessionRef, self GPUGroupRef) (_err error)

func (GPUGroupClass) GetAll

func (_class GPUGroupClass) GetAll(sessionID SessionRef) (_retval []GPUGroupRef, _err error)

Return a list of all the GPU_groups known to the system.

func (GPUGroupClass) GetAllMock

func (_class GPUGroupClass) GetAllMock(sessionID SessionRef) (_retval []GPUGroupRef, _err error)

func (GPUGroupClass) GetAllRecords

func (_class GPUGroupClass) GetAllRecords(sessionID SessionRef) (_retval map[GPUGroupRef]GPUGroupRecord, _err error)

Return a map of GPU_group references to GPU_group records for all GPU_groups known to the system.

func (GPUGroupClass) GetAllRecordsMock

func (_class GPUGroupClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[GPUGroupRef]GPUGroupRecord, _err error)

func (GPUGroupClass) GetAllocationAlgorithm

func (_class GPUGroupClass) GetAllocationAlgorithm(sessionID SessionRef, self GPUGroupRef) (_retval AllocationAlgorithm, _err error)

Get the allocation_algorithm field of the given GPU_group.

func (GPUGroupClass) GetAllocationAlgorithmMock

func (_class GPUGroupClass) GetAllocationAlgorithmMock(sessionID SessionRef, self GPUGroupRef) (_retval AllocationAlgorithm, _err error)

func (GPUGroupClass) GetByNameLabel

func (_class GPUGroupClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []GPUGroupRef, _err error)

Get all the GPU_group instances with the given label.

func (GPUGroupClass) GetByNameLabelMock

func (_class GPUGroupClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []GPUGroupRef, _err error)

func (GPUGroupClass) GetByUUID

func (_class GPUGroupClass) GetByUUID(sessionID SessionRef, uuid string) (_retval GPUGroupRef, _err error)

Get a reference to the GPU_group instance with the specified UUID.

func (GPUGroupClass) GetByUUIDMock

func (_class GPUGroupClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval GPUGroupRef, _err error)

func (GPUGroupClass) GetEnabledVGPUTypes

func (_class GPUGroupClass) GetEnabledVGPUTypes(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

Get the enabled_VGPU_types field of the given GPU_group.

func (GPUGroupClass) GetEnabledVGPUTypesMock

func (_class GPUGroupClass) GetEnabledVGPUTypesMock(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

func (GPUGroupClass) GetGPUTypes

func (_class GPUGroupClass) GetGPUTypes(sessionID SessionRef, self GPUGroupRef) (_retval []string, _err error)

Get the GPU_types field of the given GPU_group.

func (GPUGroupClass) GetGPUTypesMock

func (_class GPUGroupClass) GetGPUTypesMock(sessionID SessionRef, self GPUGroupRef) (_retval []string, _err error)

func (GPUGroupClass) GetNameDescription

func (_class GPUGroupClass) GetNameDescription(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

Get the name/description field of the given GPU_group.

func (GPUGroupClass) GetNameDescriptionMock

func (_class GPUGroupClass) GetNameDescriptionMock(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func (GPUGroupClass) GetNameLabel

func (_class GPUGroupClass) GetNameLabel(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

Get the name/label field of the given GPU_group.

func (GPUGroupClass) GetNameLabelMock

func (_class GPUGroupClass) GetNameLabelMock(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func (GPUGroupClass) GetOtherConfig

func (_class GPUGroupClass) GetOtherConfig(sessionID SessionRef, self GPUGroupRef) (_retval map[string]string, _err error)

Get the other_config field of the given GPU_group.

func (GPUGroupClass) GetOtherConfigMock

func (_class GPUGroupClass) GetOtherConfigMock(sessionID SessionRef, self GPUGroupRef) (_retval map[string]string, _err error)

func (GPUGroupClass) GetPGPUs

func (_class GPUGroupClass) GetPGPUs(sessionID SessionRef, self GPUGroupRef) (_retval []PGPURef, _err error)

Get the PGPUs field of the given GPU_group.

func (GPUGroupClass) GetPGPUsMock

func (_class GPUGroupClass) GetPGPUsMock(sessionID SessionRef, self GPUGroupRef) (_retval []PGPURef, _err error)

func (GPUGroupClass) GetRecord

func (_class GPUGroupClass) GetRecord(sessionID SessionRef, self GPUGroupRef) (_retval GPUGroupRecord, _err error)

Get a record containing the current state of the given GPU_group.

func (GPUGroupClass) GetRecordMock

func (_class GPUGroupClass) GetRecordMock(sessionID SessionRef, self GPUGroupRef) (_retval GPUGroupRecord, _err error)

func (GPUGroupClass) GetRemainingCapacity

func (_class GPUGroupClass) GetRemainingCapacity(sessionID SessionRef, self GPUGroupRef, vgpuType VGPUTypeRef) (_retval int, _err error)

func (GPUGroupClass) GetRemainingCapacityMock

func (_class GPUGroupClass) GetRemainingCapacityMock(sessionID SessionRef, self GPUGroupRef, vgpuType VGPUTypeRef) (_retval int, _err error)

func (GPUGroupClass) GetSupportedVGPUTypes

func (_class GPUGroupClass) GetSupportedVGPUTypes(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

Get the supported_VGPU_types field of the given GPU_group.

func (GPUGroupClass) GetSupportedVGPUTypesMock

func (_class GPUGroupClass) GetSupportedVGPUTypesMock(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

func (GPUGroupClass) GetUUID

func (_class GPUGroupClass) GetUUID(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

Get the uuid field of the given GPU_group.

func (GPUGroupClass) GetUUIDMock

func (_class GPUGroupClass) GetUUIDMock(sessionID SessionRef, self GPUGroupRef) (_retval string, _err error)

func (GPUGroupClass) GetVGPUs

func (_class GPUGroupClass) GetVGPUs(sessionID SessionRef, self GPUGroupRef) (_retval []VGPURef, _err error)

Get the VGPUs field of the given GPU_group.

func (GPUGroupClass) GetVGPUsMock

func (_class GPUGroupClass) GetVGPUsMock(sessionID SessionRef, self GPUGroupRef) (_retval []VGPURef, _err error)

func (GPUGroupClass) RemoveFromOtherConfig

func (_class GPUGroupClass) RemoveFromOtherConfig(sessionID SessionRef, self GPUGroupRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given GPU_group. If the key is not in that Map, then do nothing.

func (GPUGroupClass) RemoveFromOtherConfigMock

func (_class GPUGroupClass) RemoveFromOtherConfigMock(sessionID SessionRef, self GPUGroupRef, key string) (_err error)

func (GPUGroupClass) SetAllocationAlgorithm

func (_class GPUGroupClass) SetAllocationAlgorithm(sessionID SessionRef, self GPUGroupRef, value AllocationAlgorithm) (_err error)

Set the allocation_algorithm field of the given GPU_group.

func (GPUGroupClass) SetAllocationAlgorithmMock

func (_class GPUGroupClass) SetAllocationAlgorithmMock(sessionID SessionRef, self GPUGroupRef, value AllocationAlgorithm) (_err error)

func (GPUGroupClass) SetNameDescription

func (_class GPUGroupClass) SetNameDescription(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

Set the name/description field of the given GPU_group.

func (GPUGroupClass) SetNameDescriptionMock

func (_class GPUGroupClass) SetNameDescriptionMock(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

func (GPUGroupClass) SetNameLabel

func (_class GPUGroupClass) SetNameLabel(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

Set the name/label field of the given GPU_group.

func (GPUGroupClass) SetNameLabelMock

func (_class GPUGroupClass) SetNameLabelMock(sessionID SessionRef, self GPUGroupRef, value string) (_err error)

func (GPUGroupClass) SetOtherConfig

func (_class GPUGroupClass) SetOtherConfig(sessionID SessionRef, self GPUGroupRef, value map[string]string) (_err error)

Set the other_config field of the given GPU_group.

func (GPUGroupClass) SetOtherConfigMock

func (_class GPUGroupClass) SetOtherConfigMock(sessionID SessionRef, self GPUGroupRef, value map[string]string) (_err error)

type GPUGroupRecord

type GPUGroupRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// List of pGPUs in the group
	PGPUs []PGPURef
	// List of vGPUs using the group
	VGPUs []VGPURef
	// List of GPU types (vendor+device ID) that can be in this group
	GPUTypes []string
	// Additional configuration
	OtherConfig map[string]string
	// Current allocation of vGPUs to pGPUs for this group
	AllocationAlgorithm AllocationAlgorithm
	// vGPU types supported on at least one of the pGPUs in this group
	SupportedVGPUTypes []VGPUTypeRef
	// vGPU types supported on at least one of the pGPUs in this group
	EnabledVGPUTypes []VGPUTypeRef
}

func GPUGroupClassGetRecordMockDefault

func GPUGroupClassGetRecordMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval GPUGroupRecord, _err error)

type GPUGroupRef

type GPUGroupRef string

func GPUGroupClassCreateMockDefault

func GPUGroupClassCreateMockDefault(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval GPUGroupRef, _err error)

func GPUGroupClassGetAllMockDefault

func GPUGroupClassGetAllMockDefault(sessionID SessionRef) (_retval []GPUGroupRef, _err error)

func GPUGroupClassGetByNameLabelMockDefault

func GPUGroupClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []GPUGroupRef, _err error)

func GPUGroupClassGetByUUIDMockDefault

func GPUGroupClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval GPUGroupRef, _err error)

func PGPUClassGetGPUGroupMockDefault

func PGPUClassGetGPUGroupMockDefault(sessionID SessionRef, self PGPURef) (_retval GPUGroupRef, _err error)

func VGPUClassGetGPUGroupMockDefault

func VGPUClassGetGPUGroupMockDefault(sessionID SessionRef, self VGPURef) (_retval GPUGroupRef, _err error)

func VGPUTypeClassGetEnabledOnGPUGroupsMockDefault

func VGPUTypeClassGetEnabledOnGPUGroupsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

func VGPUTypeClassGetSupportedOnGPUGroupsMockDefault

func VGPUTypeClassGetSupportedOnGPUGroupsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

type HostAllowedOperations

type HostAllowedOperations string
const (
	// Indicates this host is able to provision another VM
	HostAllowedOperationsProvision HostAllowedOperations = "provision"
	// Indicates this host is evacuating
	HostAllowedOperationsEvacuate HostAllowedOperations = "evacuate"
	// Indicates this host is in the process of shutting itself down
	HostAllowedOperationsShutdown HostAllowedOperations = "shutdown"
	// Indicates this host is in the process of rebooting
	HostAllowedOperationsReboot HostAllowedOperations = "reboot"
	// Indicates this host is in the process of being powered on
	HostAllowedOperationsPowerOn HostAllowedOperations = "power_on"
	// This host is starting a VM
	HostAllowedOperationsVMStart HostAllowedOperations = "vm_start"
	// This host is resuming a VM
	HostAllowedOperationsVMResume HostAllowedOperations = "vm_resume"
	// This host is the migration target of a VM
	HostAllowedOperationsVMMigrate HostAllowedOperations = "vm_migrate"
)

func HostClassGetAllowedOperationsMockDefault

func HostClassGetAllowedOperationsMockDefault(sessionID SessionRef, self HostRef) (_retval []HostAllowedOperations, _err error)

type HostCPUClass

type HostCPUClass struct {
	// contains filtered or unexported fields
}

A physical CPU

func (HostCPUClass) AddToOtherConfig

func (_class HostCPUClass) AddToOtherConfig(sessionID SessionRef, self HostCPURef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given host_cpu.

func (HostCPUClass) AddToOtherConfigMock

func (_class HostCPUClass) AddToOtherConfigMock(sessionID SessionRef, self HostCPURef, key string, value string) (_err error)

func (HostCPUClass) GetAll

func (_class HostCPUClass) GetAll(sessionID SessionRef) (_retval []HostCPURef, _err error)

Return a list of all the host_cpus known to the system.

func (HostCPUClass) GetAllMock

func (_class HostCPUClass) GetAllMock(sessionID SessionRef) (_retval []HostCPURef, _err error)

func (HostCPUClass) GetAllRecords

func (_class HostCPUClass) GetAllRecords(sessionID SessionRef) (_retval map[HostCPURef]HostCPURecord, _err error)

Return a map of host_cpu references to host_cpu records for all host_cpus known to the system.

func (HostCPUClass) GetAllRecordsMock

func (_class HostCPUClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[HostCPURef]HostCPURecord, _err error)

func (HostCPUClass) GetByUUID

func (_class HostCPUClass) GetByUUID(sessionID SessionRef, uuid string) (_retval HostCPURef, _err error)

Get a reference to the host_cpu instance with the specified UUID.

func (HostCPUClass) GetByUUIDMock

func (_class HostCPUClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval HostCPURef, _err error)

func (HostCPUClass) GetFamily

func (_class HostCPUClass) GetFamily(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

Get the family field of the given host_cpu.

func (HostCPUClass) GetFamilyMock

func (_class HostCPUClass) GetFamilyMock(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func (HostCPUClass) GetFeatures

func (_class HostCPUClass) GetFeatures(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the features field of the given host_cpu.

func (HostCPUClass) GetFeaturesMock

func (_class HostCPUClass) GetFeaturesMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) GetFlags

func (_class HostCPUClass) GetFlags(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the flags field of the given host_cpu.

func (HostCPUClass) GetFlagsMock

func (_class HostCPUClass) GetFlagsMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) GetHost

func (_class HostCPUClass) GetHost(sessionID SessionRef, self HostCPURef) (_retval HostRef, _err error)

Get the host field of the given host_cpu.

func (HostCPUClass) GetHostMock

func (_class HostCPUClass) GetHostMock(sessionID SessionRef, self HostCPURef) (_retval HostRef, _err error)

func (HostCPUClass) GetModel

func (_class HostCPUClass) GetModel(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

Get the model field of the given host_cpu.

func (HostCPUClass) GetModelMock

func (_class HostCPUClass) GetModelMock(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func (HostCPUClass) GetModelname

func (_class HostCPUClass) GetModelname(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the modelname field of the given host_cpu.

func (HostCPUClass) GetModelnameMock

func (_class HostCPUClass) GetModelnameMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) GetNumber

func (_class HostCPUClass) GetNumber(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

Get the number field of the given host_cpu.

func (HostCPUClass) GetNumberMock

func (_class HostCPUClass) GetNumberMock(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func (HostCPUClass) GetOtherConfig

func (_class HostCPUClass) GetOtherConfig(sessionID SessionRef, self HostCPURef) (_retval map[string]string, _err error)

Get the other_config field of the given host_cpu.

func (HostCPUClass) GetOtherConfigMock

func (_class HostCPUClass) GetOtherConfigMock(sessionID SessionRef, self HostCPURef) (_retval map[string]string, _err error)

func (HostCPUClass) GetRecord

func (_class HostCPUClass) GetRecord(sessionID SessionRef, self HostCPURef) (_retval HostCPURecord, _err error)

Get a record containing the current state of the given host_cpu.

func (HostCPUClass) GetRecordMock

func (_class HostCPUClass) GetRecordMock(sessionID SessionRef, self HostCPURef) (_retval HostCPURecord, _err error)

func (HostCPUClass) GetSpeed

func (_class HostCPUClass) GetSpeed(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

Get the speed field of the given host_cpu.

func (HostCPUClass) GetSpeedMock

func (_class HostCPUClass) GetSpeedMock(sessionID SessionRef, self HostCPURef) (_retval int, _err error)

func (HostCPUClass) GetStepping

func (_class HostCPUClass) GetStepping(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the stepping field of the given host_cpu.

func (HostCPUClass) GetSteppingMock

func (_class HostCPUClass) GetSteppingMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) GetUUID

func (_class HostCPUClass) GetUUID(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the uuid field of the given host_cpu.

func (HostCPUClass) GetUUIDMock

func (_class HostCPUClass) GetUUIDMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) GetUtilisation

func (_class HostCPUClass) GetUtilisation(sessionID SessionRef, self HostCPURef) (_retval float64, _err error)

Get the utilisation field of the given host_cpu.

func (HostCPUClass) GetUtilisationMock

func (_class HostCPUClass) GetUtilisationMock(sessionID SessionRef, self HostCPURef) (_retval float64, _err error)

func (HostCPUClass) GetVendor

func (_class HostCPUClass) GetVendor(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

Get the vendor field of the given host_cpu.

func (HostCPUClass) GetVendorMock

func (_class HostCPUClass) GetVendorMock(sessionID SessionRef, self HostCPURef) (_retval string, _err error)

func (HostCPUClass) RemoveFromOtherConfig

func (_class HostCPUClass) RemoveFromOtherConfig(sessionID SessionRef, self HostCPURef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given host_cpu. If the key is not in that Map, then do nothing.

func (HostCPUClass) RemoveFromOtherConfigMock

func (_class HostCPUClass) RemoveFromOtherConfigMock(sessionID SessionRef, self HostCPURef, key string) (_err error)

func (HostCPUClass) SetOtherConfig

func (_class HostCPUClass) SetOtherConfig(sessionID SessionRef, self HostCPURef, value map[string]string) (_err error)

Set the other_config field of the given host_cpu.

func (HostCPUClass) SetOtherConfigMock

func (_class HostCPUClass) SetOtherConfigMock(sessionID SessionRef, self HostCPURef, value map[string]string) (_err error)

type HostCPURecord

type HostCPURecord struct {
	// Unique identifier/object reference
	UUID string
	// the host the CPU is in
	Host HostRef
	// the number of the physical CPU within the host
	Number int
	// the vendor of the physical CPU
	Vendor string
	// the speed of the physical CPU
	Speed int
	// the model name of the physical CPU
	Modelname string
	// the family (number) of the physical CPU
	Family int
	// the model number of the physical CPU
	Model int
	// the stepping of the physical CPU
	Stepping string
	// the flags of the physical CPU (a decoded version of the features field)
	Flags string
	// the physical CPU feature bitmap
	Features string
	// the current CPU utilisation
	Utilisation float64
	// additional configuration
	OtherConfig map[string]string
}

func HostCPUClassGetRecordMockDefault

func HostCPUClassGetRecordMockDefault(sessionID SessionRef, self HostCPURef) (_retval HostCPURecord, _err error)

type HostCPURef

type HostCPURef string

func HostCPUClassGetAllMockDefault

func HostCPUClassGetAllMockDefault(sessionID SessionRef) (_retval []HostCPURef, _err error)

func HostCPUClassGetByUUIDMockDefault

func HostCPUClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval HostCPURef, _err error)

func HostClassGetHostCPUsMockDefault

func HostClassGetHostCPUsMockDefault(sessionID SessionRef, self HostRef) (_retval []HostCPURef, _err error)

type HostClass

type HostClass struct {
	// contains filtered or unexported fields
}

A physical host

func (HostClass) AddTags

func (_class HostClass) AddTags(sessionID SessionRef, self HostRef, value string) (_err error)

Add the given value to the tags field of the given host. If the value is already in that Set, then do nothing.

func (HostClass) AddTagsMock

func (_class HostClass) AddTagsMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) AddToGuestVCPUsParams

func (_class HostClass) AddToGuestVCPUsParams(sessionID SessionRef, self HostRef, key string, value string) (_err error)

Add the given key-value pair to the guest_VCPUs_params field of the given host.

func (HostClass) AddToGuestVCPUsParamsMock

func (_class HostClass) AddToGuestVCPUsParamsMock(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func (HostClass) AddToLicenseServer

func (_class HostClass) AddToLicenseServer(sessionID SessionRef, self HostRef, key string, value string) (_err error)

Add the given key-value pair to the license_server field of the given host.

func (HostClass) AddToLicenseServerMock

func (_class HostClass) AddToLicenseServerMock(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func (HostClass) AddToLogging

func (_class HostClass) AddToLogging(sessionID SessionRef, self HostRef, key string, value string) (_err error)

Add the given key-value pair to the logging field of the given host.

func (HostClass) AddToLoggingMock

func (_class HostClass) AddToLoggingMock(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func (HostClass) AddToOtherConfig

func (_class HostClass) AddToOtherConfig(sessionID SessionRef, self HostRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given host.

func (HostClass) AddToOtherConfigMock

func (_class HostClass) AddToOtherConfigMock(sessionID SessionRef, self HostRef, key string, value string) (_err error)

func (HostClass) ApplyEdition

func (_class HostClass) ApplyEdition(sessionID SessionRef, host HostRef, edition string, force bool) (_err error)

Change to another edition, or reactivate the current edition after a license has expired. This may be subject to the successful checkout of an appropriate license.

func (HostClass) ApplyEditionMock

func (_class HostClass) ApplyEditionMock(sessionID SessionRef, host HostRef, edition string, force bool) (_err error)

func (HostClass) AssertCanEvacuate

func (_class HostClass) AssertCanEvacuate(sessionID SessionRef, host HostRef) (_err error)

Check this host can be evacuated.

func (HostClass) AssertCanEvacuateMock

func (_class HostClass) AssertCanEvacuateMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) BackupRrds

func (_class HostClass) BackupRrds(sessionID SessionRef, host HostRef, delay float64) (_err error)

This causes the RRDs to be backed up to the master

func (HostClass) BackupRrdsMock

func (_class HostClass) BackupRrdsMock(sessionID SessionRef, host HostRef, delay float64) (_err error)

func (HostClass) BugreportUpload

func (_class HostClass) BugreportUpload(sessionID SessionRef, host HostRef, url string, options map[string]string) (_err error)

Run xen-bugtool --yestoall and upload the output to support

func (HostClass) BugreportUploadMock

func (_class HostClass) BugreportUploadMock(sessionID SessionRef, host HostRef, url string, options map[string]string) (_err error)

func (HostClass) CallExtension

func (_class HostClass) CallExtension(sessionID SessionRef, host HostRef, call string) (_retval string, _err error)

Call a XenAPI extension on this host

func (HostClass) CallExtensionMock

func (_class HostClass) CallExtensionMock(sessionID SessionRef, host HostRef, call string) (_retval string, _err error)

func (HostClass) CallPlugin

func (_class HostClass) CallPlugin(sessionID SessionRef, host HostRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

Call a XenAPI plugin on this host

func (HostClass) CallPluginMock

func (_class HostClass) CallPluginMock(sessionID SessionRef, host HostRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

func (HostClass) ComputeFreeMemory

func (_class HostClass) ComputeFreeMemory(sessionID SessionRef, host HostRef) (_retval int, _err error)

Computes the amount of free memory on the host.

func (HostClass) ComputeFreeMemoryMock

func (_class HostClass) ComputeFreeMemoryMock(sessionID SessionRef, host HostRef) (_retval int, _err error)

func (HostClass) ComputeMemoryOverhead

func (_class HostClass) ComputeMemoryOverhead(sessionID SessionRef, host HostRef) (_retval int, _err error)

Computes the virtualization memory overhead of a host.

func (HostClass) ComputeMemoryOverheadMock

func (_class HostClass) ComputeMemoryOverheadMock(sessionID SessionRef, host HostRef) (_retval int, _err error)

func (HostClass) CreateNewBlob

func (_class HostClass) CreateNewBlob(sessionID SessionRef, host HostRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a named binary blob of data that is associated with this host

func (HostClass) CreateNewBlobMock

func (_class HostClass) CreateNewBlobMock(sessionID SessionRef, host HostRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func (HostClass) DeclareDead

func (_class HostClass) DeclareDead(sessionID SessionRef, host HostRef) (_err error)

Declare that a host is dead. This is a dangerous operation, and should only be called if the administrator is absolutely sure the host is definitely dead

func (HostClass) DeclareDeadMock

func (_class HostClass) DeclareDeadMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) Destroy

func (_class HostClass) Destroy(sessionID SessionRef, self HostRef) (_err error)

Destroy specified host record in database

func (HostClass) DestroyMock

func (_class HostClass) DestroyMock(sessionID SessionRef, self HostRef) (_err error)

func (HostClass) Disable

func (_class HostClass) Disable(sessionID SessionRef, host HostRef) (_err error)

Puts the host into a state in which no new VMs can be started. Currently active VMs on the host continue to execute.

func (HostClass) DisableDisplay

func (_class HostClass) DisableDisplay(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

Disable console output to the physical display device next time this host boots

func (HostClass) DisableDisplayMock

func (_class HostClass) DisableDisplayMock(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

func (HostClass) DisableExternalAuth

func (_class HostClass) DisableExternalAuth(sessionID SessionRef, host HostRef, config map[string]string) (_err error)

This call disables external authentication on the local host

func (HostClass) DisableExternalAuthMock

func (_class HostClass) DisableExternalAuthMock(sessionID SessionRef, host HostRef, config map[string]string) (_err error)

func (HostClass) DisableLocalStorageCaching

func (_class HostClass) DisableLocalStorageCaching(sessionID SessionRef, host HostRef) (_err error)

Disable the use of a local SR for caching purposes

func (HostClass) DisableLocalStorageCachingMock

func (_class HostClass) DisableLocalStorageCachingMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) DisableMock

func (_class HostClass) DisableMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) Dmesg

func (_class HostClass) Dmesg(sessionID SessionRef, host HostRef) (_retval string, _err error)

Get the host xen dmesg.

func (HostClass) DmesgClear

func (_class HostClass) DmesgClear(sessionID SessionRef, host HostRef) (_retval string, _err error)

Get the host xen dmesg, and clear the buffer.

func (HostClass) DmesgClearMock

func (_class HostClass) DmesgClearMock(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) DmesgMock

func (_class HostClass) DmesgMock(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) EmergencyHaDisable

func (_class HostClass) EmergencyHaDisable(sessionID SessionRef, soft bool) (_err error)

This call disables HA on the local host. This should only be used with extreme care.

func (HostClass) EmergencyHaDisableMock

func (_class HostClass) EmergencyHaDisableMock(sessionID SessionRef, soft bool) (_err error)

func (HostClass) Enable

func (_class HostClass) Enable(sessionID SessionRef, host HostRef) (_err error)

Puts the host into a state in which new VMs can be started.

func (HostClass) EnableDisplay

func (_class HostClass) EnableDisplay(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

Enable console output to the physical display device next time this host boots

func (HostClass) EnableDisplayMock

func (_class HostClass) EnableDisplayMock(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

func (HostClass) EnableExternalAuth

func (_class HostClass) EnableExternalAuth(sessionID SessionRef, host HostRef, config map[string]string, serviceName string, authType string) (_err error)

This call enables external authentication on a host

func (HostClass) EnableExternalAuthMock

func (_class HostClass) EnableExternalAuthMock(sessionID SessionRef, host HostRef, config map[string]string, serviceName string, authType string) (_err error)

func (HostClass) EnableLocalStorageCaching

func (_class HostClass) EnableLocalStorageCaching(sessionID SessionRef, host HostRef, sr SRRef) (_err error)

Enable the use of a local SR for caching purposes

func (HostClass) EnableLocalStorageCachingMock

func (_class HostClass) EnableLocalStorageCachingMock(sessionID SessionRef, host HostRef, sr SRRef) (_err error)

func (HostClass) EnableMock

func (_class HostClass) EnableMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) Evacuate

func (_class HostClass) Evacuate(sessionID SessionRef, host HostRef) (_err error)

Migrate all VMs off of this host, where possible.

func (HostClass) EvacuateMock

func (_class HostClass) EvacuateMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) ForgetDataSourceArchives

func (_class HostClass) ForgetDataSourceArchives(sessionID SessionRef, host HostRef, dataSource string) (_err error)

Forget the recorded statistics related to the specified data source

func (HostClass) ForgetDataSourceArchivesMock

func (_class HostClass) ForgetDataSourceArchivesMock(sessionID SessionRef, host HostRef, dataSource string) (_err error)

func (HostClass) GetAPIVersionMajor

func (_class HostClass) GetAPIVersionMajor(sessionID SessionRef, self HostRef) (_retval int, _err error)

Get the API_version/major field of the given host.

func (HostClass) GetAPIVersionMajorMock

func (_class HostClass) GetAPIVersionMajorMock(sessionID SessionRef, self HostRef) (_retval int, _err error)

func (HostClass) GetAPIVersionMinor

func (_class HostClass) GetAPIVersionMinor(sessionID SessionRef, self HostRef) (_retval int, _err error)

Get the API_version/minor field of the given host.

func (HostClass) GetAPIVersionMinorMock

func (_class HostClass) GetAPIVersionMinorMock(sessionID SessionRef, self HostRef) (_retval int, _err error)

func (HostClass) GetAPIVersionVendor

func (_class HostClass) GetAPIVersionVendor(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the API_version/vendor field of the given host.

func (HostClass) GetAPIVersionVendorImplementation

func (_class HostClass) GetAPIVersionVendorImplementation(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the API_version/vendor_implementation field of the given host.

func (HostClass) GetAPIVersionVendorImplementationMock

func (_class HostClass) GetAPIVersionVendorImplementationMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetAPIVersionVendorMock

func (_class HostClass) GetAPIVersionVendorMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetAddress

func (_class HostClass) GetAddress(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the address field of the given host.

func (HostClass) GetAddressMock

func (_class HostClass) GetAddressMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetAll

func (_class HostClass) GetAll(sessionID SessionRef) (_retval []HostRef, _err error)

Return a list of all the hosts known to the system.

func (HostClass) GetAllMock

func (_class HostClass) GetAllMock(sessionID SessionRef) (_retval []HostRef, _err error)

func (HostClass) GetAllRecords

func (_class HostClass) GetAllRecords(sessionID SessionRef) (_retval map[HostRef]HostRecord, _err error)

Return a map of host references to host records for all hosts known to the system.

func (HostClass) GetAllRecordsMock

func (_class HostClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[HostRef]HostRecord, _err error)

func (HostClass) GetAllowedOperations

func (_class HostClass) GetAllowedOperations(sessionID SessionRef, self HostRef) (_retval []HostAllowedOperations, _err error)

Get the allowed_operations field of the given host.

func (HostClass) GetAllowedOperationsMock

func (_class HostClass) GetAllowedOperationsMock(sessionID SessionRef, self HostRef) (_retval []HostAllowedOperations, _err error)

func (HostClass) GetBiosStrings

func (_class HostClass) GetBiosStrings(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the bios_strings field of the given host.

func (HostClass) GetBiosStringsMock

func (_class HostClass) GetBiosStringsMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetBlobs

func (_class HostClass) GetBlobs(sessionID SessionRef, self HostRef) (_retval map[string]BlobRef, _err error)

Get the blobs field of the given host.

func (HostClass) GetBlobsMock

func (_class HostClass) GetBlobsMock(sessionID SessionRef, self HostRef) (_retval map[string]BlobRef, _err error)

func (HostClass) GetByNameLabel

func (_class HostClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []HostRef, _err error)

Get all the host instances with the given label.

func (HostClass) GetByNameLabelMock

func (_class HostClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []HostRef, _err error)

func (HostClass) GetByUUID

func (_class HostClass) GetByUUID(sessionID SessionRef, uuid string) (_retval HostRef, _err error)

Get a reference to the host instance with the specified UUID.

func (HostClass) GetByUUIDMock

func (_class HostClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval HostRef, _err error)

func (HostClass) GetCPUConfiguration

func (_class HostClass) GetCPUConfiguration(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the cpu_configuration field of the given host.

func (HostClass) GetCPUConfigurationMock

func (_class HostClass) GetCPUConfigurationMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetCPUInfo

func (_class HostClass) GetCPUInfo(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the cpu_info field of the given host.

func (HostClass) GetCPUInfoMock

func (_class HostClass) GetCPUInfoMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetCapabilities

func (_class HostClass) GetCapabilities(sessionID SessionRef, self HostRef) (_retval []string, _err error)

Get the capabilities field of the given host.

func (HostClass) GetCapabilitiesMock

func (_class HostClass) GetCapabilitiesMock(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func (HostClass) GetChipsetInfo

func (_class HostClass) GetChipsetInfo(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the chipset_info field of the given host.

func (HostClass) GetChipsetInfoMock

func (_class HostClass) GetChipsetInfoMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetControlDomain

func (_class HostClass) GetControlDomain(sessionID SessionRef, self HostRef) (_retval VMRef, _err error)

Get the control_domain field of the given host.

func (HostClass) GetControlDomainMock

func (_class HostClass) GetControlDomainMock(sessionID SessionRef, self HostRef) (_retval VMRef, _err error)

func (HostClass) GetCrashDumpSr

func (_class HostClass) GetCrashDumpSr(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

Get the crash_dump_sr field of the given host.

func (HostClass) GetCrashDumpSrMock

func (_class HostClass) GetCrashDumpSrMock(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func (HostClass) GetCrashdumps

func (_class HostClass) GetCrashdumps(sessionID SessionRef, self HostRef) (_retval []HostCrashdumpRef, _err error)

Get the crashdumps field of the given host.

func (HostClass) GetCrashdumpsMock

func (_class HostClass) GetCrashdumpsMock(sessionID SessionRef, self HostRef) (_retval []HostCrashdumpRef, _err error)

func (HostClass) GetCurrentOperations

func (_class HostClass) GetCurrentOperations(sessionID SessionRef, self HostRef) (_retval map[string]HostAllowedOperations, _err error)

Get the current_operations field of the given host.

func (HostClass) GetCurrentOperationsMock

func (_class HostClass) GetCurrentOperationsMock(sessionID SessionRef, self HostRef) (_retval map[string]HostAllowedOperations, _err error)

func (HostClass) GetDataSources

func (_class HostClass) GetDataSources(sessionID SessionRef, host HostRef) (_retval []DataSourceRecord, _err error)

func (HostClass) GetDataSourcesMock

func (_class HostClass) GetDataSourcesMock(sessionID SessionRef, host HostRef) (_retval []DataSourceRecord, _err error)

func (HostClass) GetDisplay

func (_class HostClass) GetDisplay(sessionID SessionRef, self HostRef) (_retval HostDisplay, _err error)

Get the display field of the given host.

func (HostClass) GetDisplayMock

func (_class HostClass) GetDisplayMock(sessionID SessionRef, self HostRef) (_retval HostDisplay, _err error)

func (HostClass) GetEdition

func (_class HostClass) GetEdition(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the edition field of the given host.

func (HostClass) GetEditionMock

func (_class HostClass) GetEditionMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetEnabled

func (_class HostClass) GetEnabled(sessionID SessionRef, self HostRef) (_retval bool, _err error)

Get the enabled field of the given host.

func (HostClass) GetEnabledMock

func (_class HostClass) GetEnabledMock(sessionID SessionRef, self HostRef) (_retval bool, _err error)

func (HostClass) GetExternalAuthConfiguration

func (_class HostClass) GetExternalAuthConfiguration(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the external_auth_configuration field of the given host.

func (HostClass) GetExternalAuthConfigurationMock

func (_class HostClass) GetExternalAuthConfigurationMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetExternalAuthServiceName

func (_class HostClass) GetExternalAuthServiceName(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the external_auth_service_name field of the given host.

func (HostClass) GetExternalAuthServiceNameMock

func (_class HostClass) GetExternalAuthServiceNameMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetExternalAuthType

func (_class HostClass) GetExternalAuthType(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the external_auth_type field of the given host.

func (HostClass) GetExternalAuthTypeMock

func (_class HostClass) GetExternalAuthTypeMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetFeatures

func (_class HostClass) GetFeatures(sessionID SessionRef, self HostRef) (_retval []FeatureRef, _err error)

Get the features field of the given host.

func (HostClass) GetFeaturesMock

func (_class HostClass) GetFeaturesMock(sessionID SessionRef, self HostRef) (_retval []FeatureRef, _err error)

func (HostClass) GetGuestVCPUsParams

func (_class HostClass) GetGuestVCPUsParams(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the guest_VCPUs_params field of the given host.

func (HostClass) GetGuestVCPUsParamsMock

func (_class HostClass) GetGuestVCPUsParamsMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetHaNetworkPeers

func (_class HostClass) GetHaNetworkPeers(sessionID SessionRef, self HostRef) (_retval []string, _err error)

Get the ha_network_peers field of the given host.

func (HostClass) GetHaNetworkPeersMock

func (_class HostClass) GetHaNetworkPeersMock(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func (HostClass) GetHaStatefiles

func (_class HostClass) GetHaStatefiles(sessionID SessionRef, self HostRef) (_retval []string, _err error)

Get the ha_statefiles field of the given host.

func (HostClass) GetHaStatefilesMock

func (_class HostClass) GetHaStatefilesMock(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func (HostClass) GetHostCPUs

func (_class HostClass) GetHostCPUs(sessionID SessionRef, self HostRef) (_retval []HostCPURef, _err error)

Get the host_CPUs field of the given host.

func (HostClass) GetHostCPUsMock

func (_class HostClass) GetHostCPUsMock(sessionID SessionRef, self HostRef) (_retval []HostCPURef, _err error)

func (HostClass) GetHostname

func (_class HostClass) GetHostname(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the hostname field of the given host.

func (HostClass) GetHostnameMock

func (_class HostClass) GetHostnameMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetLicenseParams

func (_class HostClass) GetLicenseParams(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the license_params field of the given host.

func (HostClass) GetLicenseParamsMock

func (_class HostClass) GetLicenseParamsMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetLicenseServer

func (_class HostClass) GetLicenseServer(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the license_server field of the given host.

func (HostClass) GetLicenseServerMock

func (_class HostClass) GetLicenseServerMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetLocalCacheSr

func (_class HostClass) GetLocalCacheSr(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

Get the local_cache_sr field of the given host.

func (HostClass) GetLocalCacheSrMock

func (_class HostClass) GetLocalCacheSrMock(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func (HostClass) GetLog

func (_class HostClass) GetLog(sessionID SessionRef, host HostRef) (_retval string, _err error)

Get the host's log file

func (HostClass) GetLogMock

func (_class HostClass) GetLogMock(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) GetLogging

func (_class HostClass) GetLogging(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the logging field of the given host.

func (HostClass) GetLoggingMock

func (_class HostClass) GetLoggingMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetManagementInterface

func (_class HostClass) GetManagementInterface(sessionID SessionRef, host HostRef) (_retval PIFRef, _err error)

Returns the management interface for the specified host

func (HostClass) GetManagementInterfaceMock

func (_class HostClass) GetManagementInterfaceMock(sessionID SessionRef, host HostRef) (_retval PIFRef, _err error)

func (HostClass) GetMemoryOverhead

func (_class HostClass) GetMemoryOverhead(sessionID SessionRef, self HostRef) (_retval int, _err error)

Get the memory/overhead field of the given host.

func (HostClass) GetMemoryOverheadMock

func (_class HostClass) GetMemoryOverheadMock(sessionID SessionRef, self HostRef) (_retval int, _err error)

func (HostClass) GetMetrics

func (_class HostClass) GetMetrics(sessionID SessionRef, self HostRef) (_retval HostMetricsRef, _err error)

Get the metrics field of the given host.

func (HostClass) GetMetricsMock

func (_class HostClass) GetMetricsMock(sessionID SessionRef, self HostRef) (_retval HostMetricsRef, _err error)

func (HostClass) GetNameDescription

func (_class HostClass) GetNameDescription(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the name/description field of the given host.

func (HostClass) GetNameDescriptionMock

func (_class HostClass) GetNameDescriptionMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetNameLabel

func (_class HostClass) GetNameLabel(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the name/label field of the given host.

func (HostClass) GetNameLabelMock

func (_class HostClass) GetNameLabelMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetOtherConfig

func (_class HostClass) GetOtherConfig(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the other_config field of the given host.

func (HostClass) GetOtherConfigMock

func (_class HostClass) GetOtherConfigMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetPBDs

func (_class HostClass) GetPBDs(sessionID SessionRef, self HostRef) (_retval []PBDRef, _err error)

Get the PBDs field of the given host.

func (HostClass) GetPBDsMock

func (_class HostClass) GetPBDsMock(sessionID SessionRef, self HostRef) (_retval []PBDRef, _err error)

func (HostClass) GetPCIs

func (_class HostClass) GetPCIs(sessionID SessionRef, self HostRef) (_retval []PCIRef, _err error)

Get the PCIs field of the given host.

func (HostClass) GetPCIsMock

func (_class HostClass) GetPCIsMock(sessionID SessionRef, self HostRef) (_retval []PCIRef, _err error)

func (HostClass) GetPGPUs

func (_class HostClass) GetPGPUs(sessionID SessionRef, self HostRef) (_retval []PGPURef, _err error)

Get the PGPUs field of the given host.

func (HostClass) GetPGPUsMock

func (_class HostClass) GetPGPUsMock(sessionID SessionRef, self HostRef) (_retval []PGPURef, _err error)

func (HostClass) GetPIFs

func (_class HostClass) GetPIFs(sessionID SessionRef, self HostRef) (_retval []PIFRef, _err error)

Get the PIFs field of the given host.

func (HostClass) GetPIFsMock

func (_class HostClass) GetPIFsMock(sessionID SessionRef, self HostRef) (_retval []PIFRef, _err error)

func (HostClass) GetPUSBs

func (_class HostClass) GetPUSBs(sessionID SessionRef, self HostRef) (_retval []PUSBRef, _err error)

Get the PUSBs field of the given host.

func (HostClass) GetPUSBsMock

func (_class HostClass) GetPUSBsMock(sessionID SessionRef, self HostRef) (_retval []PUSBRef, _err error)

func (HostClass) GetPatches

func (_class HostClass) GetPatches(sessionID SessionRef, self HostRef) (_retval []HostPatchRef, _err error)

Get the patches field of the given host.

func (HostClass) GetPatchesMock

func (_class HostClass) GetPatchesMock(sessionID SessionRef, self HostRef) (_retval []HostPatchRef, _err error)

func (HostClass) GetPowerOnConfig

func (_class HostClass) GetPowerOnConfig(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the power_on_config field of the given host.

func (HostClass) GetPowerOnConfigMock

func (_class HostClass) GetPowerOnConfigMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetPowerOnMode

func (_class HostClass) GetPowerOnMode(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the power_on_mode field of the given host.

func (HostClass) GetPowerOnModeMock

func (_class HostClass) GetPowerOnModeMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetRecord

func (_class HostClass) GetRecord(sessionID SessionRef, self HostRef) (_retval HostRecord, _err error)

Get a record containing the current state of the given host.

func (HostClass) GetRecordMock

func (_class HostClass) GetRecordMock(sessionID SessionRef, self HostRef) (_retval HostRecord, _err error)

func (HostClass) GetResidentVMs

func (_class HostClass) GetResidentVMs(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

Get the resident_VMs field of the given host.

func (HostClass) GetResidentVMsMock

func (_class HostClass) GetResidentVMsMock(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

func (HostClass) GetSchedPolicy

func (_class HostClass) GetSchedPolicy(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the sched_policy field of the given host.

func (HostClass) GetSchedPolicyMock

func (_class HostClass) GetSchedPolicyMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetServerCertificate

func (_class HostClass) GetServerCertificate(sessionID SessionRef, host HostRef) (_retval string, _err error)

Get the installed server public TLS certificate.

func (HostClass) GetServerCertificateMock

func (_class HostClass) GetServerCertificateMock(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) GetServerLocaltime

func (_class HostClass) GetServerLocaltime(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

This call queries the host's clock for the current time in the host's local timezone

func (HostClass) GetServerLocaltimeMock

func (_class HostClass) GetServerLocaltimeMock(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

func (HostClass) GetServertime

func (_class HostClass) GetServertime(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

This call queries the host's clock for the current time

func (HostClass) GetServertimeMock

func (_class HostClass) GetServertimeMock(sessionID SessionRef, host HostRef) (_retval time.Time, _err error)

func (HostClass) GetSoftwareVersion

func (_class HostClass) GetSoftwareVersion(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

Get the software_version field of the given host.

func (HostClass) GetSoftwareVersionMock

func (_class HostClass) GetSoftwareVersionMock(sessionID SessionRef, self HostRef) (_retval map[string]string, _err error)

func (HostClass) GetSslLegacy

func (_class HostClass) GetSslLegacy(sessionID SessionRef, self HostRef) (_retval bool, _err error)

Get the ssl_legacy field of the given host.

func (HostClass) GetSslLegacyMock

func (_class HostClass) GetSslLegacyMock(sessionID SessionRef, self HostRef) (_retval bool, _err error)

func (HostClass) GetSupportedBootloaders

func (_class HostClass) GetSupportedBootloaders(sessionID SessionRef, self HostRef) (_retval []string, _err error)

Get the supported_bootloaders field of the given host.

func (HostClass) GetSupportedBootloadersMock

func (_class HostClass) GetSupportedBootloadersMock(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func (HostClass) GetSuspendImageSr

func (_class HostClass) GetSuspendImageSr(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

Get the suspend_image_sr field of the given host.

func (HostClass) GetSuspendImageSrMock

func (_class HostClass) GetSuspendImageSrMock(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func (HostClass) GetSystemStatusCapabilities

func (_class HostClass) GetSystemStatusCapabilities(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) GetSystemStatusCapabilitiesMock

func (_class HostClass) GetSystemStatusCapabilitiesMock(sessionID SessionRef, host HostRef) (_retval string, _err error)

func (HostClass) GetTags

func (_class HostClass) GetTags(sessionID SessionRef, self HostRef) (_retval []string, _err error)

Get the tags field of the given host.

func (HostClass) GetTagsMock

func (_class HostClass) GetTagsMock(sessionID SessionRef, self HostRef) (_retval []string, _err error)

func (HostClass) GetUUID

func (_class HostClass) GetUUID(sessionID SessionRef, self HostRef) (_retval string, _err error)

Get the uuid field of the given host.

func (HostClass) GetUUIDMock

func (_class HostClass) GetUUIDMock(sessionID SessionRef, self HostRef) (_retval string, _err error)

func (HostClass) GetUncooperativeResidentVMs

func (_class HostClass) GetUncooperativeResidentVMs(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

Return a set of VMs which are not co-operating with the host's memory control system

func (HostClass) GetUncooperativeResidentVMsMock

func (_class HostClass) GetUncooperativeResidentVMsMock(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

func (HostClass) GetUpdates

func (_class HostClass) GetUpdates(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

Get the updates field of the given host.

func (HostClass) GetUpdatesMock

func (_class HostClass) GetUpdatesMock(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

func (HostClass) GetUpdatesRequiringReboot

func (_class HostClass) GetUpdatesRequiringReboot(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

Get the updates_requiring_reboot field of the given host.

func (HostClass) GetUpdatesRequiringRebootMock

func (_class HostClass) GetUpdatesRequiringRebootMock(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

func (HostClass) GetVirtualHardwarePlatformVersions

func (_class HostClass) GetVirtualHardwarePlatformVersions(sessionID SessionRef, self HostRef) (_retval []int, _err error)

Get the virtual_hardware_platform_versions field of the given host.

func (HostClass) GetVirtualHardwarePlatformVersionsMock

func (_class HostClass) GetVirtualHardwarePlatformVersionsMock(sessionID SessionRef, self HostRef) (_retval []int, _err error)

func (HostClass) GetVmsWhichPreventEvacuation

func (_class HostClass) GetVmsWhichPreventEvacuation(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

Return a set of VMs which prevent the host being evacuated, with per-VM error codes

func (HostClass) GetVmsWhichPreventEvacuationMock

func (_class HostClass) GetVmsWhichPreventEvacuationMock(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

func (HostClass) HasExtension

func (_class HostClass) HasExtension(sessionID SessionRef, host HostRef, name string) (_retval bool, _err error)

Return true if the extension is available on the host

func (HostClass) HasExtensionMock

func (_class HostClass) HasExtensionMock(sessionID SessionRef, host HostRef, name string) (_retval bool, _err error)

func (HostClass) LicenseAdd

func (_class HostClass) LicenseAdd(sessionID SessionRef, host HostRef, contents string) (_err error)

Apply a new license to a host

Errors:

LICENSE_PROCESSING_ERROR - There was an error processing your license.  Please contact your support representative.

func (HostClass) LicenseAddMock

func (_class HostClass) LicenseAddMock(sessionID SessionRef, host HostRef, contents string) (_err error)

func (HostClass) LicenseApply

func (_class HostClass) LicenseApply(sessionID SessionRef, host HostRef, contents string) (_err error)

Apply a new license to a host

Errors:

LICENSE_PROCESSING_ERROR - There was an error processing your license.  Please contact your support representative.

func (HostClass) LicenseApplyMock

func (_class HostClass) LicenseApplyMock(sessionID SessionRef, host HostRef, contents string) (_err error)

func (HostClass) LicenseRemove

func (_class HostClass) LicenseRemove(sessionID SessionRef, host HostRef) (_err error)

Remove any license file from the specified host, and switch that host to the unlicensed edition

func (HostClass) LicenseRemoveMock

func (_class HostClass) LicenseRemoveMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) ListMethods

func (_class HostClass) ListMethods(sessionID SessionRef) (_retval []string, _err error)

List all supported methods

func (HostClass) ListMethodsMock

func (_class HostClass) ListMethodsMock(sessionID SessionRef) (_retval []string, _err error)

func (HostClass) LocalManagementReconfigure

func (_class HostClass) LocalManagementReconfigure(sessionID SessionRef, iface string) (_err error)

Reconfigure the management network interface. Should only be used if Host.management_reconfigure is impossible because the network configuration is broken.

func (HostClass) LocalManagementReconfigureMock

func (_class HostClass) LocalManagementReconfigureMock(sessionID SessionRef, iface string) (_err error)

func (HostClass) ManagementDisable

func (_class HostClass) ManagementDisable(sessionID SessionRef) (_err error)

Disable the management network interface

func (HostClass) ManagementDisableMock

func (_class HostClass) ManagementDisableMock(sessionID SessionRef) (_err error)

func (HostClass) ManagementReconfigure

func (_class HostClass) ManagementReconfigure(sessionID SessionRef, pif PIFRef) (_err error)

Reconfigure the management network interface

func (HostClass) ManagementReconfigureMock

func (_class HostClass) ManagementReconfigureMock(sessionID SessionRef, pif PIFRef) (_err error)

func (HostClass) MigrateReceive

func (_class HostClass) MigrateReceive(sessionID SessionRef, host HostRef, network NetworkRef, options map[string]string) (_retval map[string]string, _err error)

Prepare to receive a VM, returning a token which can be passed to VM.migrate.

func (HostClass) MigrateReceiveMock

func (_class HostClass) MigrateReceiveMock(sessionID SessionRef, host HostRef, network NetworkRef, options map[string]string) (_retval map[string]string, _err error)

func (HostClass) PowerOn

func (_class HostClass) PowerOn(sessionID SessionRef, host HostRef) (_err error)

Attempt to power-on the host (if the capability exists).

func (HostClass) PowerOnMock

func (_class HostClass) PowerOnMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) QueryDataSource

func (_class HostClass) QueryDataSource(sessionID SessionRef, host HostRef, dataSource string) (_retval float64, _err error)

Query the latest value of the specified data source

func (HostClass) QueryDataSourceMock

func (_class HostClass) QueryDataSourceMock(sessionID SessionRef, host HostRef, dataSource string) (_retval float64, _err error)

func (HostClass) Reboot

func (_class HostClass) Reboot(sessionID SessionRef, host HostRef) (_err error)

Reboot the host. (This function can only be called if there are no currently running VMs on the host and it is disabled.)

func (HostClass) RebootMock

func (_class HostClass) RebootMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) RecordDataSource

func (_class HostClass) RecordDataSource(sessionID SessionRef, host HostRef, dataSource string) (_err error)

Start recording the specified data source

func (HostClass) RecordDataSourceMock

func (_class HostClass) RecordDataSourceMock(sessionID SessionRef, host HostRef, dataSource string) (_err error)

func (HostClass) RefreshPackInfo

func (_class HostClass) RefreshPackInfo(sessionID SessionRef, host HostRef) (_err error)

Refresh the list of installed Supplemental Packs.

func (HostClass) RefreshPackInfoMock

func (_class HostClass) RefreshPackInfoMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) RemoveFromGuestVCPUsParams

func (_class HostClass) RemoveFromGuestVCPUsParams(sessionID SessionRef, self HostRef, key string) (_err error)

Remove the given key and its corresponding value from the guest_VCPUs_params field of the given host. If the key is not in that Map, then do nothing.

func (HostClass) RemoveFromGuestVCPUsParamsMock

func (_class HostClass) RemoveFromGuestVCPUsParamsMock(sessionID SessionRef, self HostRef, key string) (_err error)

func (HostClass) RemoveFromLicenseServer

func (_class HostClass) RemoveFromLicenseServer(sessionID SessionRef, self HostRef, key string) (_err error)

Remove the given key and its corresponding value from the license_server field of the given host. If the key is not in that Map, then do nothing.

func (HostClass) RemoveFromLicenseServerMock

func (_class HostClass) RemoveFromLicenseServerMock(sessionID SessionRef, self HostRef, key string) (_err error)

func (HostClass) RemoveFromLogging

func (_class HostClass) RemoveFromLogging(sessionID SessionRef, self HostRef, key string) (_err error)

Remove the given key and its corresponding value from the logging field of the given host. If the key is not in that Map, then do nothing.

func (HostClass) RemoveFromLoggingMock

func (_class HostClass) RemoveFromLoggingMock(sessionID SessionRef, self HostRef, key string) (_err error)

func (HostClass) RemoveFromOtherConfig

func (_class HostClass) RemoveFromOtherConfig(sessionID SessionRef, self HostRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given host. If the key is not in that Map, then do nothing.

func (HostClass) RemoveFromOtherConfigMock

func (_class HostClass) RemoveFromOtherConfigMock(sessionID SessionRef, self HostRef, key string) (_err error)

func (HostClass) RemoveTags

func (_class HostClass) RemoveTags(sessionID SessionRef, self HostRef, value string) (_err error)

Remove the given value from the tags field of the given host. If the value is not in that Set, then do nothing.

func (HostClass) RemoveTagsMock

func (_class HostClass) RemoveTagsMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) ResetCPUFeatures

func (_class HostClass) ResetCPUFeatures(sessionID SessionRef, host HostRef) (_err error)

Remove the feature mask, such that after a reboot all features of the CPU are enabled.

func (HostClass) ResetCPUFeaturesMock

func (_class HostClass) ResetCPUFeaturesMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) RestartAgent

func (_class HostClass) RestartAgent(sessionID SessionRef, host HostRef) (_err error)

Restarts the agent after a 10 second pause. WARNING: this is a dangerous operation. Any operations in progress will be aborted, and unrecoverable data loss may occur. The caller is responsible for ensuring that there are no operations in progress when this method is called.

func (HostClass) RestartAgentMock

func (_class HostClass) RestartAgentMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) RetrieveWlbEvacuateRecommendations

func (_class HostClass) RetrieveWlbEvacuateRecommendations(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

Retrieves recommended host migrations to perform when evacuating the host from the wlb server. If a VM cannot be migrated from the host the reason is listed instead of a recommendation.

func (HostClass) RetrieveWlbEvacuateRecommendationsMock

func (_class HostClass) RetrieveWlbEvacuateRecommendationsMock(sessionID SessionRef, self HostRef) (_retval map[VMRef][]string, _err error)

func (HostClass) SendDebugKeys

func (_class HostClass) SendDebugKeys(sessionID SessionRef, host HostRef, keys string) (_err error)

Inject the given string as debugging keys into Xen

func (HostClass) SendDebugKeysMock

func (_class HostClass) SendDebugKeysMock(sessionID SessionRef, host HostRef, keys string) (_err error)

func (HostClass) SetAddress

func (_class HostClass) SetAddress(sessionID SessionRef, self HostRef, value string) (_err error)

Set the address field of the given host.

func (HostClass) SetAddressMock

func (_class HostClass) SetAddressMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) SetCPUFeatures

func (_class HostClass) SetCPUFeatures(sessionID SessionRef, host HostRef, features string) (_err error)

Set the CPU features to be used after a reboot, if the given features string is valid.

func (HostClass) SetCPUFeaturesMock

func (_class HostClass) SetCPUFeaturesMock(sessionID SessionRef, host HostRef, features string) (_err error)

func (HostClass) SetCrashDumpSr

func (_class HostClass) SetCrashDumpSr(sessionID SessionRef, self HostRef, value SRRef) (_err error)

Set the crash_dump_sr field of the given host.

func (HostClass) SetCrashDumpSrMock

func (_class HostClass) SetCrashDumpSrMock(sessionID SessionRef, self HostRef, value SRRef) (_err error)

func (HostClass) SetDisplay

func (_class HostClass) SetDisplay(sessionID SessionRef, self HostRef, value HostDisplay) (_err error)

Set the display field of the given host.

func (HostClass) SetDisplayMock

func (_class HostClass) SetDisplayMock(sessionID SessionRef, self HostRef, value HostDisplay) (_err error)

func (HostClass) SetGuestVCPUsParams

func (_class HostClass) SetGuestVCPUsParams(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

Set the guest_VCPUs_params field of the given host.

func (HostClass) SetGuestVCPUsParamsMock

func (_class HostClass) SetGuestVCPUsParamsMock(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func (HostClass) SetHostname

func (_class HostClass) SetHostname(sessionID SessionRef, self HostRef, value string) (_err error)

Set the hostname field of the given host.

func (HostClass) SetHostnameLive

func (_class HostClass) SetHostnameLive(sessionID SessionRef, host HostRef, hostname string) (_err error)

Sets the host name to the specified string. Both the API and lower-level system hostname are changed immediately.

Errors:

HOST_NAME_INVALID - The host name is invalid.

func (HostClass) SetHostnameLiveMock

func (_class HostClass) SetHostnameLiveMock(sessionID SessionRef, host HostRef, hostname string) (_err error)

func (HostClass) SetHostnameMock

func (_class HostClass) SetHostnameMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) SetLicenseServer

func (_class HostClass) SetLicenseServer(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

Set the license_server field of the given host.

func (HostClass) SetLicenseServerMock

func (_class HostClass) SetLicenseServerMock(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func (HostClass) SetLogging

func (_class HostClass) SetLogging(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

Set the logging field of the given host.

func (HostClass) SetLoggingMock

func (_class HostClass) SetLoggingMock(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func (HostClass) SetNameDescription

func (_class HostClass) SetNameDescription(sessionID SessionRef, self HostRef, value string) (_err error)

Set the name/description field of the given host.

func (HostClass) SetNameDescriptionMock

func (_class HostClass) SetNameDescriptionMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) SetNameLabel

func (_class HostClass) SetNameLabel(sessionID SessionRef, self HostRef, value string) (_err error)

Set the name/label field of the given host.

func (HostClass) SetNameLabelMock

func (_class HostClass) SetNameLabelMock(sessionID SessionRef, self HostRef, value string) (_err error)

func (HostClass) SetOtherConfig

func (_class HostClass) SetOtherConfig(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

Set the other_config field of the given host.

func (HostClass) SetOtherConfigMock

func (_class HostClass) SetOtherConfigMock(sessionID SessionRef, self HostRef, value map[string]string) (_err error)

func (HostClass) SetPowerOnMode

func (_class HostClass) SetPowerOnMode(sessionID SessionRef, self HostRef, powerOnMode string, powerOnConfig map[string]string) (_err error)

Set the power-on-mode, host, user and password

func (HostClass) SetPowerOnModeMock

func (_class HostClass) SetPowerOnModeMock(sessionID SessionRef, self HostRef, powerOnMode string, powerOnConfig map[string]string) (_err error)

func (HostClass) SetSslLegacy

func (_class HostClass) SetSslLegacy(sessionID SessionRef, self HostRef, value bool) (_err error)

Enable/disable SSLv3 for interoperability with older versions of XenServer. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. XenAPI login sessions will remain valid.

func (HostClass) SetSslLegacyMock

func (_class HostClass) SetSslLegacyMock(sessionID SessionRef, self HostRef, value bool) (_err error)

func (HostClass) SetSuspendImageSr

func (_class HostClass) SetSuspendImageSr(sessionID SessionRef, self HostRef, value SRRef) (_err error)

Set the suspend_image_sr field of the given host.

func (HostClass) SetSuspendImageSrMock

func (_class HostClass) SetSuspendImageSrMock(sessionID SessionRef, self HostRef, value SRRef) (_err error)

func (HostClass) SetTags

func (_class HostClass) SetTags(sessionID SessionRef, self HostRef, value []string) (_err error)

Set the tags field of the given host.

func (HostClass) SetTagsMock

func (_class HostClass) SetTagsMock(sessionID SessionRef, self HostRef, value []string) (_err error)

func (HostClass) Shutdown

func (_class HostClass) Shutdown(sessionID SessionRef, host HostRef) (_err error)

Shutdown the host. (This function can only be called if there are no currently running VMs on the host and it is disabled.)

func (HostClass) ShutdownAgent

func (_class HostClass) ShutdownAgent(sessionID SessionRef) (_err error)

Shuts the agent down after a 10 second pause. WARNING: this is a dangerous operation. Any operations in progress will be aborted, and unrecoverable data loss may occur. The caller is responsible for ensuring that there are no operations in progress when this method is called.

func (HostClass) ShutdownAgentMock

func (_class HostClass) ShutdownAgentMock(sessionID SessionRef) (_err error)

func (HostClass) ShutdownMock

func (_class HostClass) ShutdownMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) SyncData

func (_class HostClass) SyncData(sessionID SessionRef, host HostRef) (_err error)

This causes the synchronisation of the non-database data (messages, RRDs and so on) stored on the master to be synchronised with the host

func (HostClass) SyncDataMock

func (_class HostClass) SyncDataMock(sessionID SessionRef, host HostRef) (_err error)

func (HostClass) SyslogReconfigure

func (_class HostClass) SyslogReconfigure(sessionID SessionRef, host HostRef) (_err error)

Re-configure syslog logging

func (HostClass) SyslogReconfigureMock

func (_class HostClass) SyslogReconfigureMock(sessionID SessionRef, host HostRef) (_err error)

type HostCrashdumpClass

type HostCrashdumpClass struct {
	// contains filtered or unexported fields
}

Represents a host crash dump

func (HostCrashdumpClass) AddToOtherConfig

func (_class HostCrashdumpClass) AddToOtherConfig(sessionID SessionRef, self HostCrashdumpRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given host_crashdump.

func (HostCrashdumpClass) AddToOtherConfigMock

func (_class HostCrashdumpClass) AddToOtherConfigMock(sessionID SessionRef, self HostCrashdumpRef, key string, value string) (_err error)

func (HostCrashdumpClass) Destroy

func (_class HostCrashdumpClass) Destroy(sessionID SessionRef, self HostCrashdumpRef) (_err error)

Destroy specified host crash dump, removing it from the disk.

func (HostCrashdumpClass) DestroyMock

func (_class HostCrashdumpClass) DestroyMock(sessionID SessionRef, self HostCrashdumpRef) (_err error)

func (HostCrashdumpClass) GetAll

func (_class HostCrashdumpClass) GetAll(sessionID SessionRef) (_retval []HostCrashdumpRef, _err error)

Return a list of all the host_crashdumps known to the system.

func (HostCrashdumpClass) GetAllMock

func (_class HostCrashdumpClass) GetAllMock(sessionID SessionRef) (_retval []HostCrashdumpRef, _err error)

func (HostCrashdumpClass) GetAllRecords

func (_class HostCrashdumpClass) GetAllRecords(sessionID SessionRef) (_retval map[HostCrashdumpRef]HostCrashdumpRecord, _err error)

Return a map of host_crashdump references to host_crashdump records for all host_crashdumps known to the system.

func (HostCrashdumpClass) GetAllRecordsMock

func (_class HostCrashdumpClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[HostCrashdumpRef]HostCrashdumpRecord, _err error)

func (HostCrashdumpClass) GetByUUID

func (_class HostCrashdumpClass) GetByUUID(sessionID SessionRef, uuid string) (_retval HostCrashdumpRef, _err error)

Get a reference to the host_crashdump instance with the specified UUID.

func (HostCrashdumpClass) GetByUUIDMock

func (_class HostCrashdumpClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval HostCrashdumpRef, _err error)

func (HostCrashdumpClass) GetHost

func (_class HostCrashdumpClass) GetHost(sessionID SessionRef, self HostCrashdumpRef) (_retval HostRef, _err error)

Get the host field of the given host_crashdump.

func (HostCrashdumpClass) GetHostMock

func (_class HostCrashdumpClass) GetHostMock(sessionID SessionRef, self HostCrashdumpRef) (_retval HostRef, _err error)

func (HostCrashdumpClass) GetOtherConfig

func (_class HostCrashdumpClass) GetOtherConfig(sessionID SessionRef, self HostCrashdumpRef) (_retval map[string]string, _err error)

Get the other_config field of the given host_crashdump.

func (HostCrashdumpClass) GetOtherConfigMock

func (_class HostCrashdumpClass) GetOtherConfigMock(sessionID SessionRef, self HostCrashdumpRef) (_retval map[string]string, _err error)

func (HostCrashdumpClass) GetRecord

func (_class HostCrashdumpClass) GetRecord(sessionID SessionRef, self HostCrashdumpRef) (_retval HostCrashdumpRecord, _err error)

Get a record containing the current state of the given host_crashdump.

func (HostCrashdumpClass) GetRecordMock

func (_class HostCrashdumpClass) GetRecordMock(sessionID SessionRef, self HostCrashdumpRef) (_retval HostCrashdumpRecord, _err error)

func (HostCrashdumpClass) GetSize

func (_class HostCrashdumpClass) GetSize(sessionID SessionRef, self HostCrashdumpRef) (_retval int, _err error)

Get the size field of the given host_crashdump.

func (HostCrashdumpClass) GetSizeMock

func (_class HostCrashdumpClass) GetSizeMock(sessionID SessionRef, self HostCrashdumpRef) (_retval int, _err error)

func (HostCrashdumpClass) GetTimestamp

func (_class HostCrashdumpClass) GetTimestamp(sessionID SessionRef, self HostCrashdumpRef) (_retval time.Time, _err error)

Get the timestamp field of the given host_crashdump.

func (HostCrashdumpClass) GetTimestampMock

func (_class HostCrashdumpClass) GetTimestampMock(sessionID SessionRef, self HostCrashdumpRef) (_retval time.Time, _err error)

func (HostCrashdumpClass) GetUUID

func (_class HostCrashdumpClass) GetUUID(sessionID SessionRef, self HostCrashdumpRef) (_retval string, _err error)

Get the uuid field of the given host_crashdump.

func (HostCrashdumpClass) GetUUIDMock

func (_class HostCrashdumpClass) GetUUIDMock(sessionID SessionRef, self HostCrashdumpRef) (_retval string, _err error)

func (HostCrashdumpClass) RemoveFromOtherConfig

func (_class HostCrashdumpClass) RemoveFromOtherConfig(sessionID SessionRef, self HostCrashdumpRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given host_crashdump. If the key is not in that Map, then do nothing.

func (HostCrashdumpClass) RemoveFromOtherConfigMock

func (_class HostCrashdumpClass) RemoveFromOtherConfigMock(sessionID SessionRef, self HostCrashdumpRef, key string) (_err error)

func (HostCrashdumpClass) SetOtherConfig

func (_class HostCrashdumpClass) SetOtherConfig(sessionID SessionRef, self HostCrashdumpRef, value map[string]string) (_err error)

Set the other_config field of the given host_crashdump.

func (HostCrashdumpClass) SetOtherConfigMock

func (_class HostCrashdumpClass) SetOtherConfigMock(sessionID SessionRef, self HostCrashdumpRef, value map[string]string) (_err error)

func (HostCrashdumpClass) Upload

func (_class HostCrashdumpClass) Upload(sessionID SessionRef, self HostCrashdumpRef, url string, options map[string]string) (_err error)

Upload the specified host crash dump to a specified URL

func (HostCrashdumpClass) UploadMock

func (_class HostCrashdumpClass) UploadMock(sessionID SessionRef, self HostCrashdumpRef, url string, options map[string]string) (_err error)

type HostCrashdumpRecord

type HostCrashdumpRecord struct {
	// Unique identifier/object reference
	UUID string
	// Host the crashdump relates to
	Host HostRef
	// Time the crash happened
	Timestamp time.Time
	// Size of the crashdump
	Size int
	// additional configuration
	OtherConfig map[string]string
}

func HostCrashdumpClassGetRecordMockDefault

func HostCrashdumpClassGetRecordMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval HostCrashdumpRecord, _err error)

type HostCrashdumpRef

type HostCrashdumpRef string

func HostClassGetCrashdumpsMockDefault

func HostClassGetCrashdumpsMockDefault(sessionID SessionRef, self HostRef) (_retval []HostCrashdumpRef, _err error)

func HostCrashdumpClassGetAllMockDefault

func HostCrashdumpClassGetAllMockDefault(sessionID SessionRef) (_retval []HostCrashdumpRef, _err error)

func HostCrashdumpClassGetByUUIDMockDefault

func HostCrashdumpClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval HostCrashdumpRef, _err error)

type HostDisplay

type HostDisplay string
const (
	// This host is outputting its console to a physical display device
	HostDisplayEnabled HostDisplay = "enabled"
	// The host will stop outputting its console to a physical display device on next boot
	HostDisplayDisableOnReboot HostDisplay = "disable_on_reboot"
	// This host is not outputting its console to a physical display device
	HostDisplayDisabled HostDisplay = "disabled"
	// The host will start outputting its console to a physical display device on next boot
	HostDisplayEnableOnReboot HostDisplay = "enable_on_reboot"
)

func HostClassDisableDisplayMockDefault

func HostClassDisableDisplayMockDefault(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

func HostClassEnableDisplayMockDefault

func HostClassEnableDisplayMockDefault(sessionID SessionRef, host HostRef) (_retval HostDisplay, _err error)

func HostClassGetDisplayMockDefault

func HostClassGetDisplayMockDefault(sessionID SessionRef, self HostRef) (_retval HostDisplay, _err error)

type HostMetricsClass

type HostMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics associated with a host

func (HostMetricsClass) AddToOtherConfig

func (_class HostMetricsClass) AddToOtherConfig(sessionID SessionRef, self HostMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given host_metrics.

func (HostMetricsClass) AddToOtherConfigMock

func (_class HostMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self HostMetricsRef, key string, value string) (_err error)

func (HostMetricsClass) GetAll

func (_class HostMetricsClass) GetAll(sessionID SessionRef) (_retval []HostMetricsRef, _err error)

Return a list of all the host_metrics instances known to the system.

func (HostMetricsClass) GetAllMock

func (_class HostMetricsClass) GetAllMock(sessionID SessionRef) (_retval []HostMetricsRef, _err error)

func (HostMetricsClass) GetAllRecords

func (_class HostMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[HostMetricsRef]HostMetricsRecord, _err error)

Return a map of host_metrics references to host_metrics records for all host_metrics instances known to the system.

func (HostMetricsClass) GetAllRecordsMock

func (_class HostMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[HostMetricsRef]HostMetricsRecord, _err error)

func (HostMetricsClass) GetByUUID

func (_class HostMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval HostMetricsRef, _err error)

Get a reference to the host_metrics instance with the specified UUID.

func (HostMetricsClass) GetByUUIDMock

func (_class HostMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval HostMetricsRef, _err error)

func (HostMetricsClass) GetLastUpdated

func (_class HostMetricsClass) GetLastUpdated(sessionID SessionRef, self HostMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given host_metrics.

func (HostMetricsClass) GetLastUpdatedMock

func (_class HostMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self HostMetricsRef) (_retval time.Time, _err error)

func (HostMetricsClass) GetLive

func (_class HostMetricsClass) GetLive(sessionID SessionRef, self HostMetricsRef) (_retval bool, _err error)

Get the live field of the given host_metrics.

func (HostMetricsClass) GetLiveMock

func (_class HostMetricsClass) GetLiveMock(sessionID SessionRef, self HostMetricsRef) (_retval bool, _err error)

func (HostMetricsClass) GetMemoryFree

func (_class HostMetricsClass) GetMemoryFree(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

Get the memory/free field of the given host_metrics.

func (HostMetricsClass) GetMemoryFreeMock

func (_class HostMetricsClass) GetMemoryFreeMock(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

func (HostMetricsClass) GetMemoryTotal

func (_class HostMetricsClass) GetMemoryTotal(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

Get the memory/total field of the given host_metrics.

func (HostMetricsClass) GetMemoryTotalMock

func (_class HostMetricsClass) GetMemoryTotalMock(sessionID SessionRef, self HostMetricsRef) (_retval int, _err error)

func (HostMetricsClass) GetOtherConfig

func (_class HostMetricsClass) GetOtherConfig(sessionID SessionRef, self HostMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given host_metrics.

func (HostMetricsClass) GetOtherConfigMock

func (_class HostMetricsClass) GetOtherConfigMock(sessionID SessionRef, self HostMetricsRef) (_retval map[string]string, _err error)

func (HostMetricsClass) GetRecord

func (_class HostMetricsClass) GetRecord(sessionID SessionRef, self HostMetricsRef) (_retval HostMetricsRecord, _err error)

Get a record containing the current state of the given host_metrics.

func (HostMetricsClass) GetRecordMock

func (_class HostMetricsClass) GetRecordMock(sessionID SessionRef, self HostMetricsRef) (_retval HostMetricsRecord, _err error)

func (HostMetricsClass) GetUUID

func (_class HostMetricsClass) GetUUID(sessionID SessionRef, self HostMetricsRef) (_retval string, _err error)

Get the uuid field of the given host_metrics.

func (HostMetricsClass) GetUUIDMock

func (_class HostMetricsClass) GetUUIDMock(sessionID SessionRef, self HostMetricsRef) (_retval string, _err error)

func (HostMetricsClass) RemoveFromOtherConfig

func (_class HostMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self HostMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given host_metrics. If the key is not in that Map, then do nothing.

func (HostMetricsClass) RemoveFromOtherConfigMock

func (_class HostMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self HostMetricsRef, key string) (_err error)

func (HostMetricsClass) SetOtherConfig

func (_class HostMetricsClass) SetOtherConfig(sessionID SessionRef, self HostMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given host_metrics.

func (HostMetricsClass) SetOtherConfigMock

func (_class HostMetricsClass) SetOtherConfigMock(sessionID SessionRef, self HostMetricsRef, value map[string]string) (_err error)

type HostMetricsRecord

type HostMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// Total host memory (bytes)
	MemoryTotal int
	// Free host memory (bytes)
	MemoryFree int
	// Pool master thinks this host is live
	Live bool
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
}

func HostMetricsClassGetRecordMockDefault

func HostMetricsClassGetRecordMockDefault(sessionID SessionRef, self HostMetricsRef) (_retval HostMetricsRecord, _err error)

type HostMetricsRef

type HostMetricsRef string

func HostClassGetMetricsMockDefault

func HostClassGetMetricsMockDefault(sessionID SessionRef, self HostRef) (_retval HostMetricsRef, _err error)

func HostMetricsClassGetAllMockDefault

func HostMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []HostMetricsRef, _err error)

func HostMetricsClassGetByUUIDMockDefault

func HostMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval HostMetricsRef, _err error)

type HostPatchClass

type HostPatchClass struct {
	// contains filtered or unexported fields
}

Represents a patch stored on a server

func (HostPatchClass) AddToOtherConfig

func (_class HostPatchClass) AddToOtherConfig(sessionID SessionRef, self HostPatchRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given host_patch.

func (HostPatchClass) AddToOtherConfigMock

func (_class HostPatchClass) AddToOtherConfigMock(sessionID SessionRef, self HostPatchRef, key string, value string) (_err error)

func (HostPatchClass) Apply

func (_class HostPatchClass) Apply(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

Apply the selected patch and return its output

func (HostPatchClass) ApplyMock

func (_class HostPatchClass) ApplyMock(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func (HostPatchClass) Destroy

func (_class HostPatchClass) Destroy(sessionID SessionRef, self HostPatchRef) (_err error)

Destroy the specified host patch, removing it from the disk. This does NOT reverse the patch

func (HostPatchClass) DestroyMock

func (_class HostPatchClass) DestroyMock(sessionID SessionRef, self HostPatchRef) (_err error)

func (HostPatchClass) GetAll

func (_class HostPatchClass) GetAll(sessionID SessionRef) (_retval []HostPatchRef, _err error)

Return a list of all the host_patchs known to the system.

func (HostPatchClass) GetAllMock

func (_class HostPatchClass) GetAllMock(sessionID SessionRef) (_retval []HostPatchRef, _err error)

func (HostPatchClass) GetAllRecords

func (_class HostPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[HostPatchRef]HostPatchRecord, _err error)

Return a map of host_patch references to host_patch records for all host_patchs known to the system.

func (HostPatchClass) GetAllRecordsMock

func (_class HostPatchClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[HostPatchRef]HostPatchRecord, _err error)

func (HostPatchClass) GetApplied

func (_class HostPatchClass) GetApplied(sessionID SessionRef, self HostPatchRef) (_retval bool, _err error)

Get the applied field of the given host_patch.

func (HostPatchClass) GetAppliedMock

func (_class HostPatchClass) GetAppliedMock(sessionID SessionRef, self HostPatchRef) (_retval bool, _err error)

func (HostPatchClass) GetByNameLabel

func (_class HostPatchClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []HostPatchRef, _err error)

Get all the host_patch instances with the given label.

func (HostPatchClass) GetByNameLabelMock

func (_class HostPatchClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []HostPatchRef, _err error)

func (HostPatchClass) GetByUUID

func (_class HostPatchClass) GetByUUID(sessionID SessionRef, uuid string) (_retval HostPatchRef, _err error)

Get a reference to the host_patch instance with the specified UUID.

func (HostPatchClass) GetByUUIDMock

func (_class HostPatchClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval HostPatchRef, _err error)

func (HostPatchClass) GetHost

func (_class HostPatchClass) GetHost(sessionID SessionRef, self HostPatchRef) (_retval HostRef, _err error)

Get the host field of the given host_patch.

func (HostPatchClass) GetHostMock

func (_class HostPatchClass) GetHostMock(sessionID SessionRef, self HostPatchRef) (_retval HostRef, _err error)

func (HostPatchClass) GetNameDescription

func (_class HostPatchClass) GetNameDescription(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

Get the name/description field of the given host_patch.

func (HostPatchClass) GetNameDescriptionMock

func (_class HostPatchClass) GetNameDescriptionMock(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func (HostPatchClass) GetNameLabel

func (_class HostPatchClass) GetNameLabel(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

Get the name/label field of the given host_patch.

func (HostPatchClass) GetNameLabelMock

func (_class HostPatchClass) GetNameLabelMock(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func (HostPatchClass) GetOtherConfig

func (_class HostPatchClass) GetOtherConfig(sessionID SessionRef, self HostPatchRef) (_retval map[string]string, _err error)

Get the other_config field of the given host_patch.

func (HostPatchClass) GetOtherConfigMock

func (_class HostPatchClass) GetOtherConfigMock(sessionID SessionRef, self HostPatchRef) (_retval map[string]string, _err error)

func (HostPatchClass) GetPoolPatch

func (_class HostPatchClass) GetPoolPatch(sessionID SessionRef, self HostPatchRef) (_retval PoolPatchRef, _err error)

Get the pool_patch field of the given host_patch.

func (HostPatchClass) GetPoolPatchMock

func (_class HostPatchClass) GetPoolPatchMock(sessionID SessionRef, self HostPatchRef) (_retval PoolPatchRef, _err error)

func (HostPatchClass) GetRecord

func (_class HostPatchClass) GetRecord(sessionID SessionRef, self HostPatchRef) (_retval HostPatchRecord, _err error)

Get a record containing the current state of the given host_patch.

func (HostPatchClass) GetRecordMock

func (_class HostPatchClass) GetRecordMock(sessionID SessionRef, self HostPatchRef) (_retval HostPatchRecord, _err error)

func (HostPatchClass) GetSize

func (_class HostPatchClass) GetSize(sessionID SessionRef, self HostPatchRef) (_retval int, _err error)

Get the size field of the given host_patch.

func (HostPatchClass) GetSizeMock

func (_class HostPatchClass) GetSizeMock(sessionID SessionRef, self HostPatchRef) (_retval int, _err error)

func (HostPatchClass) GetTimestampApplied

func (_class HostPatchClass) GetTimestampApplied(sessionID SessionRef, self HostPatchRef) (_retval time.Time, _err error)

Get the timestamp_applied field of the given host_patch.

func (HostPatchClass) GetTimestampAppliedMock

func (_class HostPatchClass) GetTimestampAppliedMock(sessionID SessionRef, self HostPatchRef) (_retval time.Time, _err error)

func (HostPatchClass) GetUUID

func (_class HostPatchClass) GetUUID(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

Get the uuid field of the given host_patch.

func (HostPatchClass) GetUUIDMock

func (_class HostPatchClass) GetUUIDMock(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func (HostPatchClass) GetVersion

func (_class HostPatchClass) GetVersion(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

Get the version field of the given host_patch.

func (HostPatchClass) GetVersionMock

func (_class HostPatchClass) GetVersionMock(sessionID SessionRef, self HostPatchRef) (_retval string, _err error)

func (HostPatchClass) RemoveFromOtherConfig

func (_class HostPatchClass) RemoveFromOtherConfig(sessionID SessionRef, self HostPatchRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given host_patch. If the key is not in that Map, then do nothing.

func (HostPatchClass) RemoveFromOtherConfigMock

func (_class HostPatchClass) RemoveFromOtherConfigMock(sessionID SessionRef, self HostPatchRef, key string) (_err error)

func (HostPatchClass) SetOtherConfig

func (_class HostPatchClass) SetOtherConfig(sessionID SessionRef, self HostPatchRef, value map[string]string) (_err error)

Set the other_config field of the given host_patch.

func (HostPatchClass) SetOtherConfigMock

func (_class HostPatchClass) SetOtherConfigMock(sessionID SessionRef, self HostPatchRef, value map[string]string) (_err error)

type HostPatchRecord

type HostPatchRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Patch version number
	Version string
	// Host the patch relates to
	Host HostRef
	// True if the patch has been applied
	Applied bool
	// Time the patch was applied
	TimestampApplied time.Time
	// Size of the patch
	Size int
	// The patch applied
	PoolPatch PoolPatchRef
	// additional configuration
	OtherConfig map[string]string
}

func HostPatchClassGetRecordMockDefault

func HostPatchClassGetRecordMockDefault(sessionID SessionRef, self HostPatchRef) (_retval HostPatchRecord, _err error)

type HostPatchRef

type HostPatchRef string

func HostClassGetPatchesMockDefault

func HostClassGetPatchesMockDefault(sessionID SessionRef, self HostRef) (_retval []HostPatchRef, _err error)

func HostPatchClassGetAllMockDefault

func HostPatchClassGetAllMockDefault(sessionID SessionRef) (_retval []HostPatchRef, _err error)

func HostPatchClassGetByNameLabelMockDefault

func HostPatchClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []HostPatchRef, _err error)

func HostPatchClassGetByUUIDMockDefault

func HostPatchClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval HostPatchRef, _err error)

func PoolPatchClassGetHostPatchesMockDefault

func PoolPatchClassGetHostPatchesMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval []HostPatchRef, _err error)

type HostRecord

type HostRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Virtualization memory overhead (bytes).
	MemoryOverhead int
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []HostAllowedOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]HostAllowedOperations
	// major version number
	APIVersionMajor int
	// minor version number
	APIVersionMinor int
	// identification of vendor
	APIVersionVendor string
	// details of vendor implementation
	APIVersionVendorImplementation map[string]string
	// True if the host is currently enabled
	Enabled bool
	// version strings
	SoftwareVersion map[string]string
	// additional configuration
	OtherConfig map[string]string
	// Xen capabilities
	Capabilities []string
	// The CPU configuration on this host.  May contain keys such as "nr_nodes", "sockets_per_node", "cores_per_socket", or "threads_per_core"
	CPUConfiguration map[string]string
	// Scheduler policy currently in force on this host
	SchedPolicy string
	// a list of the bootloaders installed on the machine
	SupportedBootloaders []string
	// list of VMs currently resident on host
	ResidentVMs []VMRef
	// logging configuration
	Logging map[string]string
	// physical network interfaces
	PIFs []PIFRef
	// The SR in which VDIs for suspend images are created
	SuspendImageSr SRRef
	// The SR in which VDIs for crash dumps are created
	CrashDumpSr SRRef
	// Set of host crash dumps
	Crashdumps []HostCrashdumpRef
	// Set of host patches
	Patches []HostPatchRef
	// Set of updates
	Updates []PoolUpdateRef
	// physical blockdevices
	PBDs []PBDRef
	// The physical CPUs on this host
	HostCPUs []HostCPURef
	// Details about the physical CPUs on this host
	CPUInfo map[string]string
	// The hostname of this host
	Hostname string
	// The address by which this host can be contacted from any other host in the pool
	Address string
	// metrics associated with this host
	Metrics HostMetricsRef
	// State of the current license
	LicenseParams map[string]string
	// The set of statefiles accessible from this host
	HaStatefiles []string
	// The set of hosts visible via the network from this host
	HaNetworkPeers []string
	// Binary blobs associated with this host
	Blobs map[string]BlobRef
	// user-specified tags for categorization purposes
	Tags []string
	// type of external authentication service configured; empty if none configured.
	ExternalAuthType string
	// name of external authentication service configured; empty if none configured.
	ExternalAuthServiceName string
	// configuration specific to external authentication service
	ExternalAuthConfiguration map[string]string
	// Product edition
	Edition string
	// Contact information of the license server
	LicenseServer map[string]string
	// BIOS strings
	BiosStrings map[string]string
	// The power on mode
	PowerOnMode string
	// The power on config
	PowerOnConfig map[string]string
	// The SR that is used as a local cache
	LocalCacheSr SRRef
	// Information about chipset features
	ChipsetInfo map[string]string
	// List of PCI devices in the host
	PCIs []PCIRef
	// List of physical GPUs in the host
	PGPUs []PGPURef
	// List of physical USBs in the host
	PUSBs []PUSBRef
	// Allow SSLv3 protocol and ciphersuites as used by older XenServers. This controls both incoming and outgoing connections. When this is set to a different value, the host immediately restarts its SSL/TLS listening service; typically this takes less than a second but existing connections to it will be broken. XenAPI login sessions will remain valid.
	SslLegacy bool
	// VCPUs params to apply to all resident guests
	GuestVCPUsParams map[string]string
	// indicates whether the host is configured to output its console to a physical display device
	Display HostDisplay
	// The set of versions of the virtual hardware platform that the host can offer to its guests
	VirtualHardwarePlatformVersions []int
	// The control domain (domain 0)
	ControlDomain VMRef
	// List of updates which require reboot
	UpdatesRequiringReboot []PoolUpdateRef
	// List of features available on this host
	Features []FeatureRef
}

func HostClassGetRecordMockDefault

func HostClassGetRecordMockDefault(sessionID SessionRef, self HostRef) (_retval HostRecord, _err error)

type HostRef

type HostRef string

func FeatureClassGetHostMockDefault

func FeatureClassGetHostMockDefault(sessionID SessionRef, self FeatureRef) (_retval HostRef, _err error)

func HostCPUClassGetHostMockDefault

func HostCPUClassGetHostMockDefault(sessionID SessionRef, self HostCPURef) (_retval HostRef, _err error)

func HostClassGetAllMockDefault

func HostClassGetAllMockDefault(sessionID SessionRef) (_retval []HostRef, _err error)

func HostClassGetByNameLabelMockDefault

func HostClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []HostRef, _err error)

func HostClassGetByUUIDMockDefault

func HostClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval HostRef, _err error)

func HostCrashdumpClassGetHostMockDefault

func HostCrashdumpClassGetHostMockDefault(sessionID SessionRef, self HostCrashdumpRef) (_retval HostRef, _err error)

func HostPatchClassGetHostMockDefault

func HostPatchClassGetHostMockDefault(sessionID SessionRef, self HostPatchRef) (_retval HostRef, _err error)

func PBDClassGetHostMockDefault

func PBDClassGetHostMockDefault(sessionID SessionRef, self PBDRef) (_retval HostRef, _err error)

func PCIClassGetHostMockDefault

func PCIClassGetHostMockDefault(sessionID SessionRef, self PCIRef) (_retval HostRef, _err error)

func PGPUClassGetHostMockDefault

func PGPUClassGetHostMockDefault(sessionID SessionRef, self PGPURef) (_retval HostRef, _err error)

func PIFClassGetHostMockDefault

func PIFClassGetHostMockDefault(sessionID SessionRef, self PIFRef) (_retval HostRef, _err error)

func PUSBClassGetHostMockDefault

func PUSBClassGetHostMockDefault(sessionID SessionRef, self PUSBRef) (_retval HostRef, _err error)

func PVSCacheStorageClassGetHostMockDefault

func PVSCacheStorageClassGetHostMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval HostRef, _err error)

func PoolClassGetMasterMockDefault

func PoolClassGetMasterMockDefault(sessionID SessionRef, self PoolRef) (_retval HostRef, _err error)

func PoolClassRecoverSlavesMockDefault

func PoolClassRecoverSlavesMockDefault(sessionID SessionRef) (_retval []HostRef, _err error)

func PoolUpdateClassGetHostsMockDefault

func PoolUpdateClassGetHostsMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval []HostRef, _err error)

func SessionClassGetThisHostMockDefault

func SessionClassGetThisHostMockDefault(sessionID SessionRef, self SessionRef) (_retval HostRef, _err error)

func TaskClassGetResidentOnMockDefault

func TaskClassGetResidentOnMockDefault(sessionID SessionRef, self TaskRef) (_retval HostRef, _err error)

func VMClassGetAffinityMockDefault

func VMClassGetAffinityMockDefault(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

func VMClassGetPossibleHostsMockDefault

func VMClassGetPossibleHostsMockDefault(sessionID SessionRef, vm VMRef) (_retval []HostRef, _err error)

func VMClassGetResidentOnMockDefault

func VMClassGetResidentOnMockDefault(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

type IPConfigurationMode

type IPConfigurationMode string
const (
	// Do not acquire an IP address
	IPConfigurationModeNone IPConfigurationMode = "None"
	// Acquire an IP address by DHCP
	IPConfigurationModeDHCP IPConfigurationMode = "DHCP"
	// Static IP address configuration
	IPConfigurationModeStatic IPConfigurationMode = "Static"
)

func PIFClassGetIPConfigurationModeMockDefault

func PIFClassGetIPConfigurationModeMockDefault(sessionID SessionRef, self PIFRef) (_retval IPConfigurationMode, _err error)

type Ipv6ConfigurationMode

type Ipv6ConfigurationMode string
const (
	// Do not acquire an IPv6 address
	Ipv6ConfigurationModeNone Ipv6ConfigurationMode = "None"
	// Acquire an IPv6 address by DHCP
	Ipv6ConfigurationModeDHCP Ipv6ConfigurationMode = "DHCP"
	// Static IPv6 address configuration
	Ipv6ConfigurationModeStatic Ipv6ConfigurationMode = "Static"
	// Router assigned prefix delegation IPv6 allocation
	Ipv6ConfigurationModeAutoconf Ipv6ConfigurationMode = "Autoconf"
)

func PIFClassGetIpv6ConfigurationModeMockDefault

func PIFClassGetIpv6ConfigurationModeMockDefault(sessionID SessionRef, self PIFRef) (_retval Ipv6ConfigurationMode, _err error)

type LVHDClass

type LVHDClass struct {
	// contains filtered or unexported fields
}

LVHD SR specific operations

func (LVHDClass) EnableThinProvisioning

func (_class LVHDClass) EnableThinProvisioning(sessionID SessionRef, host HostRef, sr SRRef, initialAllocation int, allocationQuantum int) (_retval string, _err error)

Upgrades an LVHD SR to enable thin-provisioning. Future VDIs created in this SR will be thinly-provisioned, although existing VDIs will be left alone. Note that the SR must be attached to the SRmaster for upgrade to work.

func (LVHDClass) EnableThinProvisioningMock

func (_class LVHDClass) EnableThinProvisioningMock(sessionID SessionRef, host HostRef, sr SRRef, initialAllocation int, allocationQuantum int) (_retval string, _err error)

func (LVHDClass) GetByUUID

func (_class LVHDClass) GetByUUID(sessionID SessionRef, uuid string) (_retval LVHDRef, _err error)

Get a reference to the LVHD instance with the specified UUID.

func (LVHDClass) GetByUUIDMock

func (_class LVHDClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval LVHDRef, _err error)

func (LVHDClass) GetRecord

func (_class LVHDClass) GetRecord(sessionID SessionRef, self LVHDRef) (_retval LVHDRecord, _err error)

Get a record containing the current state of the given LVHD.

func (LVHDClass) GetRecordMock

func (_class LVHDClass) GetRecordMock(sessionID SessionRef, self LVHDRef) (_retval LVHDRecord, _err error)

func (LVHDClass) GetUUID

func (_class LVHDClass) GetUUID(sessionID SessionRef, self LVHDRef) (_retval string, _err error)

Get the uuid field of the given LVHD.

func (LVHDClass) GetUUIDMock

func (_class LVHDClass) GetUUIDMock(sessionID SessionRef, self LVHDRef) (_retval string, _err error)

type LVHDRecord

type LVHDRecord struct {
	// Unique identifier/object reference
	UUID string
}

func LVHDClassGetRecordMockDefault

func LVHDClassGetRecordMockDefault(sessionID SessionRef, self LVHDRef) (_retval LVHDRecord, _err error)

type LVHDRef

type LVHDRef string

func LVHDClassGetByUUIDMockDefault

func LVHDClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval LVHDRef, _err error)

type LivepatchStatus

type LivepatchStatus string
const (
	// An applicable live patch exists for every required component
	LivepatchStatusOkLivepatchComplete LivepatchStatus = "ok_livepatch_complete"
	// An applicable live patch exists but it is not sufficient
	LivepatchStatusOkLivepatchIncomplete LivepatchStatus = "ok_livepatch_incomplete"
	// There is no applicable live patch
	LivepatchStatusOk LivepatchStatus = "ok"
)

func PoolUpdateClassPrecheckMockDefault

func PoolUpdateClassPrecheckMockDefault(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_retval LivepatchStatus, _err error)

type MessageClass

type MessageClass struct {
	// contains filtered or unexported fields
}

An message for the attention of the administrator

func (MessageClass) Create

func (_class MessageClass) Create(sessionID SessionRef, name string, priority int, cls Cls, objUUID string, body string) (_retval MessageRef, _err error)

func (MessageClass) CreateMock

func (_class MessageClass) CreateMock(sessionID SessionRef, name string, priority int, cls Cls, objUUID string, body string) (_retval MessageRef, _err error)

func (MessageClass) Destroy

func (_class MessageClass) Destroy(sessionID SessionRef, self MessageRef) (_err error)

func (MessageClass) DestroyMock

func (_class MessageClass) DestroyMock(sessionID SessionRef, self MessageRef) (_err error)

func (MessageClass) Get

func (_class MessageClass) Get(sessionID SessionRef, cls Cls, objUUID string, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetAll

func (_class MessageClass) GetAll(sessionID SessionRef) (_retval []MessageRef, _err error)

func (MessageClass) GetAllMock

func (_class MessageClass) GetAllMock(sessionID SessionRef) (_retval []MessageRef, _err error)

func (MessageClass) GetAllRecords

func (_class MessageClass) GetAllRecords(sessionID SessionRef) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetAllRecordsMock

func (_class MessageClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetAllRecordsWhere

func (_class MessageClass) GetAllRecordsWhere(sessionID SessionRef, expr string) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetAllRecordsWhereMock

func (_class MessageClass) GetAllRecordsWhereMock(sessionID SessionRef, expr string) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetByUUID

func (_class MessageClass) GetByUUID(sessionID SessionRef, uuid string) (_retval MessageRef, _err error)

func (MessageClass) GetByUUIDMock

func (_class MessageClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval MessageRef, _err error)

func (MessageClass) GetMock

func (_class MessageClass) GetMock(sessionID SessionRef, cls Cls, objUUID string, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetRecord

func (_class MessageClass) GetRecord(sessionID SessionRef, self MessageRef) (_retval MessageRecord, _err error)

func (MessageClass) GetRecordMock

func (_class MessageClass) GetRecordMock(sessionID SessionRef, self MessageRef) (_retval MessageRecord, _err error)

func (MessageClass) GetSince

func (_class MessageClass) GetSince(sessionID SessionRef, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

func (MessageClass) GetSinceMock

func (_class MessageClass) GetSinceMock(sessionID SessionRef, since time.Time) (_retval map[MessageRef]MessageRecord, _err error)

type MessageRecord

type MessageRecord struct {
	// Unique identifier/object reference
	UUID string
	// The name of the message
	Name string
	// The message priority, 0 being low priority
	Priority int
	// The class of the object this message is associated with
	Cls Cls
	// The uuid of the object this message is associated with
	ObjUUID string
	// The time at which the message was created
	Timestamp time.Time
	// The body of the message
	Body string
}

func MessageClassGetRecordMockDefault

func MessageClassGetRecordMockDefault(sessionID SessionRef, self MessageRef) (_retval MessageRecord, _err error)

type MessageRef

type MessageRef string

func MessageClassCreateMockDefault

func MessageClassCreateMockDefault(sessionID SessionRef, name string, priority int, cls Cls, objUUID string, body string) (_retval MessageRef, _err error)

func MessageClassGetAllMockDefault

func MessageClassGetAllMockDefault(sessionID SessionRef) (_retval []MessageRef, _err error)

func MessageClassGetByUUIDMockDefault

func MessageClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval MessageRef, _err error)

type NetworkClass

type NetworkClass struct {
	// contains filtered or unexported fields
}

A virtual network

func (NetworkClass) AddPurpose

func (_class NetworkClass) AddPurpose(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

Give a network a new purpose (if not present already)

Errors:

NETWORK_INCOMPATIBLE_PURPOSES - You tried to add a purpose to a network but the new purpose is not compatible with an existing purpose of the network or other networks.

func (NetworkClass) AddPurposeMock

func (_class NetworkClass) AddPurposeMock(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

func (NetworkClass) AddTags

func (_class NetworkClass) AddTags(sessionID SessionRef, self NetworkRef, value string) (_err error)

Add the given value to the tags field of the given network. If the value is already in that Set, then do nothing.

func (NetworkClass) AddTagsMock

func (_class NetworkClass) AddTagsMock(sessionID SessionRef, self NetworkRef, value string) (_err error)

func (NetworkClass) AddToOtherConfig

func (_class NetworkClass) AddToOtherConfig(sessionID SessionRef, self NetworkRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given network.

func (NetworkClass) AddToOtherConfigMock

func (_class NetworkClass) AddToOtherConfigMock(sessionID SessionRef, self NetworkRef, key string, value string) (_err error)

func (NetworkClass) Create

func (_class NetworkClass) Create(sessionID SessionRef, args NetworkRecord) (_retval NetworkRef, _err error)

Create a new network instance, and return its handle. The constructor args are: name_label, name_description, MTU, other_config*, bridge, managed, tags (* = non-optional).

func (NetworkClass) CreateMock

func (_class NetworkClass) CreateMock(sessionID SessionRef, args NetworkRecord) (_retval NetworkRef, _err error)

func (NetworkClass) CreateNewBlob

func (_class NetworkClass) CreateNewBlob(sessionID SessionRef, network NetworkRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a named binary blob of data that is associated with this pool

func (NetworkClass) CreateNewBlobMock

func (_class NetworkClass) CreateNewBlobMock(sessionID SessionRef, network NetworkRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func (NetworkClass) Destroy

func (_class NetworkClass) Destroy(sessionID SessionRef, self NetworkRef) (_err error)

Destroy the specified network instance.

func (NetworkClass) DestroyMock

func (_class NetworkClass) DestroyMock(sessionID SessionRef, self NetworkRef) (_err error)

func (NetworkClass) GetAll

func (_class NetworkClass) GetAll(sessionID SessionRef) (_retval []NetworkRef, _err error)

Return a list of all the networks known to the system.

func (NetworkClass) GetAllMock

func (_class NetworkClass) GetAllMock(sessionID SessionRef) (_retval []NetworkRef, _err error)

func (NetworkClass) GetAllRecords

func (_class NetworkClass) GetAllRecords(sessionID SessionRef) (_retval map[NetworkRef]NetworkRecord, _err error)

Return a map of network references to network records for all networks known to the system.

func (NetworkClass) GetAllRecordsMock

func (_class NetworkClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[NetworkRef]NetworkRecord, _err error)

func (NetworkClass) GetAllowedOperations

func (_class NetworkClass) GetAllowedOperations(sessionID SessionRef, self NetworkRef) (_retval []NetworkOperations, _err error)

Get the allowed_operations field of the given network.

func (NetworkClass) GetAllowedOperationsMock

func (_class NetworkClass) GetAllowedOperationsMock(sessionID SessionRef, self NetworkRef) (_retval []NetworkOperations, _err error)

func (NetworkClass) GetAssignedIps

func (_class NetworkClass) GetAssignedIps(sessionID SessionRef, self NetworkRef) (_retval map[VIFRef]string, _err error)

Get the assigned_ips field of the given network.

func (NetworkClass) GetAssignedIpsMock

func (_class NetworkClass) GetAssignedIpsMock(sessionID SessionRef, self NetworkRef) (_retval map[VIFRef]string, _err error)

func (NetworkClass) GetBlobs

func (_class NetworkClass) GetBlobs(sessionID SessionRef, self NetworkRef) (_retval map[string]BlobRef, _err error)

Get the blobs field of the given network.

func (NetworkClass) GetBlobsMock

func (_class NetworkClass) GetBlobsMock(sessionID SessionRef, self NetworkRef) (_retval map[string]BlobRef, _err error)

func (NetworkClass) GetBridge

func (_class NetworkClass) GetBridge(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

Get the bridge field of the given network.

func (NetworkClass) GetBridgeMock

func (_class NetworkClass) GetBridgeMock(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func (NetworkClass) GetByNameLabel

func (_class NetworkClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []NetworkRef, _err error)

Get all the network instances with the given label.

func (NetworkClass) GetByNameLabelMock

func (_class NetworkClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []NetworkRef, _err error)

func (NetworkClass) GetByUUID

func (_class NetworkClass) GetByUUID(sessionID SessionRef, uuid string) (_retval NetworkRef, _err error)

Get a reference to the network instance with the specified UUID.

func (NetworkClass) GetByUUIDMock

func (_class NetworkClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval NetworkRef, _err error)

func (NetworkClass) GetCurrentOperations

func (_class NetworkClass) GetCurrentOperations(sessionID SessionRef, self NetworkRef) (_retval map[string]NetworkOperations, _err error)

Get the current_operations field of the given network.

func (NetworkClass) GetCurrentOperationsMock

func (_class NetworkClass) GetCurrentOperationsMock(sessionID SessionRef, self NetworkRef) (_retval map[string]NetworkOperations, _err error)

func (NetworkClass) GetDefaultLockingMode

func (_class NetworkClass) GetDefaultLockingMode(sessionID SessionRef, self NetworkRef) (_retval NetworkDefaultLockingMode, _err error)

Get the default_locking_mode field of the given network.

func (NetworkClass) GetDefaultLockingModeMock

func (_class NetworkClass) GetDefaultLockingModeMock(sessionID SessionRef, self NetworkRef) (_retval NetworkDefaultLockingMode, _err error)

func (NetworkClass) GetMTU

func (_class NetworkClass) GetMTU(sessionID SessionRef, self NetworkRef) (_retval int, _err error)

Get the MTU field of the given network.

func (NetworkClass) GetMTUMock

func (_class NetworkClass) GetMTUMock(sessionID SessionRef, self NetworkRef) (_retval int, _err error)

func (NetworkClass) GetManaged

func (_class NetworkClass) GetManaged(sessionID SessionRef, self NetworkRef) (_retval bool, _err error)

Get the managed field of the given network.

func (NetworkClass) GetManagedMock

func (_class NetworkClass) GetManagedMock(sessionID SessionRef, self NetworkRef) (_retval bool, _err error)

func (NetworkClass) GetNameDescription

func (_class NetworkClass) GetNameDescription(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

Get the name/description field of the given network.

func (NetworkClass) GetNameDescriptionMock

func (_class NetworkClass) GetNameDescriptionMock(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func (NetworkClass) GetNameLabel

func (_class NetworkClass) GetNameLabel(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

Get the name/label field of the given network.

func (NetworkClass) GetNameLabelMock

func (_class NetworkClass) GetNameLabelMock(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func (NetworkClass) GetOtherConfig

func (_class NetworkClass) GetOtherConfig(sessionID SessionRef, self NetworkRef) (_retval map[string]string, _err error)

Get the other_config field of the given network.

func (NetworkClass) GetOtherConfigMock

func (_class NetworkClass) GetOtherConfigMock(sessionID SessionRef, self NetworkRef) (_retval map[string]string, _err error)

func (NetworkClass) GetPIFs

func (_class NetworkClass) GetPIFs(sessionID SessionRef, self NetworkRef) (_retval []PIFRef, _err error)

Get the PIFs field of the given network.

func (NetworkClass) GetPIFsMock

func (_class NetworkClass) GetPIFsMock(sessionID SessionRef, self NetworkRef) (_retval []PIFRef, _err error)

func (NetworkClass) GetPurpose

func (_class NetworkClass) GetPurpose(sessionID SessionRef, self NetworkRef) (_retval []NetworkPurpose, _err error)

Get the purpose field of the given network.

func (NetworkClass) GetPurposeMock

func (_class NetworkClass) GetPurposeMock(sessionID SessionRef, self NetworkRef) (_retval []NetworkPurpose, _err error)

func (NetworkClass) GetRecord

func (_class NetworkClass) GetRecord(sessionID SessionRef, self NetworkRef) (_retval NetworkRecord, _err error)

Get a record containing the current state of the given network.

func (NetworkClass) GetRecordMock

func (_class NetworkClass) GetRecordMock(sessionID SessionRef, self NetworkRef) (_retval NetworkRecord, _err error)

func (NetworkClass) GetTags

func (_class NetworkClass) GetTags(sessionID SessionRef, self NetworkRef) (_retval []string, _err error)

Get the tags field of the given network.

func (NetworkClass) GetTagsMock

func (_class NetworkClass) GetTagsMock(sessionID SessionRef, self NetworkRef) (_retval []string, _err error)

func (NetworkClass) GetUUID

func (_class NetworkClass) GetUUID(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

Get the uuid field of the given network.

func (NetworkClass) GetUUIDMock

func (_class NetworkClass) GetUUIDMock(sessionID SessionRef, self NetworkRef) (_retval string, _err error)

func (NetworkClass) GetVIFs

func (_class NetworkClass) GetVIFs(sessionID SessionRef, self NetworkRef) (_retval []VIFRef, _err error)

Get the VIFs field of the given network.

func (NetworkClass) GetVIFsMock

func (_class NetworkClass) GetVIFsMock(sessionID SessionRef, self NetworkRef) (_retval []VIFRef, _err error)

func (NetworkClass) RemoveFromOtherConfig

func (_class NetworkClass) RemoveFromOtherConfig(sessionID SessionRef, self NetworkRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given network. If the key is not in that Map, then do nothing.

func (NetworkClass) RemoveFromOtherConfigMock

func (_class NetworkClass) RemoveFromOtherConfigMock(sessionID SessionRef, self NetworkRef, key string) (_err error)

func (NetworkClass) RemovePurpose

func (_class NetworkClass) RemovePurpose(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

Remove a purpose from a network (if present)

func (NetworkClass) RemovePurposeMock

func (_class NetworkClass) RemovePurposeMock(sessionID SessionRef, self NetworkRef, value NetworkPurpose) (_err error)

func (NetworkClass) RemoveTags

func (_class NetworkClass) RemoveTags(sessionID SessionRef, self NetworkRef, value string) (_err error)

Remove the given value from the tags field of the given network. If the value is not in that Set, then do nothing.

func (NetworkClass) RemoveTagsMock

func (_class NetworkClass) RemoveTagsMock(sessionID SessionRef, self NetworkRef, value string) (_err error)

func (NetworkClass) SetDefaultLockingMode

func (_class NetworkClass) SetDefaultLockingMode(sessionID SessionRef, network NetworkRef, value NetworkDefaultLockingMode) (_err error)

Set the default locking mode for VIFs attached to this network

func (NetworkClass) SetDefaultLockingModeMock

func (_class NetworkClass) SetDefaultLockingModeMock(sessionID SessionRef, network NetworkRef, value NetworkDefaultLockingMode) (_err error)

func (NetworkClass) SetMTU

func (_class NetworkClass) SetMTU(sessionID SessionRef, self NetworkRef, value int) (_err error)

Set the MTU field of the given network.

func (NetworkClass) SetMTUMock

func (_class NetworkClass) SetMTUMock(sessionID SessionRef, self NetworkRef, value int) (_err error)

func (NetworkClass) SetNameDescription

func (_class NetworkClass) SetNameDescription(sessionID SessionRef, self NetworkRef, value string) (_err error)

Set the name/description field of the given network.

func (NetworkClass) SetNameDescriptionMock

func (_class NetworkClass) SetNameDescriptionMock(sessionID SessionRef, self NetworkRef, value string) (_err error)

func (NetworkClass) SetNameLabel

func (_class NetworkClass) SetNameLabel(sessionID SessionRef, self NetworkRef, value string) (_err error)

Set the name/label field of the given network.

func (NetworkClass) SetNameLabelMock

func (_class NetworkClass) SetNameLabelMock(sessionID SessionRef, self NetworkRef, value string) (_err error)

func (NetworkClass) SetOtherConfig

func (_class NetworkClass) SetOtherConfig(sessionID SessionRef, self NetworkRef, value map[string]string) (_err error)

Set the other_config field of the given network.

func (NetworkClass) SetOtherConfigMock

func (_class NetworkClass) SetOtherConfigMock(sessionID SessionRef, self NetworkRef, value map[string]string) (_err error)

func (NetworkClass) SetTags

func (_class NetworkClass) SetTags(sessionID SessionRef, self NetworkRef, value []string) (_err error)

Set the tags field of the given network.

func (NetworkClass) SetTagsMock

func (_class NetworkClass) SetTagsMock(sessionID SessionRef, self NetworkRef, value []string) (_err error)

type NetworkDefaultLockingMode

type NetworkDefaultLockingMode string
const (
	// Treat all VIFs on this network with locking_mode = 'default' as if they have locking_mode = 'unlocked'
	NetworkDefaultLockingModeUnlocked NetworkDefaultLockingMode = "unlocked"
	// Treat all VIFs on this network with locking_mode = 'default' as if they have locking_mode = 'disabled'
	NetworkDefaultLockingModeDisabled NetworkDefaultLockingMode = "disabled"
)

func NetworkClassGetDefaultLockingModeMockDefault

func NetworkClassGetDefaultLockingModeMockDefault(sessionID SessionRef, self NetworkRef) (_retval NetworkDefaultLockingMode, _err error)

type NetworkOperations

type NetworkOperations string
const (
	// Indicates this network is attaching to a VIF or PIF
	NetworkOperationsAttaching NetworkOperations = "attaching"
)

func NetworkClassGetAllowedOperationsMockDefault

func NetworkClassGetAllowedOperationsMockDefault(sessionID SessionRef, self NetworkRef) (_retval []NetworkOperations, _err error)

type NetworkPurpose

type NetworkPurpose string
const (
	// Network Block Device service using TLS
	NetworkPurposeNbd NetworkPurpose = "nbd"
	// Network Block Device service without integrity or confidentiality: NOT RECOMMENDED
	NetworkPurposeInsecureNbd NetworkPurpose = "insecure_nbd"
)

func NetworkClassGetPurposeMockDefault

func NetworkClassGetPurposeMockDefault(sessionID SessionRef, self NetworkRef) (_retval []NetworkPurpose, _err error)

type NetworkRecord

type NetworkRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []NetworkOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]NetworkOperations
	// list of connected vifs
	VIFs []VIFRef
	// list of connected pifs
	PIFs []PIFRef
	// MTU in octets
	MTU int
	// additional configuration
	OtherConfig map[string]string
	// name of the bridge corresponding to this network on the local host
	Bridge string
	// true if the bridge is managed by xapi
	Managed bool
	// Binary blobs associated with this network
	Blobs map[string]BlobRef
	// user-specified tags for categorization purposes
	Tags []string
	// The network will use this value to determine the behaviour of all VIFs where locking_mode = default
	DefaultLockingMode NetworkDefaultLockingMode
	// The IP addresses assigned to VIFs on networks that have active xapi-managed DHCP
	AssignedIps map[VIFRef]string
	// Set of purposes for which the server will use this network
	Purpose []NetworkPurpose
}

func NetworkClassGetRecordMockDefault

func NetworkClassGetRecordMockDefault(sessionID SessionRef, self NetworkRef) (_retval NetworkRecord, _err error)

type NetworkRef

type NetworkRef string

func NetworkClassCreateMockDefault

func NetworkClassCreateMockDefault(sessionID SessionRef, args NetworkRecord) (_retval NetworkRef, _err error)

func NetworkClassGetAllMockDefault

func NetworkClassGetAllMockDefault(sessionID SessionRef) (_retval []NetworkRef, _err error)

func NetworkClassGetByNameLabelMockDefault

func NetworkClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []NetworkRef, _err error)

func NetworkClassGetByUUIDMockDefault

func NetworkClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval NetworkRef, _err error)

func PIFClassGetNetworkMockDefault

func PIFClassGetNetworkMockDefault(sessionID SessionRef, self PIFRef) (_retval NetworkRef, _err error)

func VIFClassGetNetworkMockDefault

func VIFClassGetNetworkMockDefault(sessionID SessionRef, self VIFRef) (_retval NetworkRef, _err error)

type OnBoot

type OnBoot string
const (
	// When a VM containing this VDI is started, the contents of the VDI are reset to the state they were in when this flag was last set.
	OnBootReset OnBoot = "reset"
	// Standard behaviour.
	OnBootPersist OnBoot = "persist"
)

func VDIClassGetOnBootMockDefault

func VDIClassGetOnBootMockDefault(sessionID SessionRef, self VDIRef) (_retval OnBoot, _err error)

type OnCrashBehaviour

type OnCrashBehaviour string
const (
	// destroy the VM state
	OnCrashBehaviourDestroy OnCrashBehaviour = "destroy"
	// record a coredump and then destroy the VM state
	OnCrashBehaviourCoredumpAndDestroy OnCrashBehaviour = "coredump_and_destroy"
	// restart the VM
	OnCrashBehaviourRestart OnCrashBehaviour = "restart"
	// record a coredump and then restart the VM
	OnCrashBehaviourCoredumpAndRestart OnCrashBehaviour = "coredump_and_restart"
	// leave the crashed VM paused
	OnCrashBehaviourPreserve OnCrashBehaviour = "preserve"
	// rename the crashed VM and start a new copy
	OnCrashBehaviourRenameRestart OnCrashBehaviour = "rename_restart"
)

func VMClassGetActionsAfterCrashMockDefault

func VMClassGetActionsAfterCrashMockDefault(sessionID SessionRef, self VMRef) (_retval OnCrashBehaviour, _err error)

type OnNormalExit

type OnNormalExit string
const (
	// destroy the VM state
	OnNormalExitDestroy OnNormalExit = "destroy"
	// restart the VM
	OnNormalExitRestart OnNormalExit = "restart"
)

func VMClassGetActionsAfterRebootMockDefault

func VMClassGetActionsAfterRebootMockDefault(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

func VMClassGetActionsAfterShutdownMockDefault

func VMClassGetActionsAfterShutdownMockDefault(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

type PBDClass

type PBDClass struct {
	// contains filtered or unexported fields
}

The physical block devices through which hosts access SRs

func (PBDClass) AddToOtherConfig

func (_class PBDClass) AddToOtherConfig(sessionID SessionRef, self PBDRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PBD.

func (PBDClass) AddToOtherConfigMock

func (_class PBDClass) AddToOtherConfigMock(sessionID SessionRef, self PBDRef, key string, value string) (_err error)

func (PBDClass) Create

func (_class PBDClass) Create(sessionID SessionRef, args PBDRecord) (_retval PBDRef, _err error)

Create a new PBD instance, and return its handle. The constructor args are: host*, SR*, device_config*, other_config (* = non-optional).

func (PBDClass) CreateMock

func (_class PBDClass) CreateMock(sessionID SessionRef, args PBDRecord) (_retval PBDRef, _err error)

func (PBDClass) Destroy

func (_class PBDClass) Destroy(sessionID SessionRef, self PBDRef) (_err error)

Destroy the specified PBD instance.

func (PBDClass) DestroyMock

func (_class PBDClass) DestroyMock(sessionID SessionRef, self PBDRef) (_err error)

func (PBDClass) GetAll

func (_class PBDClass) GetAll(sessionID SessionRef) (_retval []PBDRef, _err error)

Return a list of all the PBDs known to the system.

func (PBDClass) GetAllMock

func (_class PBDClass) GetAllMock(sessionID SessionRef) (_retval []PBDRef, _err error)

func (PBDClass) GetAllRecords

func (_class PBDClass) GetAllRecords(sessionID SessionRef) (_retval map[PBDRef]PBDRecord, _err error)

Return a map of PBD references to PBD records for all PBDs known to the system.

func (PBDClass) GetAllRecordsMock

func (_class PBDClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PBDRef]PBDRecord, _err error)

func (PBDClass) GetByUUID

func (_class PBDClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PBDRef, _err error)

Get a reference to the PBD instance with the specified UUID.

func (PBDClass) GetByUUIDMock

func (_class PBDClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PBDRef, _err error)

func (PBDClass) GetCurrentlyAttached

func (_class PBDClass) GetCurrentlyAttached(sessionID SessionRef, self PBDRef) (_retval bool, _err error)

Get the currently_attached field of the given PBD.

func (PBDClass) GetCurrentlyAttachedMock

func (_class PBDClass) GetCurrentlyAttachedMock(sessionID SessionRef, self PBDRef) (_retval bool, _err error)

func (PBDClass) GetDeviceConfig

func (_class PBDClass) GetDeviceConfig(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

Get the device_config field of the given PBD.

func (PBDClass) GetDeviceConfigMock

func (_class PBDClass) GetDeviceConfigMock(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

func (PBDClass) GetHost

func (_class PBDClass) GetHost(sessionID SessionRef, self PBDRef) (_retval HostRef, _err error)

Get the host field of the given PBD.

func (PBDClass) GetHostMock

func (_class PBDClass) GetHostMock(sessionID SessionRef, self PBDRef) (_retval HostRef, _err error)

func (PBDClass) GetOtherConfig

func (_class PBDClass) GetOtherConfig(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

Get the other_config field of the given PBD.

func (PBDClass) GetOtherConfigMock

func (_class PBDClass) GetOtherConfigMock(sessionID SessionRef, self PBDRef) (_retval map[string]string, _err error)

func (PBDClass) GetRecord

func (_class PBDClass) GetRecord(sessionID SessionRef, self PBDRef) (_retval PBDRecord, _err error)

Get a record containing the current state of the given PBD.

func (PBDClass) GetRecordMock

func (_class PBDClass) GetRecordMock(sessionID SessionRef, self PBDRef) (_retval PBDRecord, _err error)

func (PBDClass) GetSR

func (_class PBDClass) GetSR(sessionID SessionRef, self PBDRef) (_retval SRRef, _err error)

Get the SR field of the given PBD.

func (PBDClass) GetSRMock

func (_class PBDClass) GetSRMock(sessionID SessionRef, self PBDRef) (_retval SRRef, _err error)

func (PBDClass) GetUUID

func (_class PBDClass) GetUUID(sessionID SessionRef, self PBDRef) (_retval string, _err error)

Get the uuid field of the given PBD.

func (PBDClass) GetUUIDMock

func (_class PBDClass) GetUUIDMock(sessionID SessionRef, self PBDRef) (_retval string, _err error)

func (PBDClass) Plug

func (_class PBDClass) Plug(sessionID SessionRef, self PBDRef) (_err error)

Activate the specified PBD, causing the referenced SR to be attached and scanned

Errors:

SR_UNKNOWN_DRIVER - The SR could not be connected because the driver was not recognised.

func (PBDClass) PlugMock

func (_class PBDClass) PlugMock(sessionID SessionRef, self PBDRef) (_err error)

func (PBDClass) RemoveFromOtherConfig

func (_class PBDClass) RemoveFromOtherConfig(sessionID SessionRef, self PBDRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PBD. If the key is not in that Map, then do nothing.

func (PBDClass) RemoveFromOtherConfigMock

func (_class PBDClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PBDRef, key string) (_err error)

func (PBDClass) SetDeviceConfig

func (_class PBDClass) SetDeviceConfig(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

Sets the PBD's device_config field

func (PBDClass) SetDeviceConfigMock

func (_class PBDClass) SetDeviceConfigMock(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

func (PBDClass) SetOtherConfig

func (_class PBDClass) SetOtherConfig(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

Set the other_config field of the given PBD.

func (PBDClass) SetOtherConfigMock

func (_class PBDClass) SetOtherConfigMock(sessionID SessionRef, self PBDRef, value map[string]string) (_err error)

func (PBDClass) Unplug

func (_class PBDClass) Unplug(sessionID SessionRef, self PBDRef) (_err error)

Deactivate the specified PBD, causing the referenced SR to be detached and nolonger scanned

func (PBDClass) UnplugMock

func (_class PBDClass) UnplugMock(sessionID SessionRef, self PBDRef) (_err error)

type PBDRecord

type PBDRecord struct {
	// Unique identifier/object reference
	UUID string
	// physical machine on which the pbd is available
	Host HostRef
	// the storage repository that the pbd realises
	SR SRRef
	// a config string to string map that is provided to the host's SR-backend-driver
	DeviceConfig map[string]string
	// is the SR currently attached on this host?
	CurrentlyAttached bool
	// additional configuration
	OtherConfig map[string]string
}

func PBDClassGetRecordMockDefault

func PBDClassGetRecordMockDefault(sessionID SessionRef, self PBDRef) (_retval PBDRecord, _err error)

type PBDRef

type PBDRef string

func HostClassGetPBDsMockDefault

func HostClassGetPBDsMockDefault(sessionID SessionRef, self HostRef) (_retval []PBDRef, _err error)

func PBDClassCreateMockDefault

func PBDClassCreateMockDefault(sessionID SessionRef, args PBDRecord) (_retval PBDRef, _err error)

func PBDClassGetAllMockDefault

func PBDClassGetAllMockDefault(sessionID SessionRef) (_retval []PBDRef, _err error)

func PBDClassGetByUUIDMockDefault

func PBDClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PBDRef, _err error)

func SRClassGetPBDsMockDefault

func SRClassGetPBDsMockDefault(sessionID SessionRef, self SRRef) (_retval []PBDRef, _err error)

type PCIClass

type PCIClass struct {
	// contains filtered or unexported fields
}

A PCI device

func (PCIClass) AddToOtherConfig

func (_class PCIClass) AddToOtherConfig(sessionID SessionRef, self PCIRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PCI.

func (PCIClass) AddToOtherConfigMock

func (_class PCIClass) AddToOtherConfigMock(sessionID SessionRef, self PCIRef, key string, value string) (_err error)

func (PCIClass) GetAll

func (_class PCIClass) GetAll(sessionID SessionRef) (_retval []PCIRef, _err error)

Return a list of all the PCIs known to the system.

func (PCIClass) GetAllMock

func (_class PCIClass) GetAllMock(sessionID SessionRef) (_retval []PCIRef, _err error)

func (PCIClass) GetAllRecords

func (_class PCIClass) GetAllRecords(sessionID SessionRef) (_retval map[PCIRef]PCIRecord, _err error)

Return a map of PCI references to PCI records for all PCIs known to the system.

func (PCIClass) GetAllRecordsMock

func (_class PCIClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PCIRef]PCIRecord, _err error)

func (PCIClass) GetByUUID

func (_class PCIClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PCIRef, _err error)

Get a reference to the PCI instance with the specified UUID.

func (PCIClass) GetByUUIDMock

func (_class PCIClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PCIRef, _err error)

func (PCIClass) GetClassName

func (_class PCIClass) GetClassName(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the class_name field of the given PCI.

func (PCIClass) GetClassNameMock

func (_class PCIClass) GetClassNameMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetDependencies

func (_class PCIClass) GetDependencies(sessionID SessionRef, self PCIRef) (_retval []PCIRef, _err error)

Get the dependencies field of the given PCI.

func (PCIClass) GetDependenciesMock

func (_class PCIClass) GetDependenciesMock(sessionID SessionRef, self PCIRef) (_retval []PCIRef, _err error)

func (PCIClass) GetDeviceName

func (_class PCIClass) GetDeviceName(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the device_name field of the given PCI.

func (PCIClass) GetDeviceNameMock

func (_class PCIClass) GetDeviceNameMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetHost

func (_class PCIClass) GetHost(sessionID SessionRef, self PCIRef) (_retval HostRef, _err error)

Get the host field of the given PCI.

func (PCIClass) GetHostMock

func (_class PCIClass) GetHostMock(sessionID SessionRef, self PCIRef) (_retval HostRef, _err error)

func (PCIClass) GetOtherConfig

func (_class PCIClass) GetOtherConfig(sessionID SessionRef, self PCIRef) (_retval map[string]string, _err error)

Get the other_config field of the given PCI.

func (PCIClass) GetOtherConfigMock

func (_class PCIClass) GetOtherConfigMock(sessionID SessionRef, self PCIRef) (_retval map[string]string, _err error)

func (PCIClass) GetPciID

func (_class PCIClass) GetPciID(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the pci_id field of the given PCI.

func (PCIClass) GetPciIDMock

func (_class PCIClass) GetPciIDMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetRecord

func (_class PCIClass) GetRecord(sessionID SessionRef, self PCIRef) (_retval PCIRecord, _err error)

Get a record containing the current state of the given PCI.

func (PCIClass) GetRecordMock

func (_class PCIClass) GetRecordMock(sessionID SessionRef, self PCIRef) (_retval PCIRecord, _err error)

func (PCIClass) GetSubsystemDeviceName

func (_class PCIClass) GetSubsystemDeviceName(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the subsystem_device_name field of the given PCI.

func (PCIClass) GetSubsystemDeviceNameMock

func (_class PCIClass) GetSubsystemDeviceNameMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetSubsystemVendorName

func (_class PCIClass) GetSubsystemVendorName(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the subsystem_vendor_name field of the given PCI.

func (PCIClass) GetSubsystemVendorNameMock

func (_class PCIClass) GetSubsystemVendorNameMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetUUID

func (_class PCIClass) GetUUID(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the uuid field of the given PCI.

func (PCIClass) GetUUIDMock

func (_class PCIClass) GetUUIDMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) GetVendorName

func (_class PCIClass) GetVendorName(sessionID SessionRef, self PCIRef) (_retval string, _err error)

Get the vendor_name field of the given PCI.

func (PCIClass) GetVendorNameMock

func (_class PCIClass) GetVendorNameMock(sessionID SessionRef, self PCIRef) (_retval string, _err error)

func (PCIClass) RemoveFromOtherConfig

func (_class PCIClass) RemoveFromOtherConfig(sessionID SessionRef, self PCIRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PCI. If the key is not in that Map, then do nothing.

func (PCIClass) RemoveFromOtherConfigMock

func (_class PCIClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PCIRef, key string) (_err error)

func (PCIClass) SetOtherConfig

func (_class PCIClass) SetOtherConfig(sessionID SessionRef, self PCIRef, value map[string]string) (_err error)

Set the other_config field of the given PCI.

func (PCIClass) SetOtherConfigMock

func (_class PCIClass) SetOtherConfigMock(sessionID SessionRef, self PCIRef, value map[string]string) (_err error)

type PCIRecord

type PCIRecord struct {
	// Unique identifier/object reference
	UUID string
	// PCI class name
	ClassName string
	// Vendor name
	VendorName string
	// Device name
	DeviceName string
	// Physical machine that owns the PCI device
	Host HostRef
	// PCI ID of the physical device
	PciID string
	// List of dependent PCI devices
	Dependencies []PCIRef
	// Additional configuration
	OtherConfig map[string]string
	// Subsystem vendor name
	SubsystemVendorName string
	// Subsystem device name
	SubsystemDeviceName string
}

func PCIClassGetRecordMockDefault

func PCIClassGetRecordMockDefault(sessionID SessionRef, self PCIRef) (_retval PCIRecord, _err error)

type PCIRef

type PCIRef string

func HostClassGetPCIsMockDefault

func HostClassGetPCIsMockDefault(sessionID SessionRef, self HostRef) (_retval []PCIRef, _err error)

func PCIClassGetAllMockDefault

func PCIClassGetAllMockDefault(sessionID SessionRef) (_retval []PCIRef, _err error)

func PCIClassGetByUUIDMockDefault

func PCIClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PCIRef, _err error)

func PCIClassGetDependenciesMockDefault

func PCIClassGetDependenciesMockDefault(sessionID SessionRef, self PCIRef) (_retval []PCIRef, _err error)

func PGPUClassGetPCIMockDefault

func PGPUClassGetPCIMockDefault(sessionID SessionRef, self PGPURef) (_retval PCIRef, _err error)

func VMClassGetAttachedPCIsMockDefault

func VMClassGetAttachedPCIsMockDefault(sessionID SessionRef, self VMRef) (_retval []PCIRef, _err error)

type PGPUClass

type PGPUClass struct {
	// contains filtered or unexported fields
}

A physical GPU (pGPU)

func (PGPUClass) AddEnabledVGPUTypes

func (_class PGPUClass) AddEnabledVGPUTypes(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func (PGPUClass) AddEnabledVGPUTypesMock

func (_class PGPUClass) AddEnabledVGPUTypesMock(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func (PGPUClass) AddToOtherConfig

func (_class PGPUClass) AddToOtherConfig(sessionID SessionRef, self PGPURef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PGPU.

func (PGPUClass) AddToOtherConfigMock

func (_class PGPUClass) AddToOtherConfigMock(sessionID SessionRef, self PGPURef, key string, value string) (_err error)

func (PGPUClass) DisableDom0Access

func (_class PGPUClass) DisableDom0Access(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func (PGPUClass) DisableDom0AccessMock

func (_class PGPUClass) DisableDom0AccessMock(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func (PGPUClass) EnableDom0Access

func (_class PGPUClass) EnableDom0Access(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func (PGPUClass) EnableDom0AccessMock

func (_class PGPUClass) EnableDom0AccessMock(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func (PGPUClass) GetAll

func (_class PGPUClass) GetAll(sessionID SessionRef) (_retval []PGPURef, _err error)

Return a list of all the PGPUs known to the system.

func (PGPUClass) GetAllMock

func (_class PGPUClass) GetAllMock(sessionID SessionRef) (_retval []PGPURef, _err error)

func (PGPUClass) GetAllRecords

func (_class PGPUClass) GetAllRecords(sessionID SessionRef) (_retval map[PGPURef]PGPURecord, _err error)

Return a map of PGPU references to PGPU records for all PGPUs known to the system.

func (PGPUClass) GetAllRecordsMock

func (_class PGPUClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PGPURef]PGPURecord, _err error)

func (PGPUClass) GetByUUID

func (_class PGPUClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PGPURef, _err error)

Get a reference to the PGPU instance with the specified UUID.

func (PGPUClass) GetByUUIDMock

func (_class PGPUClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PGPURef, _err error)

func (PGPUClass) GetCompatibilityMetadata

func (_class PGPUClass) GetCompatibilityMetadata(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

Get the compatibility_metadata field of the given PGPU.

func (PGPUClass) GetCompatibilityMetadataMock

func (_class PGPUClass) GetCompatibilityMetadataMock(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

func (PGPUClass) GetDom0Access

func (_class PGPUClass) GetDom0Access(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

Get the dom0_access field of the given PGPU.

func (PGPUClass) GetDom0AccessMock

func (_class PGPUClass) GetDom0AccessMock(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func (PGPUClass) GetEnabledVGPUTypes

func (_class PGPUClass) GetEnabledVGPUTypes(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

Get the enabled_VGPU_types field of the given PGPU.

func (PGPUClass) GetEnabledVGPUTypesMock

func (_class PGPUClass) GetEnabledVGPUTypesMock(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

func (PGPUClass) GetGPUGroup

func (_class PGPUClass) GetGPUGroup(sessionID SessionRef, self PGPURef) (_retval GPUGroupRef, _err error)

Get the GPU_group field of the given PGPU.

func (PGPUClass) GetGPUGroupMock

func (_class PGPUClass) GetGPUGroupMock(sessionID SessionRef, self PGPURef) (_retval GPUGroupRef, _err error)

func (PGPUClass) GetHost

func (_class PGPUClass) GetHost(sessionID SessionRef, self PGPURef) (_retval HostRef, _err error)

Get the host field of the given PGPU.

func (PGPUClass) GetHostMock

func (_class PGPUClass) GetHostMock(sessionID SessionRef, self PGPURef) (_retval HostRef, _err error)

func (PGPUClass) GetIsSystemDisplayDevice

func (_class PGPUClass) GetIsSystemDisplayDevice(sessionID SessionRef, self PGPURef) (_retval bool, _err error)

Get the is_system_display_device field of the given PGPU.

func (PGPUClass) GetIsSystemDisplayDeviceMock

func (_class PGPUClass) GetIsSystemDisplayDeviceMock(sessionID SessionRef, self PGPURef) (_retval bool, _err error)

func (PGPUClass) GetOtherConfig

func (_class PGPUClass) GetOtherConfig(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

Get the other_config field of the given PGPU.

func (PGPUClass) GetOtherConfigMock

func (_class PGPUClass) GetOtherConfigMock(sessionID SessionRef, self PGPURef) (_retval map[string]string, _err error)

func (PGPUClass) GetPCI

func (_class PGPUClass) GetPCI(sessionID SessionRef, self PGPURef) (_retval PCIRef, _err error)

Get the PCI field of the given PGPU.

func (PGPUClass) GetPCIMock

func (_class PGPUClass) GetPCIMock(sessionID SessionRef, self PGPURef) (_retval PCIRef, _err error)

func (PGPUClass) GetRecord

func (_class PGPUClass) GetRecord(sessionID SessionRef, self PGPURef) (_retval PGPURecord, _err error)

Get a record containing the current state of the given PGPU.

func (PGPUClass) GetRecordMock

func (_class PGPUClass) GetRecordMock(sessionID SessionRef, self PGPURef) (_retval PGPURecord, _err error)

func (PGPUClass) GetRemainingCapacity

func (_class PGPUClass) GetRemainingCapacity(sessionID SessionRef, self PGPURef, vgpuType VGPUTypeRef) (_retval int, _err error)

func (PGPUClass) GetRemainingCapacityMock

func (_class PGPUClass) GetRemainingCapacityMock(sessionID SessionRef, self PGPURef, vgpuType VGPUTypeRef) (_retval int, _err error)

func (PGPUClass) GetResidentVGPUs

func (_class PGPUClass) GetResidentVGPUs(sessionID SessionRef, self PGPURef) (_retval []VGPURef, _err error)

Get the resident_VGPUs field of the given PGPU.

func (PGPUClass) GetResidentVGPUsMock

func (_class PGPUClass) GetResidentVGPUsMock(sessionID SessionRef, self PGPURef) (_retval []VGPURef, _err error)

func (PGPUClass) GetSupportedVGPUMaxCapacities

func (_class PGPUClass) GetSupportedVGPUMaxCapacities(sessionID SessionRef, self PGPURef) (_retval map[VGPUTypeRef]int, _err error)

Get the supported_VGPU_max_capacities field of the given PGPU.

func (PGPUClass) GetSupportedVGPUMaxCapacitiesMock

func (_class PGPUClass) GetSupportedVGPUMaxCapacitiesMock(sessionID SessionRef, self PGPURef) (_retval map[VGPUTypeRef]int, _err error)

func (PGPUClass) GetSupportedVGPUTypes

func (_class PGPUClass) GetSupportedVGPUTypes(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

Get the supported_VGPU_types field of the given PGPU.

func (PGPUClass) GetSupportedVGPUTypesMock

func (_class PGPUClass) GetSupportedVGPUTypesMock(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

func (PGPUClass) GetUUID

func (_class PGPUClass) GetUUID(sessionID SessionRef, self PGPURef) (_retval string, _err error)

Get the uuid field of the given PGPU.

func (PGPUClass) GetUUIDMock

func (_class PGPUClass) GetUUIDMock(sessionID SessionRef, self PGPURef) (_retval string, _err error)

func (PGPUClass) RemoveEnabledVGPUTypes

func (_class PGPUClass) RemoveEnabledVGPUTypes(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func (PGPUClass) RemoveEnabledVGPUTypesMock

func (_class PGPUClass) RemoveEnabledVGPUTypesMock(sessionID SessionRef, self PGPURef, value VGPUTypeRef) (_err error)

func (PGPUClass) RemoveFromOtherConfig

func (_class PGPUClass) RemoveFromOtherConfig(sessionID SessionRef, self PGPURef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PGPU. If the key is not in that Map, then do nothing.

func (PGPUClass) RemoveFromOtherConfigMock

func (_class PGPUClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PGPURef, key string) (_err error)

func (PGPUClass) SetEnabledVGPUTypes

func (_class PGPUClass) SetEnabledVGPUTypes(sessionID SessionRef, self PGPURef, value []VGPUTypeRef) (_err error)

func (PGPUClass) SetEnabledVGPUTypesMock

func (_class PGPUClass) SetEnabledVGPUTypesMock(sessionID SessionRef, self PGPURef, value []VGPUTypeRef) (_err error)

func (PGPUClass) SetGPUGroup

func (_class PGPUClass) SetGPUGroup(sessionID SessionRef, self PGPURef, value GPUGroupRef) (_err error)

func (PGPUClass) SetGPUGroupMock

func (_class PGPUClass) SetGPUGroupMock(sessionID SessionRef, self PGPURef, value GPUGroupRef) (_err error)

func (PGPUClass) SetOtherConfig

func (_class PGPUClass) SetOtherConfig(sessionID SessionRef, self PGPURef, value map[string]string) (_err error)

Set the other_config field of the given PGPU.

func (PGPUClass) SetOtherConfigMock

func (_class PGPUClass) SetOtherConfigMock(sessionID SessionRef, self PGPURef, value map[string]string) (_err error)

type PGPURecord

type PGPURecord struct {
	// Unique identifier/object reference
	UUID string
	// Link to underlying PCI device
	PCI PCIRef
	// GPU group the pGPU is contained in
	GPUGroup GPUGroupRef
	// Host that owns the GPU
	Host HostRef
	// Additional configuration
	OtherConfig map[string]string
	// List of VGPU types supported by the underlying hardware
	SupportedVGPUTypes []VGPUTypeRef
	// List of VGPU types which have been enabled for this PGPU
	EnabledVGPUTypes []VGPUTypeRef
	// List of VGPUs running on this PGPU
	ResidentVGPUs []VGPURef
	// A map relating each VGPU type supported on this GPU to the maximum number of VGPUs of that type which can run simultaneously on this GPU
	SupportedVGPUMaxCapacities map[VGPUTypeRef]int
	// The accessibility of this device from dom0
	Dom0Access PgpuDom0Access
	// Is this device the system display device
	IsSystemDisplayDevice bool
	// PGPU metadata to determine whether a VGPU can migrate between two PGPUs
	CompatibilityMetadata map[string]string
}

func PGPUClassGetRecordMockDefault

func PGPUClassGetRecordMockDefault(sessionID SessionRef, self PGPURef) (_retval PGPURecord, _err error)

type PGPURef

type PGPURef string

func GPUGroupClassGetPGPUsMockDefault

func GPUGroupClassGetPGPUsMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval []PGPURef, _err error)

func HostClassGetPGPUsMockDefault

func HostClassGetPGPUsMockDefault(sessionID SessionRef, self HostRef) (_retval []PGPURef, _err error)

func PGPUClassGetAllMockDefault

func PGPUClassGetAllMockDefault(sessionID SessionRef) (_retval []PGPURef, _err error)

func PGPUClassGetByUUIDMockDefault

func PGPUClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PGPURef, _err error)

func VGPUClassGetResidentOnMockDefault

func VGPUClassGetResidentOnMockDefault(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

func VGPUClassGetScheduledToBeResidentOnMockDefault

func VGPUClassGetScheduledToBeResidentOnMockDefault(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

func VGPUTypeClassGetEnabledOnPGPUsMockDefault

func VGPUTypeClassGetEnabledOnPGPUsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

func VGPUTypeClassGetSupportedOnPGPUsMockDefault

func VGPUTypeClassGetSupportedOnPGPUsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

type PIFClass

type PIFClass struct {
	// contains filtered or unexported fields
}

A physical network interface (note separate VLANs are represented as several PIFs)

func (PIFClass) AddToOtherConfig

func (_class PIFClass) AddToOtherConfig(sessionID SessionRef, self PIFRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PIF.

func (PIFClass) AddToOtherConfigMock

func (_class PIFClass) AddToOtherConfigMock(sessionID SessionRef, self PIFRef, key string, value string) (_err error)

func (PIFClass) CreateVLAN

func (_class PIFClass) CreateVLAN(sessionID SessionRef, device string, network NetworkRef, host HostRef, vlan int) (_retval PIFRef, _err error)

Create a VLAN interface from an existing physical interface. This call is deprecated: use VLAN.create instead

Errors:

VLAN_TAG_INVALID - You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094.  The parameter echoes the VLAN tag you gave.

func (PIFClass) CreateVLANMock

func (_class PIFClass) CreateVLANMock(sessionID SessionRef, device string, network NetworkRef, host HostRef, vlan int) (_retval PIFRef, _err error)

func (PIFClass) DbForget

func (_class PIFClass) DbForget(sessionID SessionRef, self PIFRef) (_err error)

Destroy a PIF database record.

func (PIFClass) DbForgetMock

func (_class PIFClass) DbForgetMock(sessionID SessionRef, self PIFRef) (_err error)

func (PIFClass) DbIntroduce

func (_class PIFClass) DbIntroduce(sessionID SessionRef, device string, network NetworkRef, host HostRef, mac string, mtu int, vlan int, physical bool, ipConfigurationMode IPConfigurationMode, ip string, netmask string, gateway string, dns string, bondSlaveOf BondRef, vlanMasterOf VLANRef, management bool, otherConfig map[string]string, disallowUnplug bool, ipv6ConfigurationMode Ipv6ConfigurationMode, ipv6 []string, ipv6Gateway string, primaryAddressType PrimaryAddressType, managed bool, properties map[string]string) (_retval PIFRef, _err error)

Create a new PIF record in the database only

func (PIFClass) DbIntroduceMock

func (_class PIFClass) DbIntroduceMock(sessionID SessionRef, device string, network NetworkRef, host HostRef, mac string, mtu int, vlan int, physical bool, ipConfigurationMode IPConfigurationMode, ip string, netmask string, gateway string, dns string, bondSlaveOf BondRef, vlanMasterOf VLANRef, management bool, otherConfig map[string]string, disallowUnplug bool, ipv6ConfigurationMode Ipv6ConfigurationMode, ipv6 []string, ipv6Gateway string, primaryAddressType PrimaryAddressType, managed bool, properties map[string]string) (_retval PIFRef, _err error)

func (PIFClass) Destroy

func (_class PIFClass) Destroy(sessionID SessionRef, self PIFRef) (_err error)

Destroy the PIF object (provided it is a VLAN interface). This call is deprecated: use VLAN.destroy or Bond.destroy instead

Errors:

PIF_IS_PHYSICAL - You tried to destroy a PIF, but it represents an aspect of the physical host configuration, and so cannot be destroyed.  The parameter echoes the PIF handle you gave.

func (PIFClass) DestroyMock

func (_class PIFClass) DestroyMock(sessionID SessionRef, self PIFRef) (_err error)

func (PIFClass) Forget

func (_class PIFClass) Forget(sessionID SessionRef, self PIFRef) (_err error)

Destroy the PIF object matching a particular network interface

Errors:

PIF_TUNNEL_STILL_EXISTS - Operation cannot proceed while a tunnel exists on this interface.

func (PIFClass) ForgetMock

func (_class PIFClass) ForgetMock(sessionID SessionRef, self PIFRef) (_err error)

func (PIFClass) GetAll

func (_class PIFClass) GetAll(sessionID SessionRef) (_retval []PIFRef, _err error)

Return a list of all the PIFs known to the system.

func (PIFClass) GetAllMock

func (_class PIFClass) GetAllMock(sessionID SessionRef) (_retval []PIFRef, _err error)

func (PIFClass) GetAllRecords

func (_class PIFClass) GetAllRecords(sessionID SessionRef) (_retval map[PIFRef]PIFRecord, _err error)

Return a map of PIF references to PIF records for all PIFs known to the system.

func (PIFClass) GetAllRecordsMock

func (_class PIFClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PIFRef]PIFRecord, _err error)

func (PIFClass) GetBondMasterOf

func (_class PIFClass) GetBondMasterOf(sessionID SessionRef, self PIFRef) (_retval []BondRef, _err error)

Get the bond_master_of field of the given PIF.

func (PIFClass) GetBondMasterOfMock

func (_class PIFClass) GetBondMasterOfMock(sessionID SessionRef, self PIFRef) (_retval []BondRef, _err error)

func (PIFClass) GetBondSlaveOf

func (_class PIFClass) GetBondSlaveOf(sessionID SessionRef, self PIFRef) (_retval BondRef, _err error)

Get the bond_slave_of field of the given PIF.

func (PIFClass) GetBondSlaveOfMock

func (_class PIFClass) GetBondSlaveOfMock(sessionID SessionRef, self PIFRef) (_retval BondRef, _err error)

func (PIFClass) GetByUUID

func (_class PIFClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PIFRef, _err error)

Get a reference to the PIF instance with the specified UUID.

func (PIFClass) GetByUUIDMock

func (_class PIFClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PIFRef, _err error)

func (PIFClass) GetCapabilities

func (_class PIFClass) GetCapabilities(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

Get the capabilities field of the given PIF.

func (PIFClass) GetCapabilitiesMock

func (_class PIFClass) GetCapabilitiesMock(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

func (PIFClass) GetCurrentlyAttached

func (_class PIFClass) GetCurrentlyAttached(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

Get the currently_attached field of the given PIF.

func (PIFClass) GetCurrentlyAttachedMock

func (_class PIFClass) GetCurrentlyAttachedMock(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func (PIFClass) GetDNS

func (_class PIFClass) GetDNS(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the DNS field of the given PIF.

func (PIFClass) GetDNSMock

func (_class PIFClass) GetDNSMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetDevice

func (_class PIFClass) GetDevice(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the device field of the given PIF.

func (PIFClass) GetDeviceMock

func (_class PIFClass) GetDeviceMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetDisallowUnplug

func (_class PIFClass) GetDisallowUnplug(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

Get the disallow_unplug field of the given PIF.

func (PIFClass) GetDisallowUnplugMock

func (_class PIFClass) GetDisallowUnplugMock(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func (PIFClass) GetGateway

func (_class PIFClass) GetGateway(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the gateway field of the given PIF.

func (PIFClass) GetGatewayMock

func (_class PIFClass) GetGatewayMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetHost

func (_class PIFClass) GetHost(sessionID SessionRef, self PIFRef) (_retval HostRef, _err error)

Get the host field of the given PIF.

func (PIFClass) GetHostMock

func (_class PIFClass) GetHostMock(sessionID SessionRef, self PIFRef) (_retval HostRef, _err error)

func (PIFClass) GetIP

func (_class PIFClass) GetIP(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the IP field of the given PIF.

func (PIFClass) GetIPConfigurationMode

func (_class PIFClass) GetIPConfigurationMode(sessionID SessionRef, self PIFRef) (_retval IPConfigurationMode, _err error)

Get the ip_configuration_mode field of the given PIF.

func (PIFClass) GetIPConfigurationModeMock

func (_class PIFClass) GetIPConfigurationModeMock(sessionID SessionRef, self PIFRef) (_retval IPConfigurationMode, _err error)

func (PIFClass) GetIPMock

func (_class PIFClass) GetIPMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetIPv6

func (_class PIFClass) GetIPv6(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

Get the IPv6 field of the given PIF.

func (PIFClass) GetIPv6Mock

func (_class PIFClass) GetIPv6Mock(sessionID SessionRef, self PIFRef) (_retval []string, _err error)

func (PIFClass) GetIgmpSnoopingStatus

func (_class PIFClass) GetIgmpSnoopingStatus(sessionID SessionRef, self PIFRef) (_retval PifIgmpStatus, _err error)

Get the igmp_snooping_status field of the given PIF.

func (PIFClass) GetIgmpSnoopingStatusMock

func (_class PIFClass) GetIgmpSnoopingStatusMock(sessionID SessionRef, self PIFRef) (_retval PifIgmpStatus, _err error)

func (PIFClass) GetIpv6ConfigurationMode

func (_class PIFClass) GetIpv6ConfigurationMode(sessionID SessionRef, self PIFRef) (_retval Ipv6ConfigurationMode, _err error)

Get the ipv6_configuration_mode field of the given PIF.

func (PIFClass) GetIpv6ConfigurationModeMock

func (_class PIFClass) GetIpv6ConfigurationModeMock(sessionID SessionRef, self PIFRef) (_retval Ipv6ConfigurationMode, _err error)

func (PIFClass) GetIpv6Gateway

func (_class PIFClass) GetIpv6Gateway(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the ipv6_gateway field of the given PIF.

func (PIFClass) GetIpv6GatewayMock

func (_class PIFClass) GetIpv6GatewayMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetMAC

func (_class PIFClass) GetMAC(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the MAC field of the given PIF.

func (PIFClass) GetMACMock

func (_class PIFClass) GetMACMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetMTU

func (_class PIFClass) GetMTU(sessionID SessionRef, self PIFRef) (_retval int, _err error)

Get the MTU field of the given PIF.

func (PIFClass) GetMTUMock

func (_class PIFClass) GetMTUMock(sessionID SessionRef, self PIFRef) (_retval int, _err error)

func (PIFClass) GetManaged

func (_class PIFClass) GetManaged(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

Get the managed field of the given PIF.

func (PIFClass) GetManagedMock

func (_class PIFClass) GetManagedMock(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func (PIFClass) GetManagement

func (_class PIFClass) GetManagement(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

Get the management field of the given PIF.

func (PIFClass) GetManagementMock

func (_class PIFClass) GetManagementMock(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func (PIFClass) GetMetrics

func (_class PIFClass) GetMetrics(sessionID SessionRef, self PIFRef) (_retval PIFMetricsRef, _err error)

Get the metrics field of the given PIF.

func (PIFClass) GetMetricsMock

func (_class PIFClass) GetMetricsMock(sessionID SessionRef, self PIFRef) (_retval PIFMetricsRef, _err error)

func (PIFClass) GetNetmask

func (_class PIFClass) GetNetmask(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the netmask field of the given PIF.

func (PIFClass) GetNetmaskMock

func (_class PIFClass) GetNetmaskMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetNetwork

func (_class PIFClass) GetNetwork(sessionID SessionRef, self PIFRef) (_retval NetworkRef, _err error)

Get the network field of the given PIF.

func (PIFClass) GetNetworkMock

func (_class PIFClass) GetNetworkMock(sessionID SessionRef, self PIFRef) (_retval NetworkRef, _err error)

func (PIFClass) GetOtherConfig

func (_class PIFClass) GetOtherConfig(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

Get the other_config field of the given PIF.

func (PIFClass) GetOtherConfigMock

func (_class PIFClass) GetOtherConfigMock(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

func (PIFClass) GetPhysical

func (_class PIFClass) GetPhysical(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

Get the physical field of the given PIF.

func (PIFClass) GetPhysicalMock

func (_class PIFClass) GetPhysicalMock(sessionID SessionRef, self PIFRef) (_retval bool, _err error)

func (PIFClass) GetPrimaryAddressType

func (_class PIFClass) GetPrimaryAddressType(sessionID SessionRef, self PIFRef) (_retval PrimaryAddressType, _err error)

Get the primary_address_type field of the given PIF.

func (PIFClass) GetPrimaryAddressTypeMock

func (_class PIFClass) GetPrimaryAddressTypeMock(sessionID SessionRef, self PIFRef) (_retval PrimaryAddressType, _err error)

func (PIFClass) GetProperties

func (_class PIFClass) GetProperties(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

Get the properties field of the given PIF.

func (PIFClass) GetPropertiesMock

func (_class PIFClass) GetPropertiesMock(sessionID SessionRef, self PIFRef) (_retval map[string]string, _err error)

func (PIFClass) GetRecord

func (_class PIFClass) GetRecord(sessionID SessionRef, self PIFRef) (_retval PIFRecord, _err error)

Get a record containing the current state of the given PIF.

func (PIFClass) GetRecordMock

func (_class PIFClass) GetRecordMock(sessionID SessionRef, self PIFRef) (_retval PIFRecord, _err error)

func (PIFClass) GetTunnelAccessPIFOf

func (_class PIFClass) GetTunnelAccessPIFOf(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

Get the tunnel_access_PIF_of field of the given PIF.

func (PIFClass) GetTunnelAccessPIFOfMock

func (_class PIFClass) GetTunnelAccessPIFOfMock(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

func (PIFClass) GetTunnelTransportPIFOf

func (_class PIFClass) GetTunnelTransportPIFOf(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

Get the tunnel_transport_PIF_of field of the given PIF.

func (PIFClass) GetTunnelTransportPIFOfMock

func (_class PIFClass) GetTunnelTransportPIFOfMock(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

func (PIFClass) GetUUID

func (_class PIFClass) GetUUID(sessionID SessionRef, self PIFRef) (_retval string, _err error)

Get the uuid field of the given PIF.

func (PIFClass) GetUUIDMock

func (_class PIFClass) GetUUIDMock(sessionID SessionRef, self PIFRef) (_retval string, _err error)

func (PIFClass) GetVLAN

func (_class PIFClass) GetVLAN(sessionID SessionRef, self PIFRef) (_retval int, _err error)

Get the VLAN field of the given PIF.

func (PIFClass) GetVLANMasterOf

func (_class PIFClass) GetVLANMasterOf(sessionID SessionRef, self PIFRef) (_retval VLANRef, _err error)

Get the VLAN_master_of field of the given PIF.

func (PIFClass) GetVLANMasterOfMock

func (_class PIFClass) GetVLANMasterOfMock(sessionID SessionRef, self PIFRef) (_retval VLANRef, _err error)

func (PIFClass) GetVLANMock

func (_class PIFClass) GetVLANMock(sessionID SessionRef, self PIFRef) (_retval int, _err error)

func (PIFClass) GetVLANSlaveOf

func (_class PIFClass) GetVLANSlaveOf(sessionID SessionRef, self PIFRef) (_retval []VLANRef, _err error)

Get the VLAN_slave_of field of the given PIF.

func (PIFClass) GetVLANSlaveOfMock

func (_class PIFClass) GetVLANSlaveOfMock(sessionID SessionRef, self PIFRef) (_retval []VLANRef, _err error)

func (PIFClass) Introduce

func (_class PIFClass) Introduce(sessionID SessionRef, host HostRef, mac string, device string, managed bool) (_retval PIFRef, _err error)

Create a PIF object matching a particular network interface

func (PIFClass) IntroduceMock

func (_class PIFClass) IntroduceMock(sessionID SessionRef, host HostRef, mac string, device string, managed bool) (_retval PIFRef, _err error)

func (PIFClass) Plug

func (_class PIFClass) Plug(sessionID SessionRef, self PIFRef) (_err error)

Attempt to bring up a physical interface

Errors:

TRANSPORT_PIF_NOT_CONFIGURED - The tunnel transport PIF has no IP configuration set.

func (PIFClass) PlugMock

func (_class PIFClass) PlugMock(sessionID SessionRef, self PIFRef) (_err error)

func (PIFClass) ReconfigureIP

func (_class PIFClass) ReconfigureIP(sessionID SessionRef, self PIFRef, mode IPConfigurationMode, ip string, netmask string, gateway string, dns string) (_err error)

Reconfigure the IP address settings for this interface

func (PIFClass) ReconfigureIPMock

func (_class PIFClass) ReconfigureIPMock(sessionID SessionRef, self PIFRef, mode IPConfigurationMode, ip string, netmask string, gateway string, dns string) (_err error)

func (PIFClass) ReconfigureIpv6

func (_class PIFClass) ReconfigureIpv6(sessionID SessionRef, self PIFRef, mode Ipv6ConfigurationMode, ipv6 string, gateway string, dns string) (_err error)

Reconfigure the IPv6 address settings for this interface

func (PIFClass) ReconfigureIpv6Mock

func (_class PIFClass) ReconfigureIpv6Mock(sessionID SessionRef, self PIFRef, mode Ipv6ConfigurationMode, ipv6 string, gateway string, dns string) (_err error)

func (PIFClass) RemoveFromOtherConfig

func (_class PIFClass) RemoveFromOtherConfig(sessionID SessionRef, self PIFRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PIF. If the key is not in that Map, then do nothing.

func (PIFClass) RemoveFromOtherConfigMock

func (_class PIFClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PIFRef, key string) (_err error)

func (PIFClass) Scan

func (_class PIFClass) Scan(sessionID SessionRef, host HostRef) (_err error)

Scan for physical interfaces on a host and create PIF objects to represent them

func (PIFClass) ScanMock

func (_class PIFClass) ScanMock(sessionID SessionRef, host HostRef) (_err error)

func (PIFClass) SetDisallowUnplug

func (_class PIFClass) SetDisallowUnplug(sessionID SessionRef, self PIFRef, value bool) (_err error)

Set the disallow_unplug field of the given PIF.

func (PIFClass) SetDisallowUnplugMock

func (_class PIFClass) SetDisallowUnplugMock(sessionID SessionRef, self PIFRef, value bool) (_err error)

func (PIFClass) SetOtherConfig

func (_class PIFClass) SetOtherConfig(sessionID SessionRef, self PIFRef, value map[string]string) (_err error)

Set the other_config field of the given PIF.

func (PIFClass) SetOtherConfigMock

func (_class PIFClass) SetOtherConfigMock(sessionID SessionRef, self PIFRef, value map[string]string) (_err error)

func (PIFClass) SetPrimaryAddressType

func (_class PIFClass) SetPrimaryAddressType(sessionID SessionRef, self PIFRef, primaryAddressType PrimaryAddressType) (_err error)

Change the primary address type used by this PIF

func (PIFClass) SetPrimaryAddressTypeMock

func (_class PIFClass) SetPrimaryAddressTypeMock(sessionID SessionRef, self PIFRef, primaryAddressType PrimaryAddressType) (_err error)

func (PIFClass) SetProperty

func (_class PIFClass) SetProperty(sessionID SessionRef, self PIFRef, name string, value string) (_err error)

Set the value of a property of the PIF

func (PIFClass) SetPropertyMock

func (_class PIFClass) SetPropertyMock(sessionID SessionRef, self PIFRef, name string, value string) (_err error)

func (PIFClass) Unplug

func (_class PIFClass) Unplug(sessionID SessionRef, self PIFRef) (_err error)

Attempt to bring down a physical interface

Errors:

HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN - This operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.
VIF_IN_USE - Network has active VIFs
PIF_DOES_NOT_ALLOW_UNPLUG - The operation you requested cannot be performed because the specified PIF does not allow unplug.
PIF_HAS_FCOE_SR_IN_USE - The operation you requested cannot be performed because the specified PIF has FCoE SR in use.

func (PIFClass) UnplugMock

func (_class PIFClass) UnplugMock(sessionID SessionRef, self PIFRef) (_err error)

type PIFMetricsClass

type PIFMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics associated with a physical network interface

func (PIFMetricsClass) AddToOtherConfig

func (_class PIFMetricsClass) AddToOtherConfig(sessionID SessionRef, self PIFMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PIF_metrics.

func (PIFMetricsClass) AddToOtherConfigMock

func (_class PIFMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self PIFMetricsRef, key string, value string) (_err error)

func (PIFMetricsClass) GetAll

func (_class PIFMetricsClass) GetAll(sessionID SessionRef) (_retval []PIFMetricsRef, _err error)

Return a list of all the PIF_metrics instances known to the system.

func (PIFMetricsClass) GetAllMock

func (_class PIFMetricsClass) GetAllMock(sessionID SessionRef) (_retval []PIFMetricsRef, _err error)

func (PIFMetricsClass) GetAllRecords

func (_class PIFMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[PIFMetricsRef]PIFMetricsRecord, _err error)

Return a map of PIF_metrics references to PIF_metrics records for all PIF_metrics instances known to the system.

func (PIFMetricsClass) GetAllRecordsMock

func (_class PIFMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PIFMetricsRef]PIFMetricsRecord, _err error)

func (PIFMetricsClass) GetByUUID

func (_class PIFMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PIFMetricsRef, _err error)

Get a reference to the PIF_metrics instance with the specified UUID.

func (PIFMetricsClass) GetByUUIDMock

func (_class PIFMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PIFMetricsRef, _err error)

func (PIFMetricsClass) GetCarrier

func (_class PIFMetricsClass) GetCarrier(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

Get the carrier field of the given PIF_metrics.

func (PIFMetricsClass) GetCarrierMock

func (_class PIFMetricsClass) GetCarrierMock(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

func (PIFMetricsClass) GetDeviceID

func (_class PIFMetricsClass) GetDeviceID(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the device_id field of the given PIF_metrics.

func (PIFMetricsClass) GetDeviceIDMock

func (_class PIFMetricsClass) GetDeviceIDMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) GetDeviceName

func (_class PIFMetricsClass) GetDeviceName(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the device_name field of the given PIF_metrics.

func (PIFMetricsClass) GetDeviceNameMock

func (_class PIFMetricsClass) GetDeviceNameMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) GetDuplex

func (_class PIFMetricsClass) GetDuplex(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

Get the duplex field of the given PIF_metrics.

func (PIFMetricsClass) GetDuplexMock

func (_class PIFMetricsClass) GetDuplexMock(sessionID SessionRef, self PIFMetricsRef) (_retval bool, _err error)

func (PIFMetricsClass) GetIoReadKbs

func (_class PIFMetricsClass) GetIoReadKbs(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

Get the io/read_kbs field of the given PIF_metrics.

func (PIFMetricsClass) GetIoReadKbsMock

func (_class PIFMetricsClass) GetIoReadKbsMock(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

func (PIFMetricsClass) GetIoWriteKbs

func (_class PIFMetricsClass) GetIoWriteKbs(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

Get the io/write_kbs field of the given PIF_metrics.

func (PIFMetricsClass) GetIoWriteKbsMock

func (_class PIFMetricsClass) GetIoWriteKbsMock(sessionID SessionRef, self PIFMetricsRef) (_retval float64, _err error)

func (PIFMetricsClass) GetLastUpdated

func (_class PIFMetricsClass) GetLastUpdated(sessionID SessionRef, self PIFMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given PIF_metrics.

func (PIFMetricsClass) GetLastUpdatedMock

func (_class PIFMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self PIFMetricsRef) (_retval time.Time, _err error)

func (PIFMetricsClass) GetOtherConfig

func (_class PIFMetricsClass) GetOtherConfig(sessionID SessionRef, self PIFMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given PIF_metrics.

func (PIFMetricsClass) GetOtherConfigMock

func (_class PIFMetricsClass) GetOtherConfigMock(sessionID SessionRef, self PIFMetricsRef) (_retval map[string]string, _err error)

func (PIFMetricsClass) GetPciBusPath

func (_class PIFMetricsClass) GetPciBusPath(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the pci_bus_path field of the given PIF_metrics.

func (PIFMetricsClass) GetPciBusPathMock

func (_class PIFMetricsClass) GetPciBusPathMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) GetRecord

func (_class PIFMetricsClass) GetRecord(sessionID SessionRef, self PIFMetricsRef) (_retval PIFMetricsRecord, _err error)

Get a record containing the current state of the given PIF_metrics.

func (PIFMetricsClass) GetRecordMock

func (_class PIFMetricsClass) GetRecordMock(sessionID SessionRef, self PIFMetricsRef) (_retval PIFMetricsRecord, _err error)

func (PIFMetricsClass) GetSpeed

func (_class PIFMetricsClass) GetSpeed(sessionID SessionRef, self PIFMetricsRef) (_retval int, _err error)

Get the speed field of the given PIF_metrics.

func (PIFMetricsClass) GetSpeedMock

func (_class PIFMetricsClass) GetSpeedMock(sessionID SessionRef, self PIFMetricsRef) (_retval int, _err error)

func (PIFMetricsClass) GetUUID

func (_class PIFMetricsClass) GetUUID(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the uuid field of the given PIF_metrics.

func (PIFMetricsClass) GetUUIDMock

func (_class PIFMetricsClass) GetUUIDMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) GetVendorID

func (_class PIFMetricsClass) GetVendorID(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the vendor_id field of the given PIF_metrics.

func (PIFMetricsClass) GetVendorIDMock

func (_class PIFMetricsClass) GetVendorIDMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) GetVendorName

func (_class PIFMetricsClass) GetVendorName(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

Get the vendor_name field of the given PIF_metrics.

func (PIFMetricsClass) GetVendorNameMock

func (_class PIFMetricsClass) GetVendorNameMock(sessionID SessionRef, self PIFMetricsRef) (_retval string, _err error)

func (PIFMetricsClass) RemoveFromOtherConfig

func (_class PIFMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self PIFMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PIF_metrics. If the key is not in that Map, then do nothing.

func (PIFMetricsClass) RemoveFromOtherConfigMock

func (_class PIFMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PIFMetricsRef, key string) (_err error)

func (PIFMetricsClass) SetOtherConfig

func (_class PIFMetricsClass) SetOtherConfig(sessionID SessionRef, self PIFMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given PIF_metrics.

func (PIFMetricsClass) SetOtherConfigMock

func (_class PIFMetricsClass) SetOtherConfigMock(sessionID SessionRef, self PIFMetricsRef, value map[string]string) (_err error)

type PIFMetricsRecord

type PIFMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// Read bandwidth (KiB/s)
	IoReadKbs float64
	// Write bandwidth (KiB/s)
	IoWriteKbs float64
	// Report if the PIF got a carrier or not
	Carrier bool
	// Report vendor ID
	VendorID string
	// Report vendor name
	VendorName string
	// Report device ID
	DeviceID string
	// Report device name
	DeviceName string
	// Speed of the link (if available)
	Speed int
	// Full duplex capability of the link (if available)
	Duplex bool
	// PCI bus path of the pif (if available)
	PciBusPath string
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
}

func PIFMetricsClassGetRecordMockDefault

func PIFMetricsClassGetRecordMockDefault(sessionID SessionRef, self PIFMetricsRef) (_retval PIFMetricsRecord, _err error)

type PIFMetricsRef

type PIFMetricsRef string

func PIFClassGetMetricsMockDefault

func PIFClassGetMetricsMockDefault(sessionID SessionRef, self PIFRef) (_retval PIFMetricsRef, _err error)

func PIFMetricsClassGetAllMockDefault

func PIFMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []PIFMetricsRef, _err error)

func PIFMetricsClassGetByUUIDMockDefault

func PIFMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PIFMetricsRef, _err error)

type PIFRecord

type PIFRecord struct {
	// Unique identifier/object reference
	UUID string
	// machine-readable name of the interface (e.g. eth0)
	Device string
	// virtual network to which this pif is connected
	Network NetworkRef
	// physical machine to which this pif is connected
	Host HostRef
	// ethernet MAC address of physical interface
	MAC string
	// MTU in octets
	MTU int
	// VLAN tag for all traffic passing through this interface
	VLAN int
	// metrics associated with this PIF
	Metrics PIFMetricsRef
	// true if this represents a physical network interface
	Physical bool
	// true if this interface is online
	CurrentlyAttached bool
	// Sets if and how this interface gets an IP address
	IPConfigurationMode IPConfigurationMode
	// IP address
	IP string
	// IP netmask
	Netmask string
	// IP gateway
	Gateway string
	// IP address of DNS servers to use
	DNS string
	// Indicates which bond this interface is part of
	BondSlaveOf BondRef
	// Indicates this PIF represents the results of a bond
	BondMasterOf []BondRef
	// Indicates wich VLAN this interface receives untagged traffic from
	VLANMasterOf VLANRef
	// Indicates which VLANs this interface transmits tagged traffic to
	VLANSlaveOf []VLANRef
	// Indicates whether the control software is listening for connections on this interface
	Management bool
	// Additional configuration
	OtherConfig map[string]string
	// Prevent this PIF from being unplugged; set this to notify the management tool-stack that the PIF has a special use and should not be unplugged under any circumstances (e.g. because you're running storage traffic over it)
	DisallowUnplug bool
	// Indicates to which tunnel this PIF gives access
	TunnelAccessPIFOf []TunnelRef
	// Indicates to which tunnel this PIF provides transport
	TunnelTransportPIFOf []TunnelRef
	// Sets if and how this interface gets an IPv6 address
	Ipv6ConfigurationMode Ipv6ConfigurationMode
	// IPv6 address
	IPv6 []string
	// IPv6 gateway
	Ipv6Gateway string
	// Which protocol should define the primary address of this interface
	PrimaryAddressType PrimaryAddressType
	// Indicates whether the interface is managed by xapi. If it is not, then xapi will not configure the interface, the commands PIF.plug/unplug/reconfigure_ip(v6) can not be used, nor can the interface be bonded or have VLANs based on top through xapi.
	Managed bool
	// Additional configuration properties for the interface.
	Properties map[string]string
	// Additional capabilities on the interface.
	Capabilities []string
	// The IGMP snooping status of the corresponding network bridge
	IgmpSnoopingStatus PifIgmpStatus
}

func PIFClassGetRecordMockDefault

func PIFClassGetRecordMockDefault(sessionID SessionRef, self PIFRef) (_retval PIFRecord, _err error)

type PIFRef

type PIFRef string

func BondClassGetMasterMockDefault

func BondClassGetMasterMockDefault(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

func BondClassGetPrimarySlaveMockDefault

func BondClassGetPrimarySlaveMockDefault(sessionID SessionRef, self BondRef) (_retval PIFRef, _err error)

func BondClassGetSlavesMockDefault

func BondClassGetSlavesMockDefault(sessionID SessionRef, self BondRef) (_retval []PIFRef, _err error)

func HostClassGetManagementInterfaceMockDefault

func HostClassGetManagementInterfaceMockDefault(sessionID SessionRef, host HostRef) (_retval PIFRef, _err error)

func HostClassGetPIFsMockDefault

func HostClassGetPIFsMockDefault(sessionID SessionRef, self HostRef) (_retval []PIFRef, _err error)

func NetworkClassGetPIFsMockDefault

func NetworkClassGetPIFsMockDefault(sessionID SessionRef, self NetworkRef) (_retval []PIFRef, _err error)

func PIFClassCreateVLANMockDefault

func PIFClassCreateVLANMockDefault(sessionID SessionRef, device string, network NetworkRef, host HostRef, vlan int) (_retval PIFRef, _err error)

func PIFClassDbIntroduceMockDefault

func PIFClassDbIntroduceMockDefault(sessionID SessionRef, device string, network NetworkRef, host HostRef, mac string, mtu int, vlan int, physical bool, ipConfigurationMode IPConfigurationMode, ip string, netmask string, gateway string, dns string, bondSlaveOf BondRef, vlanMasterOf VLANRef, management bool, otherConfig map[string]string, disallowUnplug bool, ipv6ConfigurationMode Ipv6ConfigurationMode, ipv6 []string, ipv6Gateway string, primaryAddressType PrimaryAddressType, managed bool, properties map[string]string) (_retval PIFRef, _err error)

func PIFClassGetAllMockDefault

func PIFClassGetAllMockDefault(sessionID SessionRef) (_retval []PIFRef, _err error)

func PIFClassGetByUUIDMockDefault

func PIFClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PIFRef, _err error)

func PIFClassIntroduceMockDefault

func PIFClassIntroduceMockDefault(sessionID SessionRef, host HostRef, mac string, device string, managed bool) (_retval PIFRef, _err error)

func PoolClassCreateVLANFromPIFMockDefault

func PoolClassCreateVLANFromPIFMockDefault(sessionID SessionRef, pif PIFRef, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

func PoolClassCreateVLANMockDefault

func PoolClassCreateVLANMockDefault(sessionID SessionRef, device string, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

func TunnelClassGetAccessPIFMockDefault

func TunnelClassGetAccessPIFMockDefault(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

func TunnelClassGetTransportPIFMockDefault

func TunnelClassGetTransportPIFMockDefault(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

func VLANClassGetTaggedPIFMockDefault

func VLANClassGetTaggedPIFMockDefault(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

func VLANClassGetUntaggedPIFMockDefault

func VLANClassGetUntaggedPIFMockDefault(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

type PUSBClass

type PUSBClass struct {
	// contains filtered or unexported fields
}

A physical USB device

func (PUSBClass) AddToOtherConfig

func (_class PUSBClass) AddToOtherConfig(sessionID SessionRef, self PUSBRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given PUSB.

func (PUSBClass) AddToOtherConfigMock

func (_class PUSBClass) AddToOtherConfigMock(sessionID SessionRef, self PUSBRef, key string, value string) (_err error)

func (PUSBClass) GetAll

func (_class PUSBClass) GetAll(sessionID SessionRef) (_retval []PUSBRef, _err error)

Return a list of all the PUSBs known to the system.

func (PUSBClass) GetAllMock

func (_class PUSBClass) GetAllMock(sessionID SessionRef) (_retval []PUSBRef, _err error)

func (PUSBClass) GetAllRecords

func (_class PUSBClass) GetAllRecords(sessionID SessionRef) (_retval map[PUSBRef]PUSBRecord, _err error)

Return a map of PUSB references to PUSB records for all PUSBs known to the system.

func (PUSBClass) GetAllRecordsMock

func (_class PUSBClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PUSBRef]PUSBRecord, _err error)

func (PUSBClass) GetByUUID

func (_class PUSBClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PUSBRef, _err error)

Get a reference to the PUSB instance with the specified UUID.

func (PUSBClass) GetByUUIDMock

func (_class PUSBClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PUSBRef, _err error)

func (PUSBClass) GetDescription

func (_class PUSBClass) GetDescription(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the description field of the given PUSB.

func (PUSBClass) GetDescriptionMock

func (_class PUSBClass) GetDescriptionMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetHost

func (_class PUSBClass) GetHost(sessionID SessionRef, self PUSBRef) (_retval HostRef, _err error)

Get the host field of the given PUSB.

func (PUSBClass) GetHostMock

func (_class PUSBClass) GetHostMock(sessionID SessionRef, self PUSBRef) (_retval HostRef, _err error)

func (PUSBClass) GetOtherConfig

func (_class PUSBClass) GetOtherConfig(sessionID SessionRef, self PUSBRef) (_retval map[string]string, _err error)

Get the other_config field of the given PUSB.

func (PUSBClass) GetOtherConfigMock

func (_class PUSBClass) GetOtherConfigMock(sessionID SessionRef, self PUSBRef) (_retval map[string]string, _err error)

func (PUSBClass) GetPassthroughEnabled

func (_class PUSBClass) GetPassthroughEnabled(sessionID SessionRef, self PUSBRef) (_retval bool, _err error)

Get the passthrough_enabled field of the given PUSB.

func (PUSBClass) GetPassthroughEnabledMock

func (_class PUSBClass) GetPassthroughEnabledMock(sessionID SessionRef, self PUSBRef) (_retval bool, _err error)

func (PUSBClass) GetPath

func (_class PUSBClass) GetPath(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the path field of the given PUSB.

func (PUSBClass) GetPathMock

func (_class PUSBClass) GetPathMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetProductDesc

func (_class PUSBClass) GetProductDesc(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the product_desc field of the given PUSB.

func (PUSBClass) GetProductDescMock

func (_class PUSBClass) GetProductDescMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetProductID

func (_class PUSBClass) GetProductID(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the product_id field of the given PUSB.

func (PUSBClass) GetProductIDMock

func (_class PUSBClass) GetProductIDMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetRecord

func (_class PUSBClass) GetRecord(sessionID SessionRef, self PUSBRef) (_retval PUSBRecord, _err error)

Get a record containing the current state of the given PUSB.

func (PUSBClass) GetRecordMock

func (_class PUSBClass) GetRecordMock(sessionID SessionRef, self PUSBRef) (_retval PUSBRecord, _err error)

func (PUSBClass) GetSerial

func (_class PUSBClass) GetSerial(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the serial field of the given PUSB.

func (PUSBClass) GetSerialMock

func (_class PUSBClass) GetSerialMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetUSBGroup

func (_class PUSBClass) GetUSBGroup(sessionID SessionRef, self PUSBRef) (_retval USBGroupRef, _err error)

Get the USB_group field of the given PUSB.

func (PUSBClass) GetUSBGroupMock

func (_class PUSBClass) GetUSBGroupMock(sessionID SessionRef, self PUSBRef) (_retval USBGroupRef, _err error)

func (PUSBClass) GetUUID

func (_class PUSBClass) GetUUID(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the uuid field of the given PUSB.

func (PUSBClass) GetUUIDMock

func (_class PUSBClass) GetUUIDMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetVendorDesc

func (_class PUSBClass) GetVendorDesc(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the vendor_desc field of the given PUSB.

func (PUSBClass) GetVendorDescMock

func (_class PUSBClass) GetVendorDescMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetVendorID

func (_class PUSBClass) GetVendorID(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the vendor_id field of the given PUSB.

func (PUSBClass) GetVendorIDMock

func (_class PUSBClass) GetVendorIDMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) GetVersion

func (_class PUSBClass) GetVersion(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

Get the version field of the given PUSB.

func (PUSBClass) GetVersionMock

func (_class PUSBClass) GetVersionMock(sessionID SessionRef, self PUSBRef) (_retval string, _err error)

func (PUSBClass) RemoveFromOtherConfig

func (_class PUSBClass) RemoveFromOtherConfig(sessionID SessionRef, self PUSBRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given PUSB. If the key is not in that Map, then do nothing.

func (PUSBClass) RemoveFromOtherConfigMock

func (_class PUSBClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PUSBRef, key string) (_err error)

func (PUSBClass) Scan

func (_class PUSBClass) Scan(sessionID SessionRef, host HostRef) (_err error)

func (PUSBClass) ScanMock

func (_class PUSBClass) ScanMock(sessionID SessionRef, host HostRef) (_err error)

func (PUSBClass) SetOtherConfig

func (_class PUSBClass) SetOtherConfig(sessionID SessionRef, self PUSBRef, value map[string]string) (_err error)

Set the other_config field of the given PUSB.

func (PUSBClass) SetOtherConfigMock

func (_class PUSBClass) SetOtherConfigMock(sessionID SessionRef, self PUSBRef, value map[string]string) (_err error)

func (PUSBClass) SetPassthroughEnabled

func (_class PUSBClass) SetPassthroughEnabled(sessionID SessionRef, self PUSBRef, value bool) (_err error)

func (PUSBClass) SetPassthroughEnabledMock

func (_class PUSBClass) SetPassthroughEnabledMock(sessionID SessionRef, self PUSBRef, value bool) (_err error)

type PUSBRecord

type PUSBRecord struct {
	// Unique identifier/object reference
	UUID string
	// USB group the PUSB is contained in
	USBGroup USBGroupRef
	// Physical machine that owns the USB device
	Host HostRef
	// port path of USB device
	Path string
	// vendor id of the USB device
	VendorID string
	// vendor description of the USB device
	VendorDesc string
	// product id of the USB device
	ProductID string
	// product description of the USB device
	ProductDesc string
	// serial of the USB device
	Serial string
	// USB device version
	Version string
	// USB device description
	Description string
	// enabled for passthrough
	PassthroughEnabled bool
	// additional configuration
	OtherConfig map[string]string
}

func PUSBClassGetRecordMockDefault

func PUSBClassGetRecordMockDefault(sessionID SessionRef, self PUSBRef) (_retval PUSBRecord, _err error)

type PUSBRef

type PUSBRef string

func HostClassGetPUSBsMockDefault

func HostClassGetPUSBsMockDefault(sessionID SessionRef, self HostRef) (_retval []PUSBRef, _err error)

func PUSBClassGetAllMockDefault

func PUSBClassGetAllMockDefault(sessionID SessionRef) (_retval []PUSBRef, _err error)

func PUSBClassGetByUUIDMockDefault

func PUSBClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PUSBRef, _err error)

func USBGroupClassGetPUSBsMockDefault

func USBGroupClassGetPUSBsMockDefault(sessionID SessionRef, self USBGroupRef) (_retval []PUSBRef, _err error)

type PVSCacheStorageClass

type PVSCacheStorageClass struct {
	// contains filtered or unexported fields
}

Describes the storage that is available to a PVS site for caching purposes

func (PVSCacheStorageClass) Create

func (_class PVSCacheStorageClass) Create(sessionID SessionRef, args PVSCacheStorageRecord) (_retval PVSCacheStorageRef, _err error)

Create a new PVS_cache_storage instance, and return its handle. The constructor args are: host, SR, site, size (* = non-optional).

func (PVSCacheStorageClass) CreateMock

func (_class PVSCacheStorageClass) CreateMock(sessionID SessionRef, args PVSCacheStorageRecord) (_retval PVSCacheStorageRef, _err error)

func (PVSCacheStorageClass) Destroy

func (_class PVSCacheStorageClass) Destroy(sessionID SessionRef, self PVSCacheStorageRef) (_err error)

Destroy the specified PVS_cache_storage instance.

func (PVSCacheStorageClass) DestroyMock

func (_class PVSCacheStorageClass) DestroyMock(sessionID SessionRef, self PVSCacheStorageRef) (_err error)

func (PVSCacheStorageClass) GetAll

func (_class PVSCacheStorageClass) GetAll(sessionID SessionRef) (_retval []PVSCacheStorageRef, _err error)

Return a list of all the PVS_cache_storages known to the system.

func (PVSCacheStorageClass) GetAllMock

func (_class PVSCacheStorageClass) GetAllMock(sessionID SessionRef) (_retval []PVSCacheStorageRef, _err error)

func (PVSCacheStorageClass) GetAllRecords

func (_class PVSCacheStorageClass) GetAllRecords(sessionID SessionRef) (_retval map[PVSCacheStorageRef]PVSCacheStorageRecord, _err error)

Return a map of PVS_cache_storage references to PVS_cache_storage records for all PVS_cache_storages known to the system.

func (PVSCacheStorageClass) GetAllRecordsMock

func (_class PVSCacheStorageClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PVSCacheStorageRef]PVSCacheStorageRecord, _err error)

func (PVSCacheStorageClass) GetByUUID

func (_class PVSCacheStorageClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PVSCacheStorageRef, _err error)

Get a reference to the PVS_cache_storage instance with the specified UUID.

func (PVSCacheStorageClass) GetByUUIDMock

func (_class PVSCacheStorageClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PVSCacheStorageRef, _err error)

func (PVSCacheStorageClass) GetHost

func (_class PVSCacheStorageClass) GetHost(sessionID SessionRef, self PVSCacheStorageRef) (_retval HostRef, _err error)

Get the host field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetHostMock

func (_class PVSCacheStorageClass) GetHostMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval HostRef, _err error)

func (PVSCacheStorageClass) GetRecord

func (_class PVSCacheStorageClass) GetRecord(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSCacheStorageRecord, _err error)

Get a record containing the current state of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetRecordMock

func (_class PVSCacheStorageClass) GetRecordMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSCacheStorageRecord, _err error)

func (PVSCacheStorageClass) GetSR

func (_class PVSCacheStorageClass) GetSR(sessionID SessionRef, self PVSCacheStorageRef) (_retval SRRef, _err error)

Get the SR field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetSRMock

func (_class PVSCacheStorageClass) GetSRMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval SRRef, _err error)

func (PVSCacheStorageClass) GetSite

func (_class PVSCacheStorageClass) GetSite(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSSiteRef, _err error)

Get the site field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetSiteMock

func (_class PVSCacheStorageClass) GetSiteMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSSiteRef, _err error)

func (PVSCacheStorageClass) GetSize

func (_class PVSCacheStorageClass) GetSize(sessionID SessionRef, self PVSCacheStorageRef) (_retval int, _err error)

Get the size field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetSizeMock

func (_class PVSCacheStorageClass) GetSizeMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval int, _err error)

func (PVSCacheStorageClass) GetUUID

func (_class PVSCacheStorageClass) GetUUID(sessionID SessionRef, self PVSCacheStorageRef) (_retval string, _err error)

Get the uuid field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetUUIDMock

func (_class PVSCacheStorageClass) GetUUIDMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval string, _err error)

func (PVSCacheStorageClass) GetVDI

func (_class PVSCacheStorageClass) GetVDI(sessionID SessionRef, self PVSCacheStorageRef) (_retval VDIRef, _err error)

Get the VDI field of the given PVS_cache_storage.

func (PVSCacheStorageClass) GetVDIMock

func (_class PVSCacheStorageClass) GetVDIMock(sessionID SessionRef, self PVSCacheStorageRef) (_retval VDIRef, _err error)

type PVSCacheStorageRecord

type PVSCacheStorageRecord struct {
	// Unique identifier/object reference
	UUID string
	// The host on which this object defines PVS cache storage
	Host HostRef
	// SR providing storage for the PVS cache
	SR SRRef
	// The PVS_site for which this object defines the storage
	Site PVSSiteRef
	// The size of the cache VDI (in bytes)
	Size int
	// The VDI used for caching
	VDI VDIRef
}

func PVSCacheStorageClassGetRecordMockDefault

func PVSCacheStorageClassGetRecordMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSCacheStorageRecord, _err error)

type PVSCacheStorageRef

type PVSCacheStorageRef string

func PVSCacheStorageClassCreateMockDefault

func PVSCacheStorageClassCreateMockDefault(sessionID SessionRef, args PVSCacheStorageRecord) (_retval PVSCacheStorageRef, _err error)

func PVSCacheStorageClassGetAllMockDefault

func PVSCacheStorageClassGetAllMockDefault(sessionID SessionRef) (_retval []PVSCacheStorageRef, _err error)

func PVSCacheStorageClassGetByUUIDMockDefault

func PVSCacheStorageClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PVSCacheStorageRef, _err error)

func PVSSiteClassGetCacheStorageMockDefault

func PVSSiteClassGetCacheStorageMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval []PVSCacheStorageRef, _err error)

type PVSProxyClass

type PVSProxyClass struct {
	// contains filtered or unexported fields
}

a proxy connects a VM/VIF with a PVS site

func (PVSProxyClass) Create

func (_class PVSProxyClass) Create(sessionID SessionRef, site PVSSiteRef, vif VIFRef) (_retval PVSProxyRef, _err error)

Configure a VM/VIF to use a PVS proxy

func (PVSProxyClass) CreateMock

func (_class PVSProxyClass) CreateMock(sessionID SessionRef, site PVSSiteRef, vif VIFRef) (_retval PVSProxyRef, _err error)

func (PVSProxyClass) Destroy

func (_class PVSProxyClass) Destroy(sessionID SessionRef, self PVSProxyRef) (_err error)

remove (or switch off) a PVS proxy for this VM

func (PVSProxyClass) DestroyMock

func (_class PVSProxyClass) DestroyMock(sessionID SessionRef, self PVSProxyRef) (_err error)

func (PVSProxyClass) GetAll

func (_class PVSProxyClass) GetAll(sessionID SessionRef) (_retval []PVSProxyRef, _err error)

Return a list of all the PVS_proxys known to the system.

func (PVSProxyClass) GetAllMock

func (_class PVSProxyClass) GetAllMock(sessionID SessionRef) (_retval []PVSProxyRef, _err error)

func (PVSProxyClass) GetAllRecords

func (_class PVSProxyClass) GetAllRecords(sessionID SessionRef) (_retval map[PVSProxyRef]PVSProxyRecord, _err error)

Return a map of PVS_proxy references to PVS_proxy records for all PVS_proxys known to the system.

func (PVSProxyClass) GetAllRecordsMock

func (_class PVSProxyClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PVSProxyRef]PVSProxyRecord, _err error)

func (PVSProxyClass) GetByUUID

func (_class PVSProxyClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PVSProxyRef, _err error)

Get a reference to the PVS_proxy instance with the specified UUID.

func (PVSProxyClass) GetByUUIDMock

func (_class PVSProxyClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PVSProxyRef, _err error)

func (PVSProxyClass) GetCurrentlyAttached

func (_class PVSProxyClass) GetCurrentlyAttached(sessionID SessionRef, self PVSProxyRef) (_retval bool, _err error)

Get the currently_attached field of the given PVS_proxy.

func (PVSProxyClass) GetCurrentlyAttachedMock

func (_class PVSProxyClass) GetCurrentlyAttachedMock(sessionID SessionRef, self PVSProxyRef) (_retval bool, _err error)

func (PVSProxyClass) GetRecord

func (_class PVSProxyClass) GetRecord(sessionID SessionRef, self PVSProxyRef) (_retval PVSProxyRecord, _err error)

Get a record containing the current state of the given PVS_proxy.

func (PVSProxyClass) GetRecordMock

func (_class PVSProxyClass) GetRecordMock(sessionID SessionRef, self PVSProxyRef) (_retval PVSProxyRecord, _err error)

func (PVSProxyClass) GetSite

func (_class PVSProxyClass) GetSite(sessionID SessionRef, self PVSProxyRef) (_retval PVSSiteRef, _err error)

Get the site field of the given PVS_proxy.

func (PVSProxyClass) GetSiteMock

func (_class PVSProxyClass) GetSiteMock(sessionID SessionRef, self PVSProxyRef) (_retval PVSSiteRef, _err error)

func (PVSProxyClass) GetStatus

func (_class PVSProxyClass) GetStatus(sessionID SessionRef, self PVSProxyRef) (_retval PvsProxyStatus, _err error)

Get the status field of the given PVS_proxy.

func (PVSProxyClass) GetStatusMock

func (_class PVSProxyClass) GetStatusMock(sessionID SessionRef, self PVSProxyRef) (_retval PvsProxyStatus, _err error)

func (PVSProxyClass) GetUUID

func (_class PVSProxyClass) GetUUID(sessionID SessionRef, self PVSProxyRef) (_retval string, _err error)

Get the uuid field of the given PVS_proxy.

func (PVSProxyClass) GetUUIDMock

func (_class PVSProxyClass) GetUUIDMock(sessionID SessionRef, self PVSProxyRef) (_retval string, _err error)

func (PVSProxyClass) GetVIF

func (_class PVSProxyClass) GetVIF(sessionID SessionRef, self PVSProxyRef) (_retval VIFRef, _err error)

Get the VIF field of the given PVS_proxy.

func (PVSProxyClass) GetVIFMock

func (_class PVSProxyClass) GetVIFMock(sessionID SessionRef, self PVSProxyRef) (_retval VIFRef, _err error)

type PVSProxyRecord

type PVSProxyRecord struct {
	// Unique identifier/object reference
	UUID string
	// PVS site this proxy is part of
	Site PVSSiteRef
	// VIF of the VM using the proxy
	VIF VIFRef
	// true = VM is currently proxied
	CurrentlyAttached bool
	// The run-time status of the proxy
	Status PvsProxyStatus
}

func PVSProxyClassGetRecordMockDefault

func PVSProxyClassGetRecordMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval PVSProxyRecord, _err error)

type PVSProxyRef

type PVSProxyRef string

func PVSProxyClassCreateMockDefault

func PVSProxyClassCreateMockDefault(sessionID SessionRef, site PVSSiteRef, vif VIFRef) (_retval PVSProxyRef, _err error)

func PVSProxyClassGetAllMockDefault

func PVSProxyClassGetAllMockDefault(sessionID SessionRef) (_retval []PVSProxyRef, _err error)

func PVSProxyClassGetByUUIDMockDefault

func PVSProxyClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PVSProxyRef, _err error)

func PVSSiteClassGetProxiesMockDefault

func PVSSiteClassGetProxiesMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval []PVSProxyRef, _err error)

type PVSServerClass

type PVSServerClass struct {
	// contains filtered or unexported fields
}

individual machine serving provisioning (block) data

func (PVSServerClass) Forget

func (_class PVSServerClass) Forget(sessionID SessionRef, self PVSServerRef) (_err error)

forget a PVS server

func (PVSServerClass) ForgetMock

func (_class PVSServerClass) ForgetMock(sessionID SessionRef, self PVSServerRef) (_err error)

func (PVSServerClass) GetAddresses

func (_class PVSServerClass) GetAddresses(sessionID SessionRef, self PVSServerRef) (_retval []string, _err error)

Get the addresses field of the given PVS_server.

func (PVSServerClass) GetAddressesMock

func (_class PVSServerClass) GetAddressesMock(sessionID SessionRef, self PVSServerRef) (_retval []string, _err error)

func (PVSServerClass) GetAll

func (_class PVSServerClass) GetAll(sessionID SessionRef) (_retval []PVSServerRef, _err error)

Return a list of all the PVS_servers known to the system.

func (PVSServerClass) GetAllMock

func (_class PVSServerClass) GetAllMock(sessionID SessionRef) (_retval []PVSServerRef, _err error)

func (PVSServerClass) GetAllRecords

func (_class PVSServerClass) GetAllRecords(sessionID SessionRef) (_retval map[PVSServerRef]PVSServerRecord, _err error)

Return a map of PVS_server references to PVS_server records for all PVS_servers known to the system.

func (PVSServerClass) GetAllRecordsMock

func (_class PVSServerClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PVSServerRef]PVSServerRecord, _err error)

func (PVSServerClass) GetByUUID

func (_class PVSServerClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PVSServerRef, _err error)

Get a reference to the PVS_server instance with the specified UUID.

func (PVSServerClass) GetByUUIDMock

func (_class PVSServerClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PVSServerRef, _err error)

func (PVSServerClass) GetFirstPort

func (_class PVSServerClass) GetFirstPort(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

Get the first_port field of the given PVS_server.

func (PVSServerClass) GetFirstPortMock

func (_class PVSServerClass) GetFirstPortMock(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

func (PVSServerClass) GetLastPort

func (_class PVSServerClass) GetLastPort(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

Get the last_port field of the given PVS_server.

func (PVSServerClass) GetLastPortMock

func (_class PVSServerClass) GetLastPortMock(sessionID SessionRef, self PVSServerRef) (_retval int, _err error)

func (PVSServerClass) GetRecord

func (_class PVSServerClass) GetRecord(sessionID SessionRef, self PVSServerRef) (_retval PVSServerRecord, _err error)

Get a record containing the current state of the given PVS_server.

func (PVSServerClass) GetRecordMock

func (_class PVSServerClass) GetRecordMock(sessionID SessionRef, self PVSServerRef) (_retval PVSServerRecord, _err error)

func (PVSServerClass) GetSite

func (_class PVSServerClass) GetSite(sessionID SessionRef, self PVSServerRef) (_retval PVSSiteRef, _err error)

Get the site field of the given PVS_server.

func (PVSServerClass) GetSiteMock

func (_class PVSServerClass) GetSiteMock(sessionID SessionRef, self PVSServerRef) (_retval PVSSiteRef, _err error)

func (PVSServerClass) GetUUID

func (_class PVSServerClass) GetUUID(sessionID SessionRef, self PVSServerRef) (_retval string, _err error)

Get the uuid field of the given PVS_server.

func (PVSServerClass) GetUUIDMock

func (_class PVSServerClass) GetUUIDMock(sessionID SessionRef, self PVSServerRef) (_retval string, _err error)

func (PVSServerClass) Introduce

func (_class PVSServerClass) Introduce(sessionID SessionRef, addresses []string, firstPort int, lastPort int, site PVSSiteRef) (_retval PVSServerRef, _err error)

introduce new PVS server

func (PVSServerClass) IntroduceMock

func (_class PVSServerClass) IntroduceMock(sessionID SessionRef, addresses []string, firstPort int, lastPort int, site PVSSiteRef) (_retval PVSServerRef, _err error)

type PVSServerRecord

type PVSServerRecord struct {
	// Unique identifier/object reference
	UUID string
	// IPv4 addresses of this server
	Addresses []string
	// First UDP port accepted by this server
	FirstPort int
	// Last UDP port accepted by this server
	LastPort int
	// PVS site this server is part of
	Site PVSSiteRef
}

func PVSServerClassGetRecordMockDefault

func PVSServerClassGetRecordMockDefault(sessionID SessionRef, self PVSServerRef) (_retval PVSServerRecord, _err error)

type PVSServerRef

type PVSServerRef string

func PVSServerClassGetAllMockDefault

func PVSServerClassGetAllMockDefault(sessionID SessionRef) (_retval []PVSServerRef, _err error)

func PVSServerClassGetByUUIDMockDefault

func PVSServerClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PVSServerRef, _err error)

func PVSServerClassIntroduceMockDefault

func PVSServerClassIntroduceMockDefault(sessionID SessionRef, addresses []string, firstPort int, lastPort int, site PVSSiteRef) (_retval PVSServerRef, _err error)

func PVSSiteClassGetServersMockDefault

func PVSSiteClassGetServersMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval []PVSServerRef, _err error)

type PVSSiteClass

type PVSSiteClass struct {
	// contains filtered or unexported fields
}

machines serving blocks of data for provisioning VMs

func (PVSSiteClass) Forget

func (_class PVSSiteClass) Forget(sessionID SessionRef, self PVSSiteRef) (_err error)

Remove a site's meta data

Errors:

PVS_SITE_CONTAINS_RUNNING_PROXIES - The PVS site contains running proxies.
PVS_SITE_CONTAINS_SERVERS - The PVS site contains servers and cannot be forgotten.

func (PVSSiteClass) ForgetMock

func (_class PVSSiteClass) ForgetMock(sessionID SessionRef, self PVSSiteRef) (_err error)

func (PVSSiteClass) GetAll

func (_class PVSSiteClass) GetAll(sessionID SessionRef) (_retval []PVSSiteRef, _err error)

Return a list of all the PVS_sites known to the system.

func (PVSSiteClass) GetAllMock

func (_class PVSSiteClass) GetAllMock(sessionID SessionRef) (_retval []PVSSiteRef, _err error)

func (PVSSiteClass) GetAllRecords

func (_class PVSSiteClass) GetAllRecords(sessionID SessionRef) (_retval map[PVSSiteRef]PVSSiteRecord, _err error)

Return a map of PVS_site references to PVS_site records for all PVS_sites known to the system.

func (PVSSiteClass) GetAllRecordsMock

func (_class PVSSiteClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PVSSiteRef]PVSSiteRecord, _err error)

func (PVSSiteClass) GetByNameLabel

func (_class PVSSiteClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []PVSSiteRef, _err error)

Get all the PVS_site instances with the given label.

func (PVSSiteClass) GetByNameLabelMock

func (_class PVSSiteClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []PVSSiteRef, _err error)

func (PVSSiteClass) GetByUUID

func (_class PVSSiteClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PVSSiteRef, _err error)

Get a reference to the PVS_site instance with the specified UUID.

func (PVSSiteClass) GetByUUIDMock

func (_class PVSSiteClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PVSSiteRef, _err error)

func (PVSSiteClass) GetCacheStorage

func (_class PVSSiteClass) GetCacheStorage(sessionID SessionRef, self PVSSiteRef) (_retval []PVSCacheStorageRef, _err error)

Get the cache_storage field of the given PVS_site.

func (PVSSiteClass) GetCacheStorageMock

func (_class PVSSiteClass) GetCacheStorageMock(sessionID SessionRef, self PVSSiteRef) (_retval []PVSCacheStorageRef, _err error)

func (PVSSiteClass) GetNameDescription

func (_class PVSSiteClass) GetNameDescription(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

Get the name/description field of the given PVS_site.

func (PVSSiteClass) GetNameDescriptionMock

func (_class PVSSiteClass) GetNameDescriptionMock(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func (PVSSiteClass) GetNameLabel

func (_class PVSSiteClass) GetNameLabel(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

Get the name/label field of the given PVS_site.

func (PVSSiteClass) GetNameLabelMock

func (_class PVSSiteClass) GetNameLabelMock(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func (PVSSiteClass) GetPVSUUID

func (_class PVSSiteClass) GetPVSUUID(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

Get the PVS_uuid field of the given PVS_site.

func (PVSSiteClass) GetPVSUUIDMock

func (_class PVSSiteClass) GetPVSUUIDMock(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func (PVSSiteClass) GetProxies

func (_class PVSSiteClass) GetProxies(sessionID SessionRef, self PVSSiteRef) (_retval []PVSProxyRef, _err error)

Get the proxies field of the given PVS_site.

func (PVSSiteClass) GetProxiesMock

func (_class PVSSiteClass) GetProxiesMock(sessionID SessionRef, self PVSSiteRef) (_retval []PVSProxyRef, _err error)

func (PVSSiteClass) GetRecord

func (_class PVSSiteClass) GetRecord(sessionID SessionRef, self PVSSiteRef) (_retval PVSSiteRecord, _err error)

Get a record containing the current state of the given PVS_site.

func (PVSSiteClass) GetRecordMock

func (_class PVSSiteClass) GetRecordMock(sessionID SessionRef, self PVSSiteRef) (_retval PVSSiteRecord, _err error)

func (PVSSiteClass) GetServers

func (_class PVSSiteClass) GetServers(sessionID SessionRef, self PVSSiteRef) (_retval []PVSServerRef, _err error)

Get the servers field of the given PVS_site.

func (PVSSiteClass) GetServersMock

func (_class PVSSiteClass) GetServersMock(sessionID SessionRef, self PVSSiteRef) (_retval []PVSServerRef, _err error)

func (PVSSiteClass) GetUUID

func (_class PVSSiteClass) GetUUID(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

Get the uuid field of the given PVS_site.

func (PVSSiteClass) GetUUIDMock

func (_class PVSSiteClass) GetUUIDMock(sessionID SessionRef, self PVSSiteRef) (_retval string, _err error)

func (PVSSiteClass) Introduce

func (_class PVSSiteClass) Introduce(sessionID SessionRef, nameLabel string, nameDescription string, pvsUUID string) (_retval PVSSiteRef, _err error)

Introduce new PVS site

func (PVSSiteClass) IntroduceMock

func (_class PVSSiteClass) IntroduceMock(sessionID SessionRef, nameLabel string, nameDescription string, pvsUUID string) (_retval PVSSiteRef, _err error)

func (PVSSiteClass) SetNameDescription

func (_class PVSSiteClass) SetNameDescription(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

Set the name/description field of the given PVS_site.

func (PVSSiteClass) SetNameDescriptionMock

func (_class PVSSiteClass) SetNameDescriptionMock(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

func (PVSSiteClass) SetNameLabel

func (_class PVSSiteClass) SetNameLabel(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

Set the name/label field of the given PVS_site.

func (PVSSiteClass) SetNameLabelMock

func (_class PVSSiteClass) SetNameLabelMock(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

func (PVSSiteClass) SetPVSUUID

func (_class PVSSiteClass) SetPVSUUID(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

Update the PVS UUID of the PVS site

func (PVSSiteClass) SetPVSUUIDMock

func (_class PVSSiteClass) SetPVSUUIDMock(sessionID SessionRef, self PVSSiteRef, value string) (_err error)

type PVSSiteRecord

type PVSSiteRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Unique identifier of the PVS site, as configured in PVS
	PVSUUID string
	// The SR used by PVS proxy for the cache
	CacheStorage []PVSCacheStorageRef
	// The set of PVS servers in the site
	Servers []PVSServerRef
	// The set of proxies associated with the site
	Proxies []PVSProxyRef
}

func PVSSiteClassGetRecordMockDefault

func PVSSiteClassGetRecordMockDefault(sessionID SessionRef, self PVSSiteRef) (_retval PVSSiteRecord, _err error)

type PVSSiteRef

type PVSSiteRef string

func PVSCacheStorageClassGetSiteMockDefault

func PVSCacheStorageClassGetSiteMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval PVSSiteRef, _err error)

func PVSProxyClassGetSiteMockDefault

func PVSProxyClassGetSiteMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval PVSSiteRef, _err error)

func PVSServerClassGetSiteMockDefault

func PVSServerClassGetSiteMockDefault(sessionID SessionRef, self PVSServerRef) (_retval PVSSiteRef, _err error)

func PVSSiteClassGetAllMockDefault

func PVSSiteClassGetAllMockDefault(sessionID SessionRef) (_retval []PVSSiteRef, _err error)

func PVSSiteClassGetByNameLabelMockDefault

func PVSSiteClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []PVSSiteRef, _err error)

func PVSSiteClassGetByUUIDMockDefault

func PVSSiteClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PVSSiteRef, _err error)

func PVSSiteClassIntroduceMockDefault

func PVSSiteClassIntroduceMockDefault(sessionID SessionRef, nameLabel string, nameDescription string, pvsUUID string) (_retval PVSSiteRef, _err error)

type PgpuDom0Access

type PgpuDom0Access string
const (
	// dom0 can access this device as normal
	PgpuDom0AccessEnabled PgpuDom0Access = "enabled"
	// On host reboot dom0 will be blocked from accessing this device
	PgpuDom0AccessDisableOnReboot PgpuDom0Access = "disable_on_reboot"
	// dom0 cannot access this device
	PgpuDom0AccessDisabled PgpuDom0Access = "disabled"
	// On host reboot dom0 will be allowed to access this device
	PgpuDom0AccessEnableOnReboot PgpuDom0Access = "enable_on_reboot"
)

func PGPUClassDisableDom0AccessMockDefault

func PGPUClassDisableDom0AccessMockDefault(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func PGPUClassEnableDom0AccessMockDefault

func PGPUClassEnableDom0AccessMockDefault(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

func PGPUClassGetDom0AccessMockDefault

func PGPUClassGetDom0AccessMockDefault(sessionID SessionRef, self PGPURef) (_retval PgpuDom0Access, _err error)

type PifIgmpStatus

type PifIgmpStatus string
const (
	// IGMP Snooping is enabled in the corresponding backend bridge.'
	PifIgmpStatusEnabled PifIgmpStatus = "enabled"
	// IGMP Snooping is disabled in the corresponding backend bridge.'
	PifIgmpStatusDisabled PifIgmpStatus = "disabled"
	// IGMP snooping status is unknown. If this is a VLAN master, then please consult the underlying VLAN slave PIF.
	PifIgmpStatusUnknown PifIgmpStatus = "unknown"
)

func PIFClassGetIgmpSnoopingStatusMockDefault

func PIFClassGetIgmpSnoopingStatusMockDefault(sessionID SessionRef, self PIFRef) (_retval PifIgmpStatus, _err error)

type PoolAllowedOperations

type PoolAllowedOperations string
const (
	// Indicates this pool is in the process of enabling HA
	PoolAllowedOperationsHaEnable PoolAllowedOperations = "ha_enable"
	// Indicates this pool is in the process of disabling HA
	PoolAllowedOperationsHaDisable PoolAllowedOperations = "ha_disable"
)

func PoolClassGetAllowedOperationsMockDefault

func PoolClassGetAllowedOperationsMockDefault(sessionID SessionRef, self PoolRef) (_retval []PoolAllowedOperations, _err error)

type PoolClass

type PoolClass struct {
	// contains filtered or unexported fields
}

Pool-wide information

func (PoolClass) AddTags

func (_class PoolClass) AddTags(sessionID SessionRef, self PoolRef, value string) (_err error)

Add the given value to the tags field of the given pool. If the value is already in that Set, then do nothing.

func (PoolClass) AddTagsMock

func (_class PoolClass) AddTagsMock(sessionID SessionRef, self PoolRef, value string) (_err error)

func (PoolClass) AddToGuestAgentConfig

func (_class PoolClass) AddToGuestAgentConfig(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

Add a key-value pair to the pool-wide guest agent configuration

func (PoolClass) AddToGuestAgentConfigMock

func (_class PoolClass) AddToGuestAgentConfigMock(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func (PoolClass) AddToGuiConfig

func (_class PoolClass) AddToGuiConfig(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

Add the given key-value pair to the gui_config field of the given pool.

func (PoolClass) AddToGuiConfigMock

func (_class PoolClass) AddToGuiConfigMock(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func (PoolClass) AddToHealthCheckConfig

func (_class PoolClass) AddToHealthCheckConfig(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

Add the given key-value pair to the health_check_config field of the given pool.

func (PoolClass) AddToHealthCheckConfigMock

func (_class PoolClass) AddToHealthCheckConfigMock(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func (PoolClass) AddToOtherConfig

func (_class PoolClass) AddToOtherConfig(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given pool.

func (PoolClass) AddToOtherConfigMock

func (_class PoolClass) AddToOtherConfigMock(sessionID SessionRef, self PoolRef, key string, value string) (_err error)

func (PoolClass) ApplyEdition

func (_class PoolClass) ApplyEdition(sessionID SessionRef, self PoolRef, edition string) (_err error)

Apply an edition to all hosts in the pool

func (PoolClass) ApplyEditionMock

func (_class PoolClass) ApplyEditionMock(sessionID SessionRef, self PoolRef, edition string) (_err error)

func (PoolClass) CertificateInstall

func (_class PoolClass) CertificateInstall(sessionID SessionRef, name string, cert string) (_err error)

Install an SSL certificate pool-wide.

func (PoolClass) CertificateInstallMock

func (_class PoolClass) CertificateInstallMock(sessionID SessionRef, name string, cert string) (_err error)

func (PoolClass) CertificateList

func (_class PoolClass) CertificateList(sessionID SessionRef) (_retval []string, _err error)

List all installed SSL certificates.

func (PoolClass) CertificateListMock

func (_class PoolClass) CertificateListMock(sessionID SessionRef) (_retval []string, _err error)

func (PoolClass) CertificateSync

func (_class PoolClass) CertificateSync(sessionID SessionRef) (_err error)

Sync SSL certificates from master to slaves.

func (PoolClass) CertificateSyncMock

func (_class PoolClass) CertificateSyncMock(sessionID SessionRef) (_err error)

func (PoolClass) CertificateUninstall

func (_class PoolClass) CertificateUninstall(sessionID SessionRef, name string) (_err error)

Remove an SSL certificate.

func (PoolClass) CertificateUninstallMock

func (_class PoolClass) CertificateUninstallMock(sessionID SessionRef, name string) (_err error)

func (PoolClass) CreateNewBlob

func (_class PoolClass) CreateNewBlob(sessionID SessionRef, pool PoolRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a named binary blob of data that is associated with this pool

func (PoolClass) CreateNewBlobMock

func (_class PoolClass) CreateNewBlobMock(sessionID SessionRef, pool PoolRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func (PoolClass) CreateVLAN

func (_class PoolClass) CreateVLAN(sessionID SessionRef, device string, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

Create PIFs, mapping a network to the same physical interface/VLAN on each host. This call is deprecated: use Pool.create_VLAN_from_PIF instead.

Errors:

VLAN_TAG_INVALID - You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094.  The parameter echoes the VLAN tag you gave.

func (PoolClass) CreateVLANFromPIF

func (_class PoolClass) CreateVLANFromPIF(sessionID SessionRef, pif PIFRef, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

Create a pool-wide VLAN by taking the PIF.

Errors:

VLAN_TAG_INVALID - You tried to create a VLAN, but the tag you gave was invalid -- it must be between 0 and 4094.  The parameter echoes the VLAN tag you gave.

func (PoolClass) CreateVLANFromPIFMock

func (_class PoolClass) CreateVLANFromPIFMock(sessionID SessionRef, pif PIFRef, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

func (PoolClass) CreateVLANMock

func (_class PoolClass) CreateVLANMock(sessionID SessionRef, device string, network NetworkRef, vlan int) (_retval []PIFRef, _err error)

func (PoolClass) CrlInstall

func (_class PoolClass) CrlInstall(sessionID SessionRef, name string, cert string) (_err error)

Install an SSL certificate revocation list, pool-wide.

func (PoolClass) CrlInstallMock

func (_class PoolClass) CrlInstallMock(sessionID SessionRef, name string, cert string) (_err error)

func (PoolClass) CrlList

func (_class PoolClass) CrlList(sessionID SessionRef) (_retval []string, _err error)

List all installed SSL certificate revocation lists.

func (PoolClass) CrlListMock

func (_class PoolClass) CrlListMock(sessionID SessionRef) (_retval []string, _err error)

func (PoolClass) CrlUninstall

func (_class PoolClass) CrlUninstall(sessionID SessionRef, name string) (_err error)

Remove an SSL certificate revocation list.

func (PoolClass) CrlUninstallMock

func (_class PoolClass) CrlUninstallMock(sessionID SessionRef, name string) (_err error)

func (PoolClass) DeconfigureWlb

func (_class PoolClass) DeconfigureWlb(sessionID SessionRef) (_err error)

Permanently deconfigures workload balancing monitoring on this pool

func (PoolClass) DeconfigureWlbMock

func (_class PoolClass) DeconfigureWlbMock(sessionID SessionRef) (_err error)

func (PoolClass) DesignateNewMaster

func (_class PoolClass) DesignateNewMaster(sessionID SessionRef, host HostRef) (_err error)

Perform an orderly handover of the role of master to the referenced host.

func (PoolClass) DesignateNewMasterMock

func (_class PoolClass) DesignateNewMasterMock(sessionID SessionRef, host HostRef) (_err error)

func (PoolClass) DetectNonhomogeneousExternalAuth

func (_class PoolClass) DetectNonhomogeneousExternalAuth(sessionID SessionRef, pool PoolRef) (_err error)

This call asynchronously detects if the external authentication configuration in any slave is different from that in the master and raises appropriate alerts

func (PoolClass) DetectNonhomogeneousExternalAuthMock

func (_class PoolClass) DetectNonhomogeneousExternalAuthMock(sessionID SessionRef, pool PoolRef) (_err error)

func (PoolClass) DisableExternalAuth

func (_class PoolClass) DisableExternalAuth(sessionID SessionRef, pool PoolRef, config map[string]string) (_err error)

This call disables external authentication on all the hosts of the pool

func (PoolClass) DisableExternalAuthMock

func (_class PoolClass) DisableExternalAuthMock(sessionID SessionRef, pool PoolRef, config map[string]string) (_err error)

func (PoolClass) DisableHa

func (_class PoolClass) DisableHa(sessionID SessionRef) (_err error)

Turn off High Availability mode

func (PoolClass) DisableHaMock

func (_class PoolClass) DisableHaMock(sessionID SessionRef) (_err error)

func (PoolClass) DisableLocalStorageCaching

func (_class PoolClass) DisableLocalStorageCaching(sessionID SessionRef, self PoolRef) (_err error)

This call disables pool-wide local storage caching

func (PoolClass) DisableLocalStorageCachingMock

func (_class PoolClass) DisableLocalStorageCachingMock(sessionID SessionRef, self PoolRef) (_err error)

func (PoolClass) DisableRedoLog

func (_class PoolClass) DisableRedoLog(sessionID SessionRef) (_err error)

Disable the redo log if in use, unless HA is enabled.

func (PoolClass) DisableRedoLogMock

func (_class PoolClass) DisableRedoLogMock(sessionID SessionRef) (_err error)

func (PoolClass) DisableSslLegacy

func (_class PoolClass) DisableSslLegacy(sessionID SessionRef, self PoolRef) (_err error)

Sets ssl_legacy true on each host, pool-master last. See Host.ssl_legacy and Host.set_ssl_legacy.

func (PoolClass) DisableSslLegacyMock

func (_class PoolClass) DisableSslLegacyMock(sessionID SessionRef, self PoolRef) (_err error)

func (PoolClass) Eject

func (_class PoolClass) Eject(sessionID SessionRef, host HostRef) (_err error)

Instruct a pool master to eject a host from the pool

func (PoolClass) EjectMock

func (_class PoolClass) EjectMock(sessionID SessionRef, host HostRef) (_err error)

func (PoolClass) EmergencyResetMaster

func (_class PoolClass) EmergencyResetMaster(sessionID SessionRef, masterAddress string) (_err error)

Instruct a slave already in a pool that the master has changed

func (PoolClass) EmergencyResetMasterMock

func (_class PoolClass) EmergencyResetMasterMock(sessionID SessionRef, masterAddress string) (_err error)

func (PoolClass) EmergencyTransitionToMaster

func (_class PoolClass) EmergencyTransitionToMaster(sessionID SessionRef) (_err error)

Instruct host that's currently a slave to transition to being master

func (PoolClass) EmergencyTransitionToMasterMock

func (_class PoolClass) EmergencyTransitionToMasterMock(sessionID SessionRef) (_err error)

func (PoolClass) EnableExternalAuth

func (_class PoolClass) EnableExternalAuth(sessionID SessionRef, pool PoolRef, config map[string]string, serviceName string, authType string) (_err error)

This call enables external authentication on all the hosts of the pool

func (PoolClass) EnableExternalAuthMock

func (_class PoolClass) EnableExternalAuthMock(sessionID SessionRef, pool PoolRef, config map[string]string, serviceName string, authType string) (_err error)

func (PoolClass) EnableHa

func (_class PoolClass) EnableHa(sessionID SessionRef, heartbeatSrs []SRRef, configuration map[string]string) (_err error)

Turn on High Availability mode

func (PoolClass) EnableHaMock

func (_class PoolClass) EnableHaMock(sessionID SessionRef, heartbeatSrs []SRRef, configuration map[string]string) (_err error)

func (PoolClass) EnableLocalStorageCaching

func (_class PoolClass) EnableLocalStorageCaching(sessionID SessionRef, self PoolRef) (_err error)

This call attempts to enable pool-wide local storage caching

func (PoolClass) EnableLocalStorageCachingMock

func (_class PoolClass) EnableLocalStorageCachingMock(sessionID SessionRef, self PoolRef) (_err error)

func (PoolClass) EnableRedoLog

func (_class PoolClass) EnableRedoLog(sessionID SessionRef, sr SRRef) (_err error)

Enable the redo log on the given SR and start using it, unless HA is enabled.

func (PoolClass) EnableRedoLogMock

func (_class PoolClass) EnableRedoLogMock(sessionID SessionRef, sr SRRef) (_err error)

func (PoolClass) EnableSslLegacy

func (_class PoolClass) EnableSslLegacy(sessionID SessionRef, self PoolRef) (_err error)

Sets ssl_legacy true on each host, pool-master last. See Host.ssl_legacy and Host.set_ssl_legacy.

func (PoolClass) EnableSslLegacyMock

func (_class PoolClass) EnableSslLegacyMock(sessionID SessionRef, self PoolRef) (_err error)

func (PoolClass) GetAll

func (_class PoolClass) GetAll(sessionID SessionRef) (_retval []PoolRef, _err error)

Return a list of all the pools known to the system.

func (PoolClass) GetAllMock

func (_class PoolClass) GetAllMock(sessionID SessionRef) (_retval []PoolRef, _err error)

func (PoolClass) GetAllRecords

func (_class PoolClass) GetAllRecords(sessionID SessionRef) (_retval map[PoolRef]PoolRecord, _err error)

Return a map of pool references to pool records for all pools known to the system.

func (PoolClass) GetAllRecordsMock

func (_class PoolClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PoolRef]PoolRecord, _err error)

func (PoolClass) GetAllowedOperations

func (_class PoolClass) GetAllowedOperations(sessionID SessionRef, self PoolRef) (_retval []PoolAllowedOperations, _err error)

Get the allowed_operations field of the given pool.

func (PoolClass) GetAllowedOperationsMock

func (_class PoolClass) GetAllowedOperationsMock(sessionID SessionRef, self PoolRef) (_retval []PoolAllowedOperations, _err error)

func (PoolClass) GetBlobs

func (_class PoolClass) GetBlobs(sessionID SessionRef, self PoolRef) (_retval map[string]BlobRef, _err error)

Get the blobs field of the given pool.

func (PoolClass) GetBlobsMock

func (_class PoolClass) GetBlobsMock(sessionID SessionRef, self PoolRef) (_retval map[string]BlobRef, _err error)

func (PoolClass) GetByUUID

func (_class PoolClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PoolRef, _err error)

Get a reference to the pool instance with the specified UUID.

func (PoolClass) GetByUUIDMock

func (_class PoolClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PoolRef, _err error)

func (PoolClass) GetCPUInfo

func (_class PoolClass) GetCPUInfo(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the cpu_info field of the given pool.

func (PoolClass) GetCPUInfoMock

func (_class PoolClass) GetCPUInfoMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetCrashDumpSR

func (_class PoolClass) GetCrashDumpSR(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

Get the crash_dump_SR field of the given pool.

func (PoolClass) GetCrashDumpSRMock

func (_class PoolClass) GetCrashDumpSRMock(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func (PoolClass) GetCurrentOperations

func (_class PoolClass) GetCurrentOperations(sessionID SessionRef, self PoolRef) (_retval map[string]PoolAllowedOperations, _err error)

Get the current_operations field of the given pool.

func (PoolClass) GetCurrentOperationsMock

func (_class PoolClass) GetCurrentOperationsMock(sessionID SessionRef, self PoolRef) (_retval map[string]PoolAllowedOperations, _err error)

func (PoolClass) GetDefaultSR

func (_class PoolClass) GetDefaultSR(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

Get the default_SR field of the given pool.

func (PoolClass) GetDefaultSRMock

func (_class PoolClass) GetDefaultSRMock(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func (PoolClass) GetGuestAgentConfig

func (_class PoolClass) GetGuestAgentConfig(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the guest_agent_config field of the given pool.

func (PoolClass) GetGuestAgentConfigMock

func (_class PoolClass) GetGuestAgentConfigMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetGuiConfig

func (_class PoolClass) GetGuiConfig(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the gui_config field of the given pool.

func (PoolClass) GetGuiConfigMock

func (_class PoolClass) GetGuiConfigMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetHaAllowOvercommit

func (_class PoolClass) GetHaAllowOvercommit(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the ha_allow_overcommit field of the given pool.

func (PoolClass) GetHaAllowOvercommitMock

func (_class PoolClass) GetHaAllowOvercommitMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetHaClusterStack

func (_class PoolClass) GetHaClusterStack(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the ha_cluster_stack field of the given pool.

func (PoolClass) GetHaClusterStackMock

func (_class PoolClass) GetHaClusterStackMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetHaConfiguration

func (_class PoolClass) GetHaConfiguration(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the ha_configuration field of the given pool.

func (PoolClass) GetHaConfigurationMock

func (_class PoolClass) GetHaConfigurationMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetHaEnabled

func (_class PoolClass) GetHaEnabled(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the ha_enabled field of the given pool.

func (PoolClass) GetHaEnabledMock

func (_class PoolClass) GetHaEnabledMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetHaHostFailuresToTolerate

func (_class PoolClass) GetHaHostFailuresToTolerate(sessionID SessionRef, self PoolRef) (_retval int, _err error)

Get the ha_host_failures_to_tolerate field of the given pool.

func (PoolClass) GetHaHostFailuresToTolerateMock

func (_class PoolClass) GetHaHostFailuresToTolerateMock(sessionID SessionRef, self PoolRef) (_retval int, _err error)

func (PoolClass) GetHaOvercommitted

func (_class PoolClass) GetHaOvercommitted(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the ha_overcommitted field of the given pool.

func (PoolClass) GetHaOvercommittedMock

func (_class PoolClass) GetHaOvercommittedMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetHaPlanExistsFor

func (_class PoolClass) GetHaPlanExistsFor(sessionID SessionRef, self PoolRef) (_retval int, _err error)

Get the ha_plan_exists_for field of the given pool.

func (PoolClass) GetHaPlanExistsForMock

func (_class PoolClass) GetHaPlanExistsForMock(sessionID SessionRef, self PoolRef) (_retval int, _err error)

func (PoolClass) GetHaStatefiles

func (_class PoolClass) GetHaStatefiles(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

Get the ha_statefiles field of the given pool.

func (PoolClass) GetHaStatefilesMock

func (_class PoolClass) GetHaStatefilesMock(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

func (PoolClass) GetHealthCheckConfig

func (_class PoolClass) GetHealthCheckConfig(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the health_check_config field of the given pool.

func (PoolClass) GetHealthCheckConfigMock

func (_class PoolClass) GetHealthCheckConfigMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetIgmpSnoopingEnabled

func (_class PoolClass) GetIgmpSnoopingEnabled(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the igmp_snooping_enabled field of the given pool.

func (PoolClass) GetIgmpSnoopingEnabledMock

func (_class PoolClass) GetIgmpSnoopingEnabledMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetLicenseState

func (_class PoolClass) GetLicenseState(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

This call returns the license state for the pool

func (PoolClass) GetLicenseStateMock

func (_class PoolClass) GetLicenseStateMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetLivePatchingDisabled

func (_class PoolClass) GetLivePatchingDisabled(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the live_patching_disabled field of the given pool.

func (PoolClass) GetLivePatchingDisabledMock

func (_class PoolClass) GetLivePatchingDisabledMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetMaster

func (_class PoolClass) GetMaster(sessionID SessionRef, self PoolRef) (_retval HostRef, _err error)

Get the master field of the given pool.

func (PoolClass) GetMasterMock

func (_class PoolClass) GetMasterMock(sessionID SessionRef, self PoolRef) (_retval HostRef, _err error)

func (PoolClass) GetMetadataVDIs

func (_class PoolClass) GetMetadataVDIs(sessionID SessionRef, self PoolRef) (_retval []VDIRef, _err error)

Get the metadata_VDIs field of the given pool.

func (PoolClass) GetMetadataVDIsMock

func (_class PoolClass) GetMetadataVDIsMock(sessionID SessionRef, self PoolRef) (_retval []VDIRef, _err error)

func (PoolClass) GetNameDescription

func (_class PoolClass) GetNameDescription(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the name_description field of the given pool.

func (PoolClass) GetNameDescriptionMock

func (_class PoolClass) GetNameDescriptionMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetNameLabel

func (_class PoolClass) GetNameLabel(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the name_label field of the given pool.

func (PoolClass) GetNameLabelMock

func (_class PoolClass) GetNameLabelMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetOtherConfig

func (_class PoolClass) GetOtherConfig(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the other_config field of the given pool.

func (PoolClass) GetOtherConfigMock

func (_class PoolClass) GetOtherConfigMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetPolicyNoVendorDevice

func (_class PoolClass) GetPolicyNoVendorDevice(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the policy_no_vendor_device field of the given pool.

func (PoolClass) GetPolicyNoVendorDeviceMock

func (_class PoolClass) GetPolicyNoVendorDeviceMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetRecord

func (_class PoolClass) GetRecord(sessionID SessionRef, self PoolRef) (_retval PoolRecord, _err error)

Get a record containing the current state of the given pool.

func (PoolClass) GetRecordMock

func (_class PoolClass) GetRecordMock(sessionID SessionRef, self PoolRef) (_retval PoolRecord, _err error)

func (PoolClass) GetRedoLogEnabled

func (_class PoolClass) GetRedoLogEnabled(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the redo_log_enabled field of the given pool.

func (PoolClass) GetRedoLogEnabledMock

func (_class PoolClass) GetRedoLogEnabledMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetRedoLogVdi

func (_class PoolClass) GetRedoLogVdi(sessionID SessionRef, self PoolRef) (_retval VDIRef, _err error)

Get the redo_log_vdi field of the given pool.

func (PoolClass) GetRedoLogVdiMock

func (_class PoolClass) GetRedoLogVdiMock(sessionID SessionRef, self PoolRef) (_retval VDIRef, _err error)

func (PoolClass) GetRestrictions

func (_class PoolClass) GetRestrictions(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

Get the restrictions field of the given pool.

func (PoolClass) GetRestrictionsMock

func (_class PoolClass) GetRestrictionsMock(sessionID SessionRef, self PoolRef) (_retval map[string]string, _err error)

func (PoolClass) GetSuspendImageSR

func (_class PoolClass) GetSuspendImageSR(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

Get the suspend_image_SR field of the given pool.

func (PoolClass) GetSuspendImageSRMock

func (_class PoolClass) GetSuspendImageSRMock(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func (PoolClass) GetTags

func (_class PoolClass) GetTags(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

Get the tags field of the given pool.

func (PoolClass) GetTagsMock

func (_class PoolClass) GetTagsMock(sessionID SessionRef, self PoolRef) (_retval []string, _err error)

func (PoolClass) GetUUID

func (_class PoolClass) GetUUID(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the uuid field of the given pool.

func (PoolClass) GetUUIDMock

func (_class PoolClass) GetUUIDMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetVswitchController

func (_class PoolClass) GetVswitchController(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the vswitch_controller field of the given pool.

func (PoolClass) GetVswitchControllerMock

func (_class PoolClass) GetVswitchControllerMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetWlbEnabled

func (_class PoolClass) GetWlbEnabled(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the wlb_enabled field of the given pool.

func (PoolClass) GetWlbEnabledMock

func (_class PoolClass) GetWlbEnabledMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) GetWlbURL

func (_class PoolClass) GetWlbURL(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the wlb_url field of the given pool.

func (PoolClass) GetWlbURLMock

func (_class PoolClass) GetWlbURLMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetWlbUsername

func (_class PoolClass) GetWlbUsername(sessionID SessionRef, self PoolRef) (_retval string, _err error)

Get the wlb_username field of the given pool.

func (PoolClass) GetWlbUsernameMock

func (_class PoolClass) GetWlbUsernameMock(sessionID SessionRef, self PoolRef) (_retval string, _err error)

func (PoolClass) GetWlbVerifyCert

func (_class PoolClass) GetWlbVerifyCert(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

Get the wlb_verify_cert field of the given pool.

func (PoolClass) GetWlbVerifyCertMock

func (_class PoolClass) GetWlbVerifyCertMock(sessionID SessionRef, self PoolRef) (_retval bool, _err error)

func (PoolClass) HaComputeHypotheticalMaxHostFailuresToTolerate

func (_class PoolClass) HaComputeHypotheticalMaxHostFailuresToTolerate(sessionID SessionRef, configuration map[VMRef]string) (_retval int, _err error)

Returns the maximum number of host failures we could tolerate before we would be unable to restart the provided VMs

func (PoolClass) HaComputeHypotheticalMaxHostFailuresToTolerateMock

func (_class PoolClass) HaComputeHypotheticalMaxHostFailuresToTolerateMock(sessionID SessionRef, configuration map[VMRef]string) (_retval int, _err error)

func (PoolClass) HaComputeMaxHostFailuresToTolerate

func (_class PoolClass) HaComputeMaxHostFailuresToTolerate(sessionID SessionRef) (_retval int, _err error)

Returns the maximum number of host failures we could tolerate before we would be unable to restart configured VMs

func (PoolClass) HaComputeMaxHostFailuresToTolerateMock

func (_class PoolClass) HaComputeMaxHostFailuresToTolerateMock(sessionID SessionRef) (_retval int, _err error)

func (PoolClass) HaComputeVMFailoverPlan

func (_class PoolClass) HaComputeVMFailoverPlan(sessionID SessionRef, failedHosts []HostRef, failedVms []VMRef) (_retval map[VMRef]map[string]string, _err error)

Return a VM failover plan assuming a given subset of hosts fail

func (PoolClass) HaComputeVMFailoverPlanMock

func (_class PoolClass) HaComputeVMFailoverPlanMock(sessionID SessionRef, failedHosts []HostRef, failedVms []VMRef) (_retval map[VMRef]map[string]string, _err error)

func (PoolClass) HaFailoverPlanExists

func (_class PoolClass) HaFailoverPlanExists(sessionID SessionRef, n int) (_retval bool, _err error)

Returns true if a VM failover plan exists for up to 'n' host failures

func (PoolClass) HaFailoverPlanExistsMock

func (_class PoolClass) HaFailoverPlanExistsMock(sessionID SessionRef, n int) (_retval bool, _err error)

func (PoolClass) HaPreventRestartsFor

func (_class PoolClass) HaPreventRestartsFor(sessionID SessionRef, seconds int) (_err error)

When this call returns the VM restart logic will not run for the requested number of seconds. If the argument is zero then the restart thread is immediately unblocked

func (PoolClass) HaPreventRestartsForMock

func (_class PoolClass) HaPreventRestartsForMock(sessionID SessionRef, seconds int) (_err error)

func (PoolClass) HasExtension

func (_class PoolClass) HasExtension(sessionID SessionRef, self PoolRef, name string) (_retval bool, _err error)

Return true if the extension is available on the pool

func (PoolClass) HasExtensionMock

func (_class PoolClass) HasExtensionMock(sessionID SessionRef, self PoolRef, name string) (_retval bool, _err error)

func (PoolClass) InitializeWlb

func (_class PoolClass) InitializeWlb(sessionID SessionRef, wlbURL string, wlbUsername string, wlbPassword string, xenserverUsername string, xenserverPassword string) (_err error)

Initializes workload balancing monitoring on this pool with the specified wlb server

func (PoolClass) InitializeWlbMock

func (_class PoolClass) InitializeWlbMock(sessionID SessionRef, wlbURL string, wlbUsername string, wlbPassword string, xenserverUsername string, xenserverPassword string) (_err error)

func (PoolClass) Join

func (_class PoolClass) Join(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

Instruct host to join a new pool

Errors:

JOINING_HOST_CANNOT_CONTAIN_SHARED_SRS - The host joining the pool cannot contain any shared storage.

func (PoolClass) JoinForce

func (_class PoolClass) JoinForce(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

Instruct host to join a new pool

func (PoolClass) JoinForceMock

func (_class PoolClass) JoinForceMock(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

func (PoolClass) JoinMock

func (_class PoolClass) JoinMock(sessionID SessionRef, masterAddress string, masterUsername string, masterPassword string) (_err error)

func (PoolClass) ManagementReconfigure

func (_class PoolClass) ManagementReconfigure(sessionID SessionRef, network NetworkRef) (_err error)

Reconfigure the management network interface for all Hosts in the Pool

Errors:

HA_IS_ENABLED - The operation could not be performed because HA is enabled on the Pool
PIF_NOT_PRESENT - This host has no PIF on the given network.
CANNOT_PLUG_BOND_SLAVE - This PIF is a bond slave and cannot be plugged.
PIF_INCOMPATIBLE_PRIMARY_ADDRESS_TYPE - The primary address types are not compatible
PIF_HAS_NO_NETWORK_CONFIGURATION - PIF has no IP configuration (mode currently set to 'none')
PIF_HAS_NO_V6_NETWORK_CONFIGURATION - PIF has no IPv6 configuration (mode currently set to 'none')

func (PoolClass) ManagementReconfigureMock

func (_class PoolClass) ManagementReconfigureMock(sessionID SessionRef, network NetworkRef) (_err error)

func (PoolClass) RecoverSlaves

func (_class PoolClass) RecoverSlaves(sessionID SessionRef) (_retval []HostRef, _err error)

Instruct a pool master, M, to try and contact its slaves and, if slaves are in emergency mode, reset their master address to M.

func (PoolClass) RecoverSlavesMock

func (_class PoolClass) RecoverSlavesMock(sessionID SessionRef) (_retval []HostRef, _err error)

func (PoolClass) RemoveFromGuestAgentConfig

func (_class PoolClass) RemoveFromGuestAgentConfig(sessionID SessionRef, self PoolRef, key string) (_err error)

Remove a key-value pair from the pool-wide guest agent configuration

func (PoolClass) RemoveFromGuestAgentConfigMock

func (_class PoolClass) RemoveFromGuestAgentConfigMock(sessionID SessionRef, self PoolRef, key string) (_err error)

func (PoolClass) RemoveFromGuiConfig

func (_class PoolClass) RemoveFromGuiConfig(sessionID SessionRef, self PoolRef, key string) (_err error)

Remove the given key and its corresponding value from the gui_config field of the given pool. If the key is not in that Map, then do nothing.

func (PoolClass) RemoveFromGuiConfigMock

func (_class PoolClass) RemoveFromGuiConfigMock(sessionID SessionRef, self PoolRef, key string) (_err error)

func (PoolClass) RemoveFromHealthCheckConfig

func (_class PoolClass) RemoveFromHealthCheckConfig(sessionID SessionRef, self PoolRef, key string) (_err error)

Remove the given key and its corresponding value from the health_check_config field of the given pool. If the key is not in that Map, then do nothing.

func (PoolClass) RemoveFromHealthCheckConfigMock

func (_class PoolClass) RemoveFromHealthCheckConfigMock(sessionID SessionRef, self PoolRef, key string) (_err error)

func (PoolClass) RemoveFromOtherConfig

func (_class PoolClass) RemoveFromOtherConfig(sessionID SessionRef, self PoolRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given pool. If the key is not in that Map, then do nothing.

func (PoolClass) RemoveFromOtherConfigMock

func (_class PoolClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PoolRef, key string) (_err error)

func (PoolClass) RemoveTags

func (_class PoolClass) RemoveTags(sessionID SessionRef, self PoolRef, value string) (_err error)

Remove the given value from the tags field of the given pool. If the value is not in that Set, then do nothing.

func (PoolClass) RemoveTagsMock

func (_class PoolClass) RemoveTagsMock(sessionID SessionRef, self PoolRef, value string) (_err error)

func (PoolClass) RetrieveWlbConfiguration

func (_class PoolClass) RetrieveWlbConfiguration(sessionID SessionRef) (_retval map[string]string, _err error)

Retrieves the pool optimization criteria from the workload balancing server

func (PoolClass) RetrieveWlbConfigurationMock

func (_class PoolClass) RetrieveWlbConfigurationMock(sessionID SessionRef) (_retval map[string]string, _err error)

func (PoolClass) RetrieveWlbRecommendations

func (_class PoolClass) RetrieveWlbRecommendations(sessionID SessionRef) (_retval map[VMRef][]string, _err error)

Retrieves vm migrate recommendations for the pool from the workload balancing server

func (PoolClass) RetrieveWlbRecommendationsMock

func (_class PoolClass) RetrieveWlbRecommendationsMock(sessionID SessionRef) (_retval map[VMRef][]string, _err error)

func (PoolClass) SendTestPost

func (_class PoolClass) SendTestPost(sessionID SessionRef, host string, port int, body string) (_retval string, _err error)

Send the given body to the given host and port, using HTTPS, and print the response. This is used for debugging the SSL layer.

func (PoolClass) SendTestPostMock

func (_class PoolClass) SendTestPostMock(sessionID SessionRef, host string, port int, body string) (_retval string, _err error)

func (PoolClass) SendWlbConfiguration

func (_class PoolClass) SendWlbConfiguration(sessionID SessionRef, config map[string]string) (_err error)

Sets the pool optimization criteria for the workload balancing server

func (PoolClass) SendWlbConfigurationMock

func (_class PoolClass) SendWlbConfigurationMock(sessionID SessionRef, config map[string]string) (_err error)

func (PoolClass) SetCrashDumpSR

func (_class PoolClass) SetCrashDumpSR(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

Set the crash_dump_SR field of the given pool.

func (PoolClass) SetCrashDumpSRMock

func (_class PoolClass) SetCrashDumpSRMock(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func (PoolClass) SetDefaultSR

func (_class PoolClass) SetDefaultSR(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

Set the default_SR field of the given pool.

func (PoolClass) SetDefaultSRMock

func (_class PoolClass) SetDefaultSRMock(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func (PoolClass) SetGuiConfig

func (_class PoolClass) SetGuiConfig(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

Set the gui_config field of the given pool.

func (PoolClass) SetGuiConfigMock

func (_class PoolClass) SetGuiConfigMock(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func (PoolClass) SetHaAllowOvercommit

func (_class PoolClass) SetHaAllowOvercommit(sessionID SessionRef, self PoolRef, value bool) (_err error)

Set the ha_allow_overcommit field of the given pool.

func (PoolClass) SetHaAllowOvercommitMock

func (_class PoolClass) SetHaAllowOvercommitMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SetHaHostFailuresToTolerate

func (_class PoolClass) SetHaHostFailuresToTolerate(sessionID SessionRef, self PoolRef, value int) (_err error)

Set the maximum number of host failures to consider in the HA VM restart planner

func (PoolClass) SetHaHostFailuresToTolerateMock

func (_class PoolClass) SetHaHostFailuresToTolerateMock(sessionID SessionRef, self PoolRef, value int) (_err error)

func (PoolClass) SetHealthCheckConfig

func (_class PoolClass) SetHealthCheckConfig(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

Set the health_check_config field of the given pool.

func (PoolClass) SetHealthCheckConfigMock

func (_class PoolClass) SetHealthCheckConfigMock(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func (PoolClass) SetIgmpSnoopingEnabled

func (_class PoolClass) SetIgmpSnoopingEnabled(sessionID SessionRef, self PoolRef, value bool) (_err error)

Enable or disable IGMP Snooping on the pool.

func (PoolClass) SetIgmpSnoopingEnabledMock

func (_class PoolClass) SetIgmpSnoopingEnabledMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SetLivePatchingDisabled

func (_class PoolClass) SetLivePatchingDisabled(sessionID SessionRef, self PoolRef, value bool) (_err error)

Set the live_patching_disabled field of the given pool.

func (PoolClass) SetLivePatchingDisabledMock

func (_class PoolClass) SetLivePatchingDisabledMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SetNameDescription

func (_class PoolClass) SetNameDescription(sessionID SessionRef, self PoolRef, value string) (_err error)

Set the name_description field of the given pool.

func (PoolClass) SetNameDescriptionMock

func (_class PoolClass) SetNameDescriptionMock(sessionID SessionRef, self PoolRef, value string) (_err error)

func (PoolClass) SetNameLabel

func (_class PoolClass) SetNameLabel(sessionID SessionRef, self PoolRef, value string) (_err error)

Set the name_label field of the given pool.

func (PoolClass) SetNameLabelMock

func (_class PoolClass) SetNameLabelMock(sessionID SessionRef, self PoolRef, value string) (_err error)

func (PoolClass) SetOtherConfig

func (_class PoolClass) SetOtherConfig(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

Set the other_config field of the given pool.

func (PoolClass) SetOtherConfigMock

func (_class PoolClass) SetOtherConfigMock(sessionID SessionRef, self PoolRef, value map[string]string) (_err error)

func (PoolClass) SetPolicyNoVendorDevice

func (_class PoolClass) SetPolicyNoVendorDevice(sessionID SessionRef, self PoolRef, value bool) (_err error)

Set the policy_no_vendor_device field of the given pool.

func (PoolClass) SetPolicyNoVendorDeviceMock

func (_class PoolClass) SetPolicyNoVendorDeviceMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SetSuspendImageSR

func (_class PoolClass) SetSuspendImageSR(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

Set the suspend_image_SR field of the given pool.

func (PoolClass) SetSuspendImageSRMock

func (_class PoolClass) SetSuspendImageSRMock(sessionID SessionRef, self PoolRef, value SRRef) (_err error)

func (PoolClass) SetTags

func (_class PoolClass) SetTags(sessionID SessionRef, self PoolRef, value []string) (_err error)

Set the tags field of the given pool.

func (PoolClass) SetTagsMock

func (_class PoolClass) SetTagsMock(sessionID SessionRef, self PoolRef, value []string) (_err error)

func (PoolClass) SetVswitchController

func (_class PoolClass) SetVswitchController(sessionID SessionRef, address string) (_err error)

Set the IP address of the vswitch controller.

func (PoolClass) SetVswitchControllerMock

func (_class PoolClass) SetVswitchControllerMock(sessionID SessionRef, address string) (_err error)

func (PoolClass) SetWlbEnabled

func (_class PoolClass) SetWlbEnabled(sessionID SessionRef, self PoolRef, value bool) (_err error)

Set the wlb_enabled field of the given pool.

func (PoolClass) SetWlbEnabledMock

func (_class PoolClass) SetWlbEnabledMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SetWlbVerifyCert

func (_class PoolClass) SetWlbVerifyCert(sessionID SessionRef, self PoolRef, value bool) (_err error)

Set the wlb_verify_cert field of the given pool.

func (PoolClass) SetWlbVerifyCertMock

func (_class PoolClass) SetWlbVerifyCertMock(sessionID SessionRef, self PoolRef, value bool) (_err error)

func (PoolClass) SyncDatabase

func (_class PoolClass) SyncDatabase(sessionID SessionRef) (_err error)

Forcibly synchronise the database now

func (PoolClass) SyncDatabaseMock

func (_class PoolClass) SyncDatabaseMock(sessionID SessionRef) (_err error)

func (PoolClass) TestArchiveTarget

func (_class PoolClass) TestArchiveTarget(sessionID SessionRef, self PoolRef, config map[string]string) (_retval string, _err error)

This call tests if a location is valid

func (PoolClass) TestArchiveTargetMock

func (_class PoolClass) TestArchiveTargetMock(sessionID SessionRef, self PoolRef, config map[string]string) (_retval string, _err error)

type PoolPatchClass

type PoolPatchClass struct {
	// contains filtered or unexported fields
}

Pool-wide patches

func (PoolPatchClass) AddToOtherConfig

func (_class PoolPatchClass) AddToOtherConfig(sessionID SessionRef, self PoolPatchRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given pool_patch.

func (PoolPatchClass) AddToOtherConfigMock

func (_class PoolPatchClass) AddToOtherConfigMock(sessionID SessionRef, self PoolPatchRef, key string, value string) (_err error)

func (PoolPatchClass) Apply

func (_class PoolPatchClass) Apply(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

Apply the selected patch to a host and return its output

func (PoolPatchClass) ApplyMock

func (_class PoolPatchClass) ApplyMock(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

func (PoolPatchClass) Clean

func (_class PoolPatchClass) Clean(sessionID SessionRef, self PoolPatchRef) (_err error)

Removes the patch's files from the server

func (PoolPatchClass) CleanMock

func (_class PoolPatchClass) CleanMock(sessionID SessionRef, self PoolPatchRef) (_err error)

func (PoolPatchClass) CleanOnHost

func (_class PoolPatchClass) CleanOnHost(sessionID SessionRef, self PoolPatchRef, host HostRef) (_err error)

Removes the patch's files from the specified host

func (PoolPatchClass) CleanOnHostMock

func (_class PoolPatchClass) CleanOnHostMock(sessionID SessionRef, self PoolPatchRef, host HostRef) (_err error)

func (PoolPatchClass) Destroy

func (_class PoolPatchClass) Destroy(sessionID SessionRef, self PoolPatchRef) (_err error)

Removes the patch's files from all hosts in the pool, and removes the database entries. Only works on unapplied patches.

func (PoolPatchClass) DestroyMock

func (_class PoolPatchClass) DestroyMock(sessionID SessionRef, self PoolPatchRef) (_err error)

func (PoolPatchClass) GetAfterApplyGuidance

func (_class PoolPatchClass) GetAfterApplyGuidance(sessionID SessionRef, self PoolPatchRef) (_retval []AfterApplyGuidance, _err error)

Get the after_apply_guidance field of the given pool_patch.

func (PoolPatchClass) GetAfterApplyGuidanceMock

func (_class PoolPatchClass) GetAfterApplyGuidanceMock(sessionID SessionRef, self PoolPatchRef) (_retval []AfterApplyGuidance, _err error)

func (PoolPatchClass) GetAll

func (_class PoolPatchClass) GetAll(sessionID SessionRef) (_retval []PoolPatchRef, _err error)

Return a list of all the pool_patchs known to the system.

func (PoolPatchClass) GetAllMock

func (_class PoolPatchClass) GetAllMock(sessionID SessionRef) (_retval []PoolPatchRef, _err error)

func (PoolPatchClass) GetAllRecords

func (_class PoolPatchClass) GetAllRecords(sessionID SessionRef) (_retval map[PoolPatchRef]PoolPatchRecord, _err error)

Return a map of pool_patch references to pool_patch records for all pool_patchs known to the system.

func (PoolPatchClass) GetAllRecordsMock

func (_class PoolPatchClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PoolPatchRef]PoolPatchRecord, _err error)

func (PoolPatchClass) GetByNameLabel

func (_class PoolPatchClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []PoolPatchRef, _err error)

Get all the pool_patch instances with the given label.

func (PoolPatchClass) GetByNameLabelMock

func (_class PoolPatchClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []PoolPatchRef, _err error)

func (PoolPatchClass) GetByUUID

func (_class PoolPatchClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PoolPatchRef, _err error)

Get a reference to the pool_patch instance with the specified UUID.

func (PoolPatchClass) GetByUUIDMock

func (_class PoolPatchClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PoolPatchRef, _err error)

func (PoolPatchClass) GetHostPatches

func (_class PoolPatchClass) GetHostPatches(sessionID SessionRef, self PoolPatchRef) (_retval []HostPatchRef, _err error)

Get the host_patches field of the given pool_patch.

func (PoolPatchClass) GetHostPatchesMock

func (_class PoolPatchClass) GetHostPatchesMock(sessionID SessionRef, self PoolPatchRef) (_retval []HostPatchRef, _err error)

func (PoolPatchClass) GetNameDescription

func (_class PoolPatchClass) GetNameDescription(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

Get the name/description field of the given pool_patch.

func (PoolPatchClass) GetNameDescriptionMock

func (_class PoolPatchClass) GetNameDescriptionMock(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func (PoolPatchClass) GetNameLabel

func (_class PoolPatchClass) GetNameLabel(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

Get the name/label field of the given pool_patch.

func (PoolPatchClass) GetNameLabelMock

func (_class PoolPatchClass) GetNameLabelMock(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func (PoolPatchClass) GetOtherConfig

func (_class PoolPatchClass) GetOtherConfig(sessionID SessionRef, self PoolPatchRef) (_retval map[string]string, _err error)

Get the other_config field of the given pool_patch.

func (PoolPatchClass) GetOtherConfigMock

func (_class PoolPatchClass) GetOtherConfigMock(sessionID SessionRef, self PoolPatchRef) (_retval map[string]string, _err error)

func (PoolPatchClass) GetPoolApplied

func (_class PoolPatchClass) GetPoolApplied(sessionID SessionRef, self PoolPatchRef) (_retval bool, _err error)

Get the pool_applied field of the given pool_patch.

func (PoolPatchClass) GetPoolAppliedMock

func (_class PoolPatchClass) GetPoolAppliedMock(sessionID SessionRef, self PoolPatchRef) (_retval bool, _err error)

func (PoolPatchClass) GetPoolUpdate

func (_class PoolPatchClass) GetPoolUpdate(sessionID SessionRef, self PoolPatchRef) (_retval PoolUpdateRef, _err error)

Get the pool_update field of the given pool_patch.

func (PoolPatchClass) GetPoolUpdateMock

func (_class PoolPatchClass) GetPoolUpdateMock(sessionID SessionRef, self PoolPatchRef) (_retval PoolUpdateRef, _err error)

func (PoolPatchClass) GetRecord

func (_class PoolPatchClass) GetRecord(sessionID SessionRef, self PoolPatchRef) (_retval PoolPatchRecord, _err error)

Get a record containing the current state of the given pool_patch.

func (PoolPatchClass) GetRecordMock

func (_class PoolPatchClass) GetRecordMock(sessionID SessionRef, self PoolPatchRef) (_retval PoolPatchRecord, _err error)

func (PoolPatchClass) GetSize

func (_class PoolPatchClass) GetSize(sessionID SessionRef, self PoolPatchRef) (_retval int, _err error)

Get the size field of the given pool_patch.

func (PoolPatchClass) GetSizeMock

func (_class PoolPatchClass) GetSizeMock(sessionID SessionRef, self PoolPatchRef) (_retval int, _err error)

func (PoolPatchClass) GetUUID

func (_class PoolPatchClass) GetUUID(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

Get the uuid field of the given pool_patch.

func (PoolPatchClass) GetUUIDMock

func (_class PoolPatchClass) GetUUIDMock(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func (PoolPatchClass) GetVersion

func (_class PoolPatchClass) GetVersion(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

Get the version field of the given pool_patch.

func (PoolPatchClass) GetVersionMock

func (_class PoolPatchClass) GetVersionMock(sessionID SessionRef, self PoolPatchRef) (_retval string, _err error)

func (PoolPatchClass) PoolApply

func (_class PoolPatchClass) PoolApply(sessionID SessionRef, self PoolPatchRef) (_err error)

Apply the selected patch to all hosts in the pool and return a map of host_ref -> patch output

func (PoolPatchClass) PoolApplyMock

func (_class PoolPatchClass) PoolApplyMock(sessionID SessionRef, self PoolPatchRef) (_err error)

func (PoolPatchClass) PoolClean

func (_class PoolPatchClass) PoolClean(sessionID SessionRef, self PoolPatchRef) (_err error)

Removes the patch's files from all hosts in the pool, but does not remove the database entries

func (PoolPatchClass) PoolCleanMock

func (_class PoolPatchClass) PoolCleanMock(sessionID SessionRef, self PoolPatchRef) (_err error)

func (PoolPatchClass) Precheck

func (_class PoolPatchClass) Precheck(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

Execute the precheck stage of the selected patch on a host and return its output

func (PoolPatchClass) PrecheckMock

func (_class PoolPatchClass) PrecheckMock(sessionID SessionRef, self PoolPatchRef, host HostRef) (_retval string, _err error)

func (PoolPatchClass) RemoveFromOtherConfig

func (_class PoolPatchClass) RemoveFromOtherConfig(sessionID SessionRef, self PoolPatchRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given pool_patch. If the key is not in that Map, then do nothing.

func (PoolPatchClass) RemoveFromOtherConfigMock

func (_class PoolPatchClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PoolPatchRef, key string) (_err error)

func (PoolPatchClass) SetOtherConfig

func (_class PoolPatchClass) SetOtherConfig(sessionID SessionRef, self PoolPatchRef, value map[string]string) (_err error)

Set the other_config field of the given pool_patch.

func (PoolPatchClass) SetOtherConfigMock

func (_class PoolPatchClass) SetOtherConfigMock(sessionID SessionRef, self PoolPatchRef, value map[string]string) (_err error)

type PoolPatchRecord

type PoolPatchRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Patch version number
	Version string
	// Size of the patch
	Size int
	// This patch should be applied across the entire pool
	PoolApplied bool
	// This hosts this patch is applied to.
	HostPatches []HostPatchRef
	// What the client should do after this patch has been applied.
	AfterApplyGuidance []AfterApplyGuidance
	// A reference to the associated pool_update object
	PoolUpdate PoolUpdateRef
	// additional configuration
	OtherConfig map[string]string
}

func PoolPatchClassGetRecordMockDefault

func PoolPatchClassGetRecordMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval PoolPatchRecord, _err error)

type PoolPatchRef

type PoolPatchRef string

func HostPatchClassGetPoolPatchMockDefault

func HostPatchClassGetPoolPatchMockDefault(sessionID SessionRef, self HostPatchRef) (_retval PoolPatchRef, _err error)

func PoolPatchClassGetAllMockDefault

func PoolPatchClassGetAllMockDefault(sessionID SessionRef) (_retval []PoolPatchRef, _err error)

func PoolPatchClassGetByNameLabelMockDefault

func PoolPatchClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []PoolPatchRef, _err error)

func PoolPatchClassGetByUUIDMockDefault

func PoolPatchClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PoolPatchRef, _err error)

type PoolRecord

type PoolRecord struct {
	// Unique identifier/object reference
	UUID string
	// Short name
	NameLabel string
	// Description
	NameDescription string
	// The host that is pool master
	Master HostRef
	// Default SR for VDIs
	DefaultSR SRRef
	// The SR in which VDIs for suspend images are created
	SuspendImageSR SRRef
	// The SR in which VDIs for crash dumps are created
	CrashDumpSR SRRef
	// additional configuration
	OtherConfig map[string]string
	// true if HA is enabled on the pool, false otherwise
	HaEnabled bool
	// The current HA configuration
	HaConfiguration map[string]string
	// HA statefile VDIs in use
	HaStatefiles []string
	// Number of host failures to tolerate before the Pool is declared to be overcommitted
	HaHostFailuresToTolerate int
	// Number of future host failures we have managed to find a plan for. Once this reaches zero any future host failures will cause the failure of protected VMs.
	HaPlanExistsFor int
	// If set to false then operations which would cause the Pool to become overcommitted will be blocked.
	HaAllowOvercommit bool
	// True if the Pool is considered to be overcommitted i.e. if there exist insufficient physical resources to tolerate the configured number of host failures
	HaOvercommitted bool
	// Binary blobs associated with this pool
	Blobs map[string]BlobRef
	// user-specified tags for categorization purposes
	Tags []string
	// gui-specific configuration for pool
	GuiConfig map[string]string
	// Configuration for the automatic health check feature
	HealthCheckConfig map[string]string
	// Url for the configured workload balancing host
	WlbURL string
	// Username for accessing the workload balancing host
	WlbUsername string
	// true if workload balancing is enabled on the pool, false otherwise
	WlbEnabled bool
	// true if communication with the WLB server should enforce SSL certificate verification.
	WlbVerifyCert bool
	// true a redo-log is to be used other than when HA is enabled, false otherwise
	RedoLogEnabled bool
	// indicates the VDI to use for the redo-log other than when HA is enabled
	RedoLogVdi VDIRef
	// address of the vswitch controller
	VswitchController string
	// Pool-wide restrictions currently in effect
	Restrictions map[string]string
	// The set of currently known metadata VDIs for this pool
	MetadataVDIs []VDIRef
	// The HA cluster stack that is currently in use. Only valid when HA is enabled.
	HaClusterStack string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []PoolAllowedOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]PoolAllowedOperations
	// Pool-wide guest agent configuration information
	GuestAgentConfig map[string]string
	// Details about the physical CPUs on the pool
	CPUInfo map[string]string
	// The pool-wide policy for clients on whether to use the vendor device or not on newly created VMs. This field will also be consulted if the 'has_vendor_device' field is not specified in the VM.create call.
	PolicyNoVendorDevice bool
	// The pool-wide flag to show if the live patching feauture is disabled or not.
	LivePatchingDisabled bool
	// true if IGMP snooping is enabled in the pool, false otherwise.
	IgmpSnoopingEnabled bool
}

func PoolClassGetRecordMockDefault

func PoolClassGetRecordMockDefault(sessionID SessionRef, self PoolRef) (_retval PoolRecord, _err error)

type PoolRef

type PoolRef string

func PoolClassGetAllMockDefault

func PoolClassGetAllMockDefault(sessionID SessionRef) (_retval []PoolRef, _err error)

func PoolClassGetByUUIDMockDefault

func PoolClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PoolRef, _err error)

func VDIClassGetMetadataOfPoolMockDefault

func VDIClassGetMetadataOfPoolMockDefault(sessionID SessionRef, self VDIRef) (_retval PoolRef, _err error)

type PoolUpdateClass

type PoolUpdateClass struct {
	// contains filtered or unexported fields
}

Pool-wide updates to the host software

func (PoolUpdateClass) AddToOtherConfig

func (_class PoolUpdateClass) AddToOtherConfig(sessionID SessionRef, self PoolUpdateRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given pool_update.

func (PoolUpdateClass) AddToOtherConfigMock

func (_class PoolUpdateClass) AddToOtherConfigMock(sessionID SessionRef, self PoolUpdateRef, key string, value string) (_err error)

func (PoolUpdateClass) Apply

func (_class PoolUpdateClass) Apply(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_err error)

Apply the selected update to a host

func (PoolUpdateClass) ApplyMock

func (_class PoolUpdateClass) ApplyMock(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_err error)

func (PoolUpdateClass) Destroy

func (_class PoolUpdateClass) Destroy(sessionID SessionRef, self PoolUpdateRef) (_err error)

Removes the database entry. Only works on unapplied update.

func (PoolUpdateClass) DestroyMock

func (_class PoolUpdateClass) DestroyMock(sessionID SessionRef, self PoolUpdateRef) (_err error)

func (PoolUpdateClass) GetAfterApplyGuidance

func (_class PoolUpdateClass) GetAfterApplyGuidance(sessionID SessionRef, self PoolUpdateRef) (_retval []UpdateAfterApplyGuidance, _err error)

Get the after_apply_guidance field of the given pool_update.

func (PoolUpdateClass) GetAfterApplyGuidanceMock

func (_class PoolUpdateClass) GetAfterApplyGuidanceMock(sessionID SessionRef, self PoolUpdateRef) (_retval []UpdateAfterApplyGuidance, _err error)

func (PoolUpdateClass) GetAll

func (_class PoolUpdateClass) GetAll(sessionID SessionRef) (_retval []PoolUpdateRef, _err error)

Return a list of all the pool_updates known to the system.

func (PoolUpdateClass) GetAllMock

func (_class PoolUpdateClass) GetAllMock(sessionID SessionRef) (_retval []PoolUpdateRef, _err error)

func (PoolUpdateClass) GetAllRecords

func (_class PoolUpdateClass) GetAllRecords(sessionID SessionRef) (_retval map[PoolUpdateRef]PoolUpdateRecord, _err error)

Return a map of pool_update references to pool_update records for all pool_updates known to the system.

func (PoolUpdateClass) GetAllRecordsMock

func (_class PoolUpdateClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[PoolUpdateRef]PoolUpdateRecord, _err error)

func (PoolUpdateClass) GetByNameLabel

func (_class PoolUpdateClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []PoolUpdateRef, _err error)

Get all the pool_update instances with the given label.

func (PoolUpdateClass) GetByNameLabelMock

func (_class PoolUpdateClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []PoolUpdateRef, _err error)

func (PoolUpdateClass) GetByUUID

func (_class PoolUpdateClass) GetByUUID(sessionID SessionRef, uuid string) (_retval PoolUpdateRef, _err error)

Get a reference to the pool_update instance with the specified UUID.

func (PoolUpdateClass) GetByUUIDMock

func (_class PoolUpdateClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval PoolUpdateRef, _err error)

func (PoolUpdateClass) GetEnforceHomogeneity

func (_class PoolUpdateClass) GetEnforceHomogeneity(sessionID SessionRef, self PoolUpdateRef) (_retval bool, _err error)

Get the enforce_homogeneity field of the given pool_update.

func (PoolUpdateClass) GetEnforceHomogeneityMock

func (_class PoolUpdateClass) GetEnforceHomogeneityMock(sessionID SessionRef, self PoolUpdateRef) (_retval bool, _err error)

func (PoolUpdateClass) GetHosts

func (_class PoolUpdateClass) GetHosts(sessionID SessionRef, self PoolUpdateRef) (_retval []HostRef, _err error)

Get the hosts field of the given pool_update.

func (PoolUpdateClass) GetHostsMock

func (_class PoolUpdateClass) GetHostsMock(sessionID SessionRef, self PoolUpdateRef) (_retval []HostRef, _err error)

func (PoolUpdateClass) GetInstallationSize

func (_class PoolUpdateClass) GetInstallationSize(sessionID SessionRef, self PoolUpdateRef) (_retval int, _err error)

Get the installation_size field of the given pool_update.

func (PoolUpdateClass) GetInstallationSizeMock

func (_class PoolUpdateClass) GetInstallationSizeMock(sessionID SessionRef, self PoolUpdateRef) (_retval int, _err error)

func (PoolUpdateClass) GetKey

func (_class PoolUpdateClass) GetKey(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

Get the key field of the given pool_update.

func (PoolUpdateClass) GetKeyMock

func (_class PoolUpdateClass) GetKeyMock(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func (PoolUpdateClass) GetNameDescription

func (_class PoolUpdateClass) GetNameDescription(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

Get the name/description field of the given pool_update.

func (PoolUpdateClass) GetNameDescriptionMock

func (_class PoolUpdateClass) GetNameDescriptionMock(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func (PoolUpdateClass) GetNameLabel

func (_class PoolUpdateClass) GetNameLabel(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

Get the name/label field of the given pool_update.

func (PoolUpdateClass) GetNameLabelMock

func (_class PoolUpdateClass) GetNameLabelMock(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func (PoolUpdateClass) GetOtherConfig

func (_class PoolUpdateClass) GetOtherConfig(sessionID SessionRef, self PoolUpdateRef) (_retval map[string]string, _err error)

Get the other_config field of the given pool_update.

func (PoolUpdateClass) GetOtherConfigMock

func (_class PoolUpdateClass) GetOtherConfigMock(sessionID SessionRef, self PoolUpdateRef) (_retval map[string]string, _err error)

func (PoolUpdateClass) GetRecord

func (_class PoolUpdateClass) GetRecord(sessionID SessionRef, self PoolUpdateRef) (_retval PoolUpdateRecord, _err error)

Get a record containing the current state of the given pool_update.

func (PoolUpdateClass) GetRecordMock

func (_class PoolUpdateClass) GetRecordMock(sessionID SessionRef, self PoolUpdateRef) (_retval PoolUpdateRecord, _err error)

func (PoolUpdateClass) GetUUID

func (_class PoolUpdateClass) GetUUID(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

Get the uuid field of the given pool_update.

func (PoolUpdateClass) GetUUIDMock

func (_class PoolUpdateClass) GetUUIDMock(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func (PoolUpdateClass) GetVdi

func (_class PoolUpdateClass) GetVdi(sessionID SessionRef, self PoolUpdateRef) (_retval VDIRef, _err error)

Get the vdi field of the given pool_update.

func (PoolUpdateClass) GetVdiMock

func (_class PoolUpdateClass) GetVdiMock(sessionID SessionRef, self PoolUpdateRef) (_retval VDIRef, _err error)

func (PoolUpdateClass) GetVersion

func (_class PoolUpdateClass) GetVersion(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

Get the version field of the given pool_update.

func (PoolUpdateClass) GetVersionMock

func (_class PoolUpdateClass) GetVersionMock(sessionID SessionRef, self PoolUpdateRef) (_retval string, _err error)

func (PoolUpdateClass) Introduce

func (_class PoolUpdateClass) Introduce(sessionID SessionRef, vdi VDIRef) (_retval PoolUpdateRef, _err error)

Introduce update VDI

func (PoolUpdateClass) IntroduceMock

func (_class PoolUpdateClass) IntroduceMock(sessionID SessionRef, vdi VDIRef) (_retval PoolUpdateRef, _err error)

func (PoolUpdateClass) PoolApply

func (_class PoolUpdateClass) PoolApply(sessionID SessionRef, self PoolUpdateRef) (_err error)

Apply the selected update to all hosts in the pool

func (PoolUpdateClass) PoolApplyMock

func (_class PoolUpdateClass) PoolApplyMock(sessionID SessionRef, self PoolUpdateRef) (_err error)

func (PoolUpdateClass) PoolClean

func (_class PoolUpdateClass) PoolClean(sessionID SessionRef, self PoolUpdateRef) (_err error)

Removes the update's files from all hosts in the pool, but does not revert the update

func (PoolUpdateClass) PoolCleanMock

func (_class PoolUpdateClass) PoolCleanMock(sessionID SessionRef, self PoolUpdateRef) (_err error)

func (PoolUpdateClass) Precheck

func (_class PoolUpdateClass) Precheck(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_retval LivepatchStatus, _err error)

Execute the precheck stage of the selected update on a host

func (PoolUpdateClass) PrecheckMock

func (_class PoolUpdateClass) PrecheckMock(sessionID SessionRef, self PoolUpdateRef, host HostRef) (_retval LivepatchStatus, _err error)

func (PoolUpdateClass) RemoveFromOtherConfig

func (_class PoolUpdateClass) RemoveFromOtherConfig(sessionID SessionRef, self PoolUpdateRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given pool_update. If the key is not in that Map, then do nothing.

func (PoolUpdateClass) RemoveFromOtherConfigMock

func (_class PoolUpdateClass) RemoveFromOtherConfigMock(sessionID SessionRef, self PoolUpdateRef, key string) (_err error)

func (PoolUpdateClass) SetOtherConfig

func (_class PoolUpdateClass) SetOtherConfig(sessionID SessionRef, self PoolUpdateRef, value map[string]string) (_err error)

Set the other_config field of the given pool_update.

func (PoolUpdateClass) SetOtherConfigMock

func (_class PoolUpdateClass) SetOtherConfigMock(sessionID SessionRef, self PoolUpdateRef, value map[string]string) (_err error)

type PoolUpdateRecord

type PoolUpdateRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Update version number
	Version string
	// Size of the update in bytes
	InstallationSize int
	// GPG key of the update
	Key string
	// What the client should do after this update has been applied.
	AfterApplyGuidance []UpdateAfterApplyGuidance
	// VDI the update was uploaded to
	Vdi VDIRef
	// The hosts that have applied this update.
	Hosts []HostRef
	// additional configuration
	OtherConfig map[string]string
	// Flag - if true, all hosts in a pool must apply this update
	EnforceHomogeneity bool
}

func PoolUpdateClassGetRecordMockDefault

func PoolUpdateClassGetRecordMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval PoolUpdateRecord, _err error)

type PoolUpdateRef

type PoolUpdateRef string

func HostClassGetUpdatesMockDefault

func HostClassGetUpdatesMockDefault(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

func HostClassGetUpdatesRequiringRebootMockDefault

func HostClassGetUpdatesRequiringRebootMockDefault(sessionID SessionRef, self HostRef) (_retval []PoolUpdateRef, _err error)

func PoolPatchClassGetPoolUpdateMockDefault

func PoolPatchClassGetPoolUpdateMockDefault(sessionID SessionRef, self PoolPatchRef) (_retval PoolUpdateRef, _err error)

func PoolUpdateClassGetAllMockDefault

func PoolUpdateClassGetAllMockDefault(sessionID SessionRef) (_retval []PoolUpdateRef, _err error)

func PoolUpdateClassGetByNameLabelMockDefault

func PoolUpdateClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []PoolUpdateRef, _err error)

func PoolUpdateClassGetByUUIDMockDefault

func PoolUpdateClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval PoolUpdateRef, _err error)

func PoolUpdateClassIntroduceMockDefault

func PoolUpdateClassIntroduceMockDefault(sessionID SessionRef, vdi VDIRef) (_retval PoolUpdateRef, _err error)

type PrimaryAddressType

type PrimaryAddressType string
const (
	// Primary address is the IPv4 address
	PrimaryAddressTypeIPv4 PrimaryAddressType = "IPv4"
	// Primary address is the IPv6 address
	PrimaryAddressTypeIPv6 PrimaryAddressType = "IPv6"
)

func PIFClassGetPrimaryAddressTypeMockDefault

func PIFClassGetPrimaryAddressTypeMockDefault(sessionID SessionRef, self PIFRef) (_retval PrimaryAddressType, _err error)

type PvsProxyStatus

type PvsProxyStatus string
const (
	// The proxy is not currently running
	PvsProxyStatusStopped PvsProxyStatus = "stopped"
	// The proxy is setup but has not yet cached anything
	PvsProxyStatusInitialised PvsProxyStatus = "initialised"
	// The proxy is currently caching data
	PvsProxyStatusCaching PvsProxyStatus = "caching"
	// The PVS device is configured to use an incompatible write-cache mode
	PvsProxyStatusIncompatibleWriteCacheMode PvsProxyStatus = "incompatible_write_cache_mode"
	// The PVS protocol in use is not compatible with the PVS proxy
	PvsProxyStatusIncompatibleProtocolVersion PvsProxyStatus = "incompatible_protocol_version"
)

func PVSProxyClassGetStatusMockDefault

func PVSProxyClassGetStatusMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval PvsProxyStatus, _err error)

type RoleClass

type RoleClass struct {
	// contains filtered or unexported fields
}

A set of permissions associated with a subject

func (RoleClass) GetAll

func (_class RoleClass) GetAll(sessionID SessionRef) (_retval []RoleRef, _err error)

Return a list of all the roles known to the system.

func (RoleClass) GetAllMock

func (_class RoleClass) GetAllMock(sessionID SessionRef) (_retval []RoleRef, _err error)

func (RoleClass) GetAllRecords

func (_class RoleClass) GetAllRecords(sessionID SessionRef) (_retval map[RoleRef]RoleRecord, _err error)

Return a map of role references to role records for all roles known to the system.

func (RoleClass) GetAllRecordsMock

func (_class RoleClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[RoleRef]RoleRecord, _err error)

func (RoleClass) GetByNameLabel

func (_class RoleClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

Get all the role instances with the given label.

func (RoleClass) GetByNameLabelMock

func (_class RoleClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

func (RoleClass) GetByPermission

func (_class RoleClass) GetByPermission(sessionID SessionRef, permission RoleRef) (_retval []RoleRef, _err error)

This call returns a list of roles given a permission

func (RoleClass) GetByPermissionMock

func (_class RoleClass) GetByPermissionMock(sessionID SessionRef, permission RoleRef) (_retval []RoleRef, _err error)

func (RoleClass) GetByPermissionNameLabel

func (_class RoleClass) GetByPermissionNameLabel(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

This call returns a list of roles given a permission name

func (RoleClass) GetByPermissionNameLabelMock

func (_class RoleClass) GetByPermissionNameLabelMock(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

func (RoleClass) GetByUUID

func (_class RoleClass) GetByUUID(sessionID SessionRef, uuid string) (_retval RoleRef, _err error)

Get a reference to the role instance with the specified UUID.

func (RoleClass) GetByUUIDMock

func (_class RoleClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval RoleRef, _err error)

func (RoleClass) GetNameDescription

func (_class RoleClass) GetNameDescription(sessionID SessionRef, self RoleRef) (_retval string, _err error)

Get the name/description field of the given role.

func (RoleClass) GetNameDescriptionMock

func (_class RoleClass) GetNameDescriptionMock(sessionID SessionRef, self RoleRef) (_retval string, _err error)

func (RoleClass) GetNameLabel

func (_class RoleClass) GetNameLabel(sessionID SessionRef, self RoleRef) (_retval string, _err error)

Get the name/label field of the given role.

func (RoleClass) GetNameLabelMock

func (_class RoleClass) GetNameLabelMock(sessionID SessionRef, self RoleRef) (_retval string, _err error)

func (RoleClass) GetPermissions

func (_class RoleClass) GetPermissions(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

This call returns a list of permissions given a role

func (RoleClass) GetPermissionsMock

func (_class RoleClass) GetPermissionsMock(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

func (RoleClass) GetPermissionsNameLabel

func (_class RoleClass) GetPermissionsNameLabel(sessionID SessionRef, self RoleRef) (_retval []string, _err error)

This call returns a list of permission names given a role

func (RoleClass) GetPermissionsNameLabelMock

func (_class RoleClass) GetPermissionsNameLabelMock(sessionID SessionRef, self RoleRef) (_retval []string, _err error)

func (RoleClass) GetRecord

func (_class RoleClass) GetRecord(sessionID SessionRef, self RoleRef) (_retval RoleRecord, _err error)

Get a record containing the current state of the given role.

func (RoleClass) GetRecordMock

func (_class RoleClass) GetRecordMock(sessionID SessionRef, self RoleRef) (_retval RoleRecord, _err error)

func (RoleClass) GetSubroles

func (_class RoleClass) GetSubroles(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

Get the subroles field of the given role.

func (RoleClass) GetSubrolesMock

func (_class RoleClass) GetSubrolesMock(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

func (RoleClass) GetUUID

func (_class RoleClass) GetUUID(sessionID SessionRef, self RoleRef) (_retval string, _err error)

Get the uuid field of the given role.

func (RoleClass) GetUUIDMock

func (_class RoleClass) GetUUIDMock(sessionID SessionRef, self RoleRef) (_retval string, _err error)

type RoleRecord

type RoleRecord struct {
	// Unique identifier/object reference
	UUID string
	// a short user-friendly name for the role
	NameLabel string
	// what this role is for
	NameDescription string
	// a list of pointers to other roles or permissions
	Subroles []RoleRef
}

func RoleClassGetRecordMockDefault

func RoleClassGetRecordMockDefault(sessionID SessionRef, self RoleRef) (_retval RoleRecord, _err error)

type RoleRef

type RoleRef string

func RoleClassGetAllMockDefault

func RoleClassGetAllMockDefault(sessionID SessionRef) (_retval []RoleRef, _err error)

func RoleClassGetByNameLabelMockDefault

func RoleClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

func RoleClassGetByPermissionMockDefault

func RoleClassGetByPermissionMockDefault(sessionID SessionRef, permission RoleRef) (_retval []RoleRef, _err error)

func RoleClassGetByPermissionNameLabelMockDefault

func RoleClassGetByPermissionNameLabelMockDefault(sessionID SessionRef, label string) (_retval []RoleRef, _err error)

func RoleClassGetByUUIDMockDefault

func RoleClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval RoleRef, _err error)

func RoleClassGetPermissionsMockDefault

func RoleClassGetPermissionsMockDefault(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

func RoleClassGetSubrolesMockDefault

func RoleClassGetSubrolesMockDefault(sessionID SessionRef, self RoleRef) (_retval []RoleRef, _err error)

func SubjectClassGetRolesMockDefault

func SubjectClassGetRolesMockDefault(sessionID SessionRef, self SubjectRef) (_retval []RoleRef, _err error)

type SDNControllerClass

type SDNControllerClass struct {
	// contains filtered or unexported fields
}

Describes the SDN controller that is to connect with the pool

func (SDNControllerClass) Forget

func (_class SDNControllerClass) Forget(sessionID SessionRef, self SDNControllerRef) (_err error)

Remove the OVS manager of the pool and destroy the db record.

func (SDNControllerClass) ForgetMock

func (_class SDNControllerClass) ForgetMock(sessionID SessionRef, self SDNControllerRef) (_err error)

func (SDNControllerClass) GetAddress

func (_class SDNControllerClass) GetAddress(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

Get the address field of the given SDN_controller.

func (SDNControllerClass) GetAddressMock

func (_class SDNControllerClass) GetAddressMock(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

func (SDNControllerClass) GetAll

func (_class SDNControllerClass) GetAll(sessionID SessionRef) (_retval []SDNControllerRef, _err error)

Return a list of all the SDN_controllers known to the system.

func (SDNControllerClass) GetAllMock

func (_class SDNControllerClass) GetAllMock(sessionID SessionRef) (_retval []SDNControllerRef, _err error)

func (SDNControllerClass) GetAllRecords

func (_class SDNControllerClass) GetAllRecords(sessionID SessionRef) (_retval map[SDNControllerRef]SDNControllerRecord, _err error)

Return a map of SDN_controller references to SDN_controller records for all SDN_controllers known to the system.

func (SDNControllerClass) GetAllRecordsMock

func (_class SDNControllerClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[SDNControllerRef]SDNControllerRecord, _err error)

func (SDNControllerClass) GetByUUID

func (_class SDNControllerClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SDNControllerRef, _err error)

Get a reference to the SDN_controller instance with the specified UUID.

func (SDNControllerClass) GetByUUIDMock

func (_class SDNControllerClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SDNControllerRef, _err error)

func (SDNControllerClass) GetPort

func (_class SDNControllerClass) GetPort(sessionID SessionRef, self SDNControllerRef) (_retval int, _err error)

Get the port field of the given SDN_controller.

func (SDNControllerClass) GetPortMock

func (_class SDNControllerClass) GetPortMock(sessionID SessionRef, self SDNControllerRef) (_retval int, _err error)

func (SDNControllerClass) GetProtocol

func (_class SDNControllerClass) GetProtocol(sessionID SessionRef, self SDNControllerRef) (_retval SdnControllerProtocol, _err error)

Get the protocol field of the given SDN_controller.

func (SDNControllerClass) GetProtocolMock

func (_class SDNControllerClass) GetProtocolMock(sessionID SessionRef, self SDNControllerRef) (_retval SdnControllerProtocol, _err error)

func (SDNControllerClass) GetRecord

func (_class SDNControllerClass) GetRecord(sessionID SessionRef, self SDNControllerRef) (_retval SDNControllerRecord, _err error)

Get a record containing the current state of the given SDN_controller.

func (SDNControllerClass) GetRecordMock

func (_class SDNControllerClass) GetRecordMock(sessionID SessionRef, self SDNControllerRef) (_retval SDNControllerRecord, _err error)

func (SDNControllerClass) GetUUID

func (_class SDNControllerClass) GetUUID(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

Get the uuid field of the given SDN_controller.

func (SDNControllerClass) GetUUIDMock

func (_class SDNControllerClass) GetUUIDMock(sessionID SessionRef, self SDNControllerRef) (_retval string, _err error)

func (SDNControllerClass) Introduce

func (_class SDNControllerClass) Introduce(sessionID SessionRef, protocol SdnControllerProtocol, address string, port int) (_retval SDNControllerRef, _err error)

Introduce an SDN controller to the pool.

func (SDNControllerClass) IntroduceMock

func (_class SDNControllerClass) IntroduceMock(sessionID SessionRef, protocol SdnControllerProtocol, address string, port int) (_retval SDNControllerRef, _err error)

type SDNControllerRecord

type SDNControllerRecord struct {
	// Unique identifier/object reference
	UUID string
	// Protocol to connect with SDN controller
	Protocol SdnControllerProtocol
	// IP address of the controller
	Address string
	// TCP port of the controller
	Port int
}

func SDNControllerClassGetRecordMockDefault

func SDNControllerClassGetRecordMockDefault(sessionID SessionRef, self SDNControllerRef) (_retval SDNControllerRecord, _err error)

type SDNControllerRef

type SDNControllerRef string

func SDNControllerClassGetAllMockDefault

func SDNControllerClassGetAllMockDefault(sessionID SessionRef) (_retval []SDNControllerRef, _err error)

func SDNControllerClassGetByUUIDMockDefault

func SDNControllerClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SDNControllerRef, _err error)

func SDNControllerClassIntroduceMockDefault

func SDNControllerClassIntroduceMockDefault(sessionID SessionRef, protocol SdnControllerProtocol, address string, port int) (_retval SDNControllerRef, _err error)

type SMClass

type SMClass struct {
	// contains filtered or unexported fields
}

A storage manager plugin

func (SMClass) AddToOtherConfig

func (_class SMClass) AddToOtherConfig(sessionID SessionRef, self SMRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given SM.

func (SMClass) AddToOtherConfigMock

func (_class SMClass) AddToOtherConfigMock(sessionID SessionRef, self SMRef, key string, value string) (_err error)

func (SMClass) GetAll

func (_class SMClass) GetAll(sessionID SessionRef) (_retval []SMRef, _err error)

Return a list of all the SMs known to the system.

func (SMClass) GetAllMock

func (_class SMClass) GetAllMock(sessionID SessionRef) (_retval []SMRef, _err error)

func (SMClass) GetAllRecords

func (_class SMClass) GetAllRecords(sessionID SessionRef) (_retval map[SMRef]SMRecord, _err error)

Return a map of SM references to SM records for all SMs known to the system.

func (SMClass) GetAllRecordsMock

func (_class SMClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[SMRef]SMRecord, _err error)

func (SMClass) GetByNameLabel

func (_class SMClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []SMRef, _err error)

Get all the SM instances with the given label.

func (SMClass) GetByNameLabelMock

func (_class SMClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []SMRef, _err error)

func (SMClass) GetByUUID

func (_class SMClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SMRef, _err error)

Get a reference to the SM instance with the specified UUID.

func (SMClass) GetByUUIDMock

func (_class SMClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SMRef, _err error)

func (SMClass) GetCapabilities

func (_class SMClass) GetCapabilities(sessionID SessionRef, self SMRef) (_retval []string, _err error)

Get the capabilities field of the given SM.

func (SMClass) GetCapabilitiesMock

func (_class SMClass) GetCapabilitiesMock(sessionID SessionRef, self SMRef) (_retval []string, _err error)

func (SMClass) GetConfiguration

func (_class SMClass) GetConfiguration(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

Get the configuration field of the given SM.

func (SMClass) GetConfigurationMock

func (_class SMClass) GetConfigurationMock(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

func (SMClass) GetCopyright

func (_class SMClass) GetCopyright(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the copyright field of the given SM.

func (SMClass) GetCopyrightMock

func (_class SMClass) GetCopyrightMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetDriverFilename

func (_class SMClass) GetDriverFilename(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the driver_filename field of the given SM.

func (SMClass) GetDriverFilenameMock

func (_class SMClass) GetDriverFilenameMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetFeatures

func (_class SMClass) GetFeatures(sessionID SessionRef, self SMRef) (_retval map[string]int, _err error)

Get the features field of the given SM.

func (SMClass) GetFeaturesMock

func (_class SMClass) GetFeaturesMock(sessionID SessionRef, self SMRef) (_retval map[string]int, _err error)

func (SMClass) GetNameDescription

func (_class SMClass) GetNameDescription(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the name/description field of the given SM.

func (SMClass) GetNameDescriptionMock

func (_class SMClass) GetNameDescriptionMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetNameLabel

func (_class SMClass) GetNameLabel(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the name/label field of the given SM.

func (SMClass) GetNameLabelMock

func (_class SMClass) GetNameLabelMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetOtherConfig

func (_class SMClass) GetOtherConfig(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

Get the other_config field of the given SM.

func (SMClass) GetOtherConfigMock

func (_class SMClass) GetOtherConfigMock(sessionID SessionRef, self SMRef) (_retval map[string]string, _err error)

func (SMClass) GetRecord

func (_class SMClass) GetRecord(sessionID SessionRef, self SMRef) (_retval SMRecord, _err error)

Get a record containing the current state of the given SM.

func (SMClass) GetRecordMock

func (_class SMClass) GetRecordMock(sessionID SessionRef, self SMRef) (_retval SMRecord, _err error)

func (SMClass) GetRequiredAPIVersion

func (_class SMClass) GetRequiredAPIVersion(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the required_api_version field of the given SM.

func (SMClass) GetRequiredAPIVersionMock

func (_class SMClass) GetRequiredAPIVersionMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetRequiredClusterStack

func (_class SMClass) GetRequiredClusterStack(sessionID SessionRef, self SMRef) (_retval []string, _err error)

Get the required_cluster_stack field of the given SM.

func (SMClass) GetRequiredClusterStackMock

func (_class SMClass) GetRequiredClusterStackMock(sessionID SessionRef, self SMRef) (_retval []string, _err error)

func (SMClass) GetType

func (_class SMClass) GetType(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the type field of the given SM.

func (SMClass) GetTypeMock

func (_class SMClass) GetTypeMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetUUID

func (_class SMClass) GetUUID(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the uuid field of the given SM.

func (SMClass) GetUUIDMock

func (_class SMClass) GetUUIDMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetVendor

func (_class SMClass) GetVendor(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the vendor field of the given SM.

func (SMClass) GetVendorMock

func (_class SMClass) GetVendorMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) GetVersion

func (_class SMClass) GetVersion(sessionID SessionRef, self SMRef) (_retval string, _err error)

Get the version field of the given SM.

func (SMClass) GetVersionMock

func (_class SMClass) GetVersionMock(sessionID SessionRef, self SMRef) (_retval string, _err error)

func (SMClass) RemoveFromOtherConfig

func (_class SMClass) RemoveFromOtherConfig(sessionID SessionRef, self SMRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given SM. If the key is not in that Map, then do nothing.

func (SMClass) RemoveFromOtherConfigMock

func (_class SMClass) RemoveFromOtherConfigMock(sessionID SessionRef, self SMRef, key string) (_err error)

func (SMClass) SetOtherConfig

func (_class SMClass) SetOtherConfig(sessionID SessionRef, self SMRef, value map[string]string) (_err error)

Set the other_config field of the given SM.

func (SMClass) SetOtherConfigMock

func (_class SMClass) SetOtherConfigMock(sessionID SessionRef, self SMRef, value map[string]string) (_err error)

type SMRecord

type SMRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// SR.type
	Type string
	// Vendor who created this plugin
	Vendor string
	// Entity which owns the copyright of this plugin
	Copyright string
	// Version of the plugin
	Version string
	// Minimum SM API version required on the server
	RequiredAPIVersion string
	// names and descriptions of device config keys
	Configuration map[string]string
	// capabilities of the SM plugin
	Capabilities []string
	// capabilities of the SM plugin, with capability version numbers
	Features map[string]int
	// additional configuration
	OtherConfig map[string]string
	// filename of the storage driver
	DriverFilename string
	// The storage plugin requires that one of these cluster stacks is configured and running.
	RequiredClusterStack []string
}

func SMClassGetRecordMockDefault

func SMClassGetRecordMockDefault(sessionID SessionRef, self SMRef) (_retval SMRecord, _err error)

type SMRef

type SMRef string

func SMClassGetAllMockDefault

func SMClassGetAllMockDefault(sessionID SessionRef) (_retval []SMRef, _err error)

func SMClassGetByNameLabelMockDefault

func SMClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []SMRef, _err error)

func SMClassGetByUUIDMockDefault

func SMClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SMRef, _err error)

type SRClass

type SRClass struct {
	// contains filtered or unexported fields
}

A storage repository

func (SRClass) AddTags

func (_class SRClass) AddTags(sessionID SessionRef, self SRRef, value string) (_err error)

Add the given value to the tags field of the given SR. If the value is already in that Set, then do nothing.

func (SRClass) AddTagsMock

func (_class SRClass) AddTagsMock(sessionID SessionRef, self SRRef, value string) (_err error)

func (SRClass) AddToOtherConfig

func (_class SRClass) AddToOtherConfig(sessionID SessionRef, self SRRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given SR.

func (SRClass) AddToOtherConfigMock

func (_class SRClass) AddToOtherConfigMock(sessionID SessionRef, self SRRef, key string, value string) (_err error)

func (SRClass) AddToSmConfig

func (_class SRClass) AddToSmConfig(sessionID SessionRef, self SRRef, key string, value string) (_err error)

Add the given key-value pair to the sm_config field of the given SR.

func (SRClass) AddToSmConfigMock

func (_class SRClass) AddToSmConfigMock(sessionID SessionRef, self SRRef, key string, value string) (_err error)

func (SRClass) AssertCanHostHaStatefile

func (_class SRClass) AssertCanHostHaStatefile(sessionID SessionRef, sr SRRef) (_err error)

Returns successfully if the given SR can host an HA statefile. Otherwise returns an error to explain why not

func (SRClass) AssertCanHostHaStatefileMock

func (_class SRClass) AssertCanHostHaStatefileMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) AssertSupportsDatabaseReplication

func (_class SRClass) AssertSupportsDatabaseReplication(sessionID SessionRef, sr SRRef) (_err error)

Returns successfully if the given SR supports database replication. Otherwise returns an error to explain why not.

func (SRClass) AssertSupportsDatabaseReplicationMock

func (_class SRClass) AssertSupportsDatabaseReplicationMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) Create

func (_class SRClass) Create(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

Create a new Storage Repository and introduce it into the managed system, creating both SR record and PBD record to attach it to current host (with specified device_config parameters)

Errors:

SR_UNKNOWN_DRIVER - The SR could not be connected because the driver was not recognised.

func (SRClass) CreateMock

func (_class SRClass) CreateMock(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

func (SRClass) CreateNewBlob

func (_class SRClass) CreateNewBlob(sessionID SessionRef, sr SRRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a named binary blob of data that is associated with this SR

func (SRClass) CreateNewBlobMock

func (_class SRClass) CreateNewBlobMock(sessionID SessionRef, sr SRRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func (SRClass) Destroy

func (_class SRClass) Destroy(sessionID SessionRef, sr SRRef) (_err error)

Destroy specified SR, removing SR-record from database and remove SR from disk. (In order to affect this operation the appropriate device_config is read from the specified SR's PBD on current host)

Errors:

SR_HAS_PBD - The SR is still connected to a host via a PBD. It cannot be destroyed or forgotten.

func (SRClass) DestroyMock

func (_class SRClass) DestroyMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) DisableDatabaseReplication

func (_class SRClass) DisableDatabaseReplication(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) DisableDatabaseReplicationMock

func (_class SRClass) DisableDatabaseReplicationMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) EnableDatabaseReplication

func (_class SRClass) EnableDatabaseReplication(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) EnableDatabaseReplicationMock

func (_class SRClass) EnableDatabaseReplicationMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) Forget

func (_class SRClass) Forget(sessionID SessionRef, sr SRRef) (_err error)

Removing specified SR-record from database, without attempting to remove SR from disk

Errors:

SR_HAS_PBD - The SR is still connected to a host via a PBD. It cannot be destroyed or forgotten.

func (SRClass) ForgetDataSourceArchives

func (_class SRClass) ForgetDataSourceArchives(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

Forget the recorded statistics related to the specified data source

func (SRClass) ForgetDataSourceArchivesMock

func (_class SRClass) ForgetDataSourceArchivesMock(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

func (SRClass) ForgetMock

func (_class SRClass) ForgetMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) GetAll

func (_class SRClass) GetAll(sessionID SessionRef) (_retval []SRRef, _err error)

Return a list of all the SRs known to the system.

func (SRClass) GetAllMock

func (_class SRClass) GetAllMock(sessionID SessionRef) (_retval []SRRef, _err error)

func (SRClass) GetAllRecords

func (_class SRClass) GetAllRecords(sessionID SessionRef) (_retval map[SRRef]SRRecord, _err error)

Return a map of SR references to SR records for all SRs known to the system.

func (SRClass) GetAllRecordsMock

func (_class SRClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[SRRef]SRRecord, _err error)

func (SRClass) GetAllowedOperations

func (_class SRClass) GetAllowedOperations(sessionID SessionRef, self SRRef) (_retval []StorageOperations, _err error)

Get the allowed_operations field of the given SR.

func (SRClass) GetAllowedOperationsMock

func (_class SRClass) GetAllowedOperationsMock(sessionID SessionRef, self SRRef) (_retval []StorageOperations, _err error)

func (SRClass) GetBlobs

func (_class SRClass) GetBlobs(sessionID SessionRef, self SRRef) (_retval map[string]BlobRef, _err error)

Get the blobs field of the given SR.

func (SRClass) GetBlobsMock

func (_class SRClass) GetBlobsMock(sessionID SessionRef, self SRRef) (_retval map[string]BlobRef, _err error)

func (SRClass) GetByNameLabel

func (_class SRClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []SRRef, _err error)

Get all the SR instances with the given label.

func (SRClass) GetByNameLabelMock

func (_class SRClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []SRRef, _err error)

func (SRClass) GetByUUID

func (_class SRClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SRRef, _err error)

Get a reference to the SR instance with the specified UUID.

func (SRClass) GetByUUIDMock

func (_class SRClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SRRef, _err error)

func (SRClass) GetClustered

func (_class SRClass) GetClustered(sessionID SessionRef, self SRRef) (_retval bool, _err error)

Get the clustered field of the given SR.

func (SRClass) GetClusteredMock

func (_class SRClass) GetClusteredMock(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func (SRClass) GetContentType

func (_class SRClass) GetContentType(sessionID SessionRef, self SRRef) (_retval string, _err error)

Get the content_type field of the given SR.

func (SRClass) GetContentTypeMock

func (_class SRClass) GetContentTypeMock(sessionID SessionRef, self SRRef) (_retval string, _err error)

func (SRClass) GetCurrentOperations

func (_class SRClass) GetCurrentOperations(sessionID SessionRef, self SRRef) (_retval map[string]StorageOperations, _err error)

Get the current_operations field of the given SR.

func (SRClass) GetCurrentOperationsMock

func (_class SRClass) GetCurrentOperationsMock(sessionID SessionRef, self SRRef) (_retval map[string]StorageOperations, _err error)

func (SRClass) GetDataSources

func (_class SRClass) GetDataSources(sessionID SessionRef, sr SRRef) (_retval []DataSourceRecord, _err error)

func (SRClass) GetDataSourcesMock

func (_class SRClass) GetDataSourcesMock(sessionID SessionRef, sr SRRef) (_retval []DataSourceRecord, _err error)

func (SRClass) GetIntroducedBy

func (_class SRClass) GetIntroducedBy(sessionID SessionRef, self SRRef) (_retval DRTaskRef, _err error)

Get the introduced_by field of the given SR.

func (SRClass) GetIntroducedByMock

func (_class SRClass) GetIntroducedByMock(sessionID SessionRef, self SRRef) (_retval DRTaskRef, _err error)

func (SRClass) GetIsToolsSr

func (_class SRClass) GetIsToolsSr(sessionID SessionRef, self SRRef) (_retval bool, _err error)

Get the is_tools_sr field of the given SR.

func (SRClass) GetIsToolsSrMock

func (_class SRClass) GetIsToolsSrMock(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func (SRClass) GetLocalCacheEnabled

func (_class SRClass) GetLocalCacheEnabled(sessionID SessionRef, self SRRef) (_retval bool, _err error)

Get the local_cache_enabled field of the given SR.

func (SRClass) GetLocalCacheEnabledMock

func (_class SRClass) GetLocalCacheEnabledMock(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func (SRClass) GetNameDescription

func (_class SRClass) GetNameDescription(sessionID SessionRef, self SRRef) (_retval string, _err error)

Get the name/description field of the given SR.

func (SRClass) GetNameDescriptionMock

func (_class SRClass) GetNameDescriptionMock(sessionID SessionRef, self SRRef) (_retval string, _err error)

func (SRClass) GetNameLabel

func (_class SRClass) GetNameLabel(sessionID SessionRef, self SRRef) (_retval string, _err error)

Get the name/label field of the given SR.

func (SRClass) GetNameLabelMock

func (_class SRClass) GetNameLabelMock(sessionID SessionRef, self SRRef) (_retval string, _err error)

func (SRClass) GetOtherConfig

func (_class SRClass) GetOtherConfig(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

Get the other_config field of the given SR.

func (SRClass) GetOtherConfigMock

func (_class SRClass) GetOtherConfigMock(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

func (SRClass) GetPBDs

func (_class SRClass) GetPBDs(sessionID SessionRef, self SRRef) (_retval []PBDRef, _err error)

Get the PBDs field of the given SR.

func (SRClass) GetPBDsMock

func (_class SRClass) GetPBDsMock(sessionID SessionRef, self SRRef) (_retval []PBDRef, _err error)

func (SRClass) GetPhysicalSize

func (_class SRClass) GetPhysicalSize(sessionID SessionRef, self SRRef) (_retval int, _err error)

Get the physical_size field of the given SR.

func (SRClass) GetPhysicalSizeMock

func (_class SRClass) GetPhysicalSizeMock(sessionID SessionRef, self SRRef) (_retval int, _err error)

func (SRClass) GetPhysicalUtilisation

func (_class SRClass) GetPhysicalUtilisation(sessionID SessionRef, self SRRef) (_retval int, _err error)

Get the physical_utilisation field of the given SR.

func (SRClass) GetPhysicalUtilisationMock

func (_class SRClass) GetPhysicalUtilisationMock(sessionID SessionRef, self SRRef) (_retval int, _err error)

func (SRClass) GetRecord

func (_class SRClass) GetRecord(sessionID SessionRef, self SRRef) (_retval SRRecord, _err error)

Get a record containing the current state of the given SR.

func (SRClass) GetRecordMock

func (_class SRClass) GetRecordMock(sessionID SessionRef, self SRRef) (_retval SRRecord, _err error)

func (SRClass) GetShared

func (_class SRClass) GetShared(sessionID SessionRef, self SRRef) (_retval bool, _err error)

Get the shared field of the given SR.

func (SRClass) GetSharedMock

func (_class SRClass) GetSharedMock(sessionID SessionRef, self SRRef) (_retval bool, _err error)

func (SRClass) GetSmConfig

func (_class SRClass) GetSmConfig(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

Get the sm_config field of the given SR.

func (SRClass) GetSmConfigMock

func (_class SRClass) GetSmConfigMock(sessionID SessionRef, self SRRef) (_retval map[string]string, _err error)

func (SRClass) GetSupportedTypes

func (_class SRClass) GetSupportedTypes(sessionID SessionRef) (_retval []string, _err error)

Return a set of all the SR types supported by the system

func (SRClass) GetSupportedTypesMock

func (_class SRClass) GetSupportedTypesMock(sessionID SessionRef) (_retval []string, _err error)

func (SRClass) GetTags

func (_class SRClass) GetTags(sessionID SessionRef, self SRRef) (_retval []string, _err error)

Get the tags field of the given SR.

func (SRClass) GetTagsMock

func (_class SRClass) GetTagsMock(sessionID SessionRef, self SRRef) (_retval []string, _err error)

func (SRClass) GetType

func (_class SRClass) GetType(sessionID SessionRef, self SRRef) (_retval string, _err error)

Get the type field of the given SR.

func (SRClass) GetTypeMock

func (_class SRClass) GetTypeMock(sessionID SessionRef, self SRRef) (_retval string, _err error)

func (SRClass) GetUUID

func (_class SRClass) GetUUID(sessionID SessionRef, self SRRef) (_retval string, _err error)

Get the uuid field of the given SR.

func (SRClass) GetUUIDMock

func (_class SRClass) GetUUIDMock(sessionID SessionRef, self SRRef) (_retval string, _err error)

func (SRClass) GetVDIs

func (_class SRClass) GetVDIs(sessionID SessionRef, self SRRef) (_retval []VDIRef, _err error)

Get the VDIs field of the given SR.

func (SRClass) GetVDIsMock

func (_class SRClass) GetVDIsMock(sessionID SessionRef, self SRRef) (_retval []VDIRef, _err error)

func (SRClass) GetVirtualAllocation

func (_class SRClass) GetVirtualAllocation(sessionID SessionRef, self SRRef) (_retval int, _err error)

Get the virtual_allocation field of the given SR.

func (SRClass) GetVirtualAllocationMock

func (_class SRClass) GetVirtualAllocationMock(sessionID SessionRef, self SRRef) (_retval int, _err error)

func (SRClass) Introduce

func (_class SRClass) Introduce(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

Introduce a new Storage Repository into the managed system

func (SRClass) IntroduceMock

func (_class SRClass) IntroduceMock(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

func (SRClass) Make

func (_class SRClass) Make(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, smConfig map[string]string) (_retval string, _err error)

Create a new Storage Repository on disk. This call is deprecated: use SR.create instead.

func (SRClass) MakeMock

func (_class SRClass) MakeMock(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, smConfig map[string]string) (_retval string, _err error)

func (SRClass) Probe

func (_class SRClass) Probe(sessionID SessionRef, host HostRef, deviceConfig map[string]string, atype string, smConfig map[string]string) (_retval string, _err error)

Perform a backend-specific scan, using the given device_config. If the device_config is complete, then this will return a list of the SRs present of this type on the device, if any. If the device_config is partial, then a backend-specific scan will be performed, returning results that will guide the user in improving the device_config.

func (SRClass) ProbeMock

func (_class SRClass) ProbeMock(sessionID SessionRef, host HostRef, deviceConfig map[string]string, atype string, smConfig map[string]string) (_retval string, _err error)

func (SRClass) QueryDataSource

func (_class SRClass) QueryDataSource(sessionID SessionRef, sr SRRef, dataSource string) (_retval float64, _err error)

Query the latest value of the specified data source

func (SRClass) QueryDataSourceMock

func (_class SRClass) QueryDataSourceMock(sessionID SessionRef, sr SRRef, dataSource string) (_retval float64, _err error)

func (SRClass) RecordDataSource

func (_class SRClass) RecordDataSource(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

Start recording the specified data source

func (SRClass) RecordDataSourceMock

func (_class SRClass) RecordDataSourceMock(sessionID SessionRef, sr SRRef, dataSource string) (_err error)

func (SRClass) RemoveFromOtherConfig

func (_class SRClass) RemoveFromOtherConfig(sessionID SessionRef, self SRRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given SR. If the key is not in that Map, then do nothing.

func (SRClass) RemoveFromOtherConfigMock

func (_class SRClass) RemoveFromOtherConfigMock(sessionID SessionRef, self SRRef, key string) (_err error)

func (SRClass) RemoveFromSmConfig

func (_class SRClass) RemoveFromSmConfig(sessionID SessionRef, self SRRef, key string) (_err error)

Remove the given key and its corresponding value from the sm_config field of the given SR. If the key is not in that Map, then do nothing.

func (SRClass) RemoveFromSmConfigMock

func (_class SRClass) RemoveFromSmConfigMock(sessionID SessionRef, self SRRef, key string) (_err error)

func (SRClass) RemoveTags

func (_class SRClass) RemoveTags(sessionID SessionRef, self SRRef, value string) (_err error)

Remove the given value from the tags field of the given SR. If the value is not in that Set, then do nothing.

func (SRClass) RemoveTagsMock

func (_class SRClass) RemoveTagsMock(sessionID SessionRef, self SRRef, value string) (_err error)

func (SRClass) Scan

func (_class SRClass) Scan(sessionID SessionRef, sr SRRef) (_err error)

Refreshes the list of VDIs associated with an SR

func (SRClass) ScanMock

func (_class SRClass) ScanMock(sessionID SessionRef, sr SRRef) (_err error)

func (SRClass) SetNameDescription

func (_class SRClass) SetNameDescription(sessionID SessionRef, sr SRRef, value string) (_err error)

Set the name description of the SR

func (SRClass) SetNameDescriptionMock

func (_class SRClass) SetNameDescriptionMock(sessionID SessionRef, sr SRRef, value string) (_err error)

func (SRClass) SetNameLabel

func (_class SRClass) SetNameLabel(sessionID SessionRef, sr SRRef, value string) (_err error)

Set the name label of the SR

func (SRClass) SetNameLabelMock

func (_class SRClass) SetNameLabelMock(sessionID SessionRef, sr SRRef, value string) (_err error)

func (SRClass) SetOtherConfig

func (_class SRClass) SetOtherConfig(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

Set the other_config field of the given SR.

func (SRClass) SetOtherConfigMock

func (_class SRClass) SetOtherConfigMock(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

func (SRClass) SetPhysicalSize

func (_class SRClass) SetPhysicalSize(sessionID SessionRef, self SRRef, value int) (_err error)

Sets the SR's physical_size field

func (SRClass) SetPhysicalSizeMock

func (_class SRClass) SetPhysicalSizeMock(sessionID SessionRef, self SRRef, value int) (_err error)

func (SRClass) SetPhysicalUtilisation

func (_class SRClass) SetPhysicalUtilisation(sessionID SessionRef, self SRRef, value int) (_err error)

Sets the SR's physical_utilisation field

func (SRClass) SetPhysicalUtilisationMock

func (_class SRClass) SetPhysicalUtilisationMock(sessionID SessionRef, self SRRef, value int) (_err error)

func (SRClass) SetShared

func (_class SRClass) SetShared(sessionID SessionRef, sr SRRef, value bool) (_err error)

Sets the shared flag on the SR

func (SRClass) SetSharedMock

func (_class SRClass) SetSharedMock(sessionID SessionRef, sr SRRef, value bool) (_err error)

func (SRClass) SetSmConfig

func (_class SRClass) SetSmConfig(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

Set the sm_config field of the given SR.

func (SRClass) SetSmConfigMock

func (_class SRClass) SetSmConfigMock(sessionID SessionRef, self SRRef, value map[string]string) (_err error)

func (SRClass) SetTags

func (_class SRClass) SetTags(sessionID SessionRef, self SRRef, value []string) (_err error)

Set the tags field of the given SR.

func (SRClass) SetTagsMock

func (_class SRClass) SetTagsMock(sessionID SessionRef, self SRRef, value []string) (_err error)

func (SRClass) SetVirtualAllocation

func (_class SRClass) SetVirtualAllocation(sessionID SessionRef, self SRRef, value int) (_err error)

Sets the SR's virtual_allocation field

func (SRClass) SetVirtualAllocationMock

func (_class SRClass) SetVirtualAllocationMock(sessionID SessionRef, self SRRef, value int) (_err error)

func (SRClass) Update

func (_class SRClass) Update(sessionID SessionRef, sr SRRef) (_err error)

Refresh the fields on the SR object

func (SRClass) UpdateMock

func (_class SRClass) UpdateMock(sessionID SessionRef, sr SRRef) (_err error)

type SRRecord

type SRRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []StorageOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]StorageOperations
	// all virtual disks known to this storage repository
	VDIs []VDIRef
	// describes how particular hosts can see this storage repository
	PBDs []PBDRef
	// sum of virtual_sizes of all VDIs in this storage repository (in bytes)
	VirtualAllocation int
	// physical space currently utilised on this storage repository (in bytes). Note that for sparse disk formats, physical_utilisation may be less than virtual_allocation
	PhysicalUtilisation int
	// total physical size of the repository (in bytes)
	PhysicalSize int
	// type of the storage repository
	Type string
	// the type of the SR's content, if required (e.g. ISOs)
	ContentType string
	// true if this SR is (capable of being) shared between multiple hosts
	Shared bool
	// additional configuration
	OtherConfig map[string]string
	// user-specified tags for categorization purposes
	Tags []string
	// SM dependent data
	SmConfig map[string]string
	// Binary blobs associated with this SR
	Blobs map[string]BlobRef
	// True if this SR is assigned to be the local cache for its host
	LocalCacheEnabled bool
	// The disaster recovery task which introduced this SR
	IntroducedBy DRTaskRef
	// True if the SR is using aggregated local storage
	Clustered bool
	// True if this is the SR that contains the Tools ISO VDIs
	IsToolsSr bool
}

func SRClassGetRecordMockDefault

func SRClassGetRecordMockDefault(sessionID SessionRef, self SRRef) (_retval SRRecord, _err error)

type SRRef

type SRRef string

func DRTaskClassGetIntroducedSRsMockDefault

func DRTaskClassGetIntroducedSRsMockDefault(sessionID SessionRef, self DRTaskRef) (_retval []SRRef, _err error)

func HostClassGetCrashDumpSrMockDefault

func HostClassGetCrashDumpSrMockDefault(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func HostClassGetLocalCacheSrMockDefault

func HostClassGetLocalCacheSrMockDefault(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func HostClassGetSuspendImageSrMockDefault

func HostClassGetSuspendImageSrMockDefault(sessionID SessionRef, self HostRef) (_retval SRRef, _err error)

func PBDClassGetSRMockDefault

func PBDClassGetSRMockDefault(sessionID SessionRef, self PBDRef) (_retval SRRef, _err error)

func PVSCacheStorageClassGetSRMockDefault

func PVSCacheStorageClassGetSRMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval SRRef, _err error)

func PoolClassGetCrashDumpSRMockDefault

func PoolClassGetCrashDumpSRMockDefault(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func PoolClassGetDefaultSRMockDefault

func PoolClassGetDefaultSRMockDefault(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func PoolClassGetSuspendImageSRMockDefault

func PoolClassGetSuspendImageSRMockDefault(sessionID SessionRef, self PoolRef) (_retval SRRef, _err error)

func SRClassCreateMockDefault

func SRClassCreateMockDefault(sessionID SessionRef, host HostRef, deviceConfig map[string]string, physicalSize int, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

func SRClassGetAllMockDefault

func SRClassGetAllMockDefault(sessionID SessionRef) (_retval []SRRef, _err error)

func SRClassGetByNameLabelMockDefault

func SRClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []SRRef, _err error)

func SRClassGetByUUIDMockDefault

func SRClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SRRef, _err error)

func SRClassIntroduceMockDefault

func SRClassIntroduceMockDefault(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, atype string, contentType string, shared bool, smConfig map[string]string) (_retval SRRef, _err error)

func VDIClassGetSRMockDefault

func VDIClassGetSRMockDefault(sessionID SessionRef, self VDIRef) (_retval SRRef, _err error)

func VMApplianceClassGetSRsRequiredForRecoveryMockDefault

func VMApplianceClassGetSRsRequiredForRecoveryMockDefault(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_retval []SRRef, _err error)

func VMClassGetSRsRequiredForRecoveryMockDefault

func VMClassGetSRsRequiredForRecoveryMockDefault(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_retval []SRRef, _err error)

func VMClassGetSuspendSRMockDefault

func VMClassGetSuspendSRMockDefault(sessionID SessionRef, self VMRef) (_retval SRRef, _err error)

type SdnControllerProtocol

type SdnControllerProtocol string
const (
	// Active ssl connection
	SdnControllerProtocolSsl SdnControllerProtocol = "ssl"
	// Passive ssl connection
	SdnControllerProtocolPssl SdnControllerProtocol = "pssl"
)

func SDNControllerClassGetProtocolMockDefault

func SDNControllerClassGetProtocolMockDefault(sessionID SessionRef, self SDNControllerRef) (_retval SdnControllerProtocol, _err error)

type SecretClass

type SecretClass struct {
	// contains filtered or unexported fields
}

A secret

func (SecretClass) AddToOtherConfig

func (_class SecretClass) AddToOtherConfig(sessionID SessionRef, self SecretRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given secret.

func (SecretClass) AddToOtherConfigMock

func (_class SecretClass) AddToOtherConfigMock(sessionID SessionRef, self SecretRef, key string, value string) (_err error)

func (SecretClass) Create

func (_class SecretClass) Create(sessionID SessionRef, args SecretRecord) (_retval SecretRef, _err error)

Create a new secret instance, and return its handle. The constructor args are: value*, other_config (* = non-optional).

func (SecretClass) CreateMock

func (_class SecretClass) CreateMock(sessionID SessionRef, args SecretRecord) (_retval SecretRef, _err error)

func (SecretClass) Destroy

func (_class SecretClass) Destroy(sessionID SessionRef, self SecretRef) (_err error)

Destroy the specified secret instance.

func (SecretClass) DestroyMock

func (_class SecretClass) DestroyMock(sessionID SessionRef, self SecretRef) (_err error)

func (SecretClass) GetAll

func (_class SecretClass) GetAll(sessionID SessionRef) (_retval []SecretRef, _err error)

Return a list of all the secrets known to the system.

func (SecretClass) GetAllMock

func (_class SecretClass) GetAllMock(sessionID SessionRef) (_retval []SecretRef, _err error)

func (SecretClass) GetAllRecords

func (_class SecretClass) GetAllRecords(sessionID SessionRef) (_retval map[SecretRef]SecretRecord, _err error)

Return a map of secret references to secret records for all secrets known to the system.

func (SecretClass) GetAllRecordsMock

func (_class SecretClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[SecretRef]SecretRecord, _err error)

func (SecretClass) GetByUUID

func (_class SecretClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SecretRef, _err error)

Get a reference to the secret instance with the specified UUID.

func (SecretClass) GetByUUIDMock

func (_class SecretClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SecretRef, _err error)

func (SecretClass) GetOtherConfig

func (_class SecretClass) GetOtherConfig(sessionID SessionRef, self SecretRef) (_retval map[string]string, _err error)

Get the other_config field of the given secret.

func (SecretClass) GetOtherConfigMock

func (_class SecretClass) GetOtherConfigMock(sessionID SessionRef, self SecretRef) (_retval map[string]string, _err error)

func (SecretClass) GetRecord

func (_class SecretClass) GetRecord(sessionID SessionRef, self SecretRef) (_retval SecretRecord, _err error)

Get a record containing the current state of the given secret.

func (SecretClass) GetRecordMock

func (_class SecretClass) GetRecordMock(sessionID SessionRef, self SecretRef) (_retval SecretRecord, _err error)

func (SecretClass) GetUUID

func (_class SecretClass) GetUUID(sessionID SessionRef, self SecretRef) (_retval string, _err error)

Get the uuid field of the given secret.

func (SecretClass) GetUUIDMock

func (_class SecretClass) GetUUIDMock(sessionID SessionRef, self SecretRef) (_retval string, _err error)

func (SecretClass) GetValue

func (_class SecretClass) GetValue(sessionID SessionRef, self SecretRef) (_retval string, _err error)

Get the value field of the given secret.

func (SecretClass) GetValueMock

func (_class SecretClass) GetValueMock(sessionID SessionRef, self SecretRef) (_retval string, _err error)

func (SecretClass) RemoveFromOtherConfig

func (_class SecretClass) RemoveFromOtherConfig(sessionID SessionRef, self SecretRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given secret. If the key is not in that Map, then do nothing.

func (SecretClass) RemoveFromOtherConfigMock

func (_class SecretClass) RemoveFromOtherConfigMock(sessionID SessionRef, self SecretRef, key string) (_err error)

func (SecretClass) SetOtherConfig

func (_class SecretClass) SetOtherConfig(sessionID SessionRef, self SecretRef, value map[string]string) (_err error)

Set the other_config field of the given secret.

func (SecretClass) SetOtherConfigMock

func (_class SecretClass) SetOtherConfigMock(sessionID SessionRef, self SecretRef, value map[string]string) (_err error)

func (SecretClass) SetValue

func (_class SecretClass) SetValue(sessionID SessionRef, self SecretRef, value string) (_err error)

Set the value field of the given secret.

func (SecretClass) SetValueMock

func (_class SecretClass) SetValueMock(sessionID SessionRef, self SecretRef, value string) (_err error)

type SecretRecord

type SecretRecord struct {
	// Unique identifier/object reference
	UUID string
	// the secret
	Value string
	// other_config
	OtherConfig map[string]string
}

func SecretClassGetRecordMockDefault

func SecretClassGetRecordMockDefault(sessionID SessionRef, self SecretRef) (_retval SecretRecord, _err error)

type SecretRef

type SecretRef string

func SecretClassCreateMockDefault

func SecretClassCreateMockDefault(sessionID SessionRef, args SecretRecord) (_retval SecretRef, _err error)

func SecretClassGetAllMockDefault

func SecretClassGetAllMockDefault(sessionID SessionRef) (_retval []SecretRef, _err error)

func SecretClassGetByUUIDMockDefault

func SecretClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SecretRef, _err error)

type SessionClass

type SessionClass struct {
	// contains filtered or unexported fields
}

A session

func (SessionClass) AddToOtherConfig

func (_class SessionClass) AddToOtherConfig(sessionID SessionRef, self SessionRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given session.

func (SessionClass) AddToOtherConfigMock

func (_class SessionClass) AddToOtherConfigMock(sessionID SessionRef, self SessionRef, key string, value string) (_err error)

func (SessionClass) ChangePassword

func (_class SessionClass) ChangePassword(sessionID SessionRef, oldPwd string, newPwd string) (_err error)

Change the account password; if your session is authenticated with root priviledges then the old_pwd is validated and the new_pwd is set regardless

func (SessionClass) ChangePasswordMock

func (_class SessionClass) ChangePasswordMock(sessionID SessionRef, oldPwd string, newPwd string) (_err error)

func (SessionClass) CreateFromDbFile

func (_class SessionClass) CreateFromDbFile(sessionID SessionRef, filename string) (_retval SessionRef, _err error)

func (SessionClass) CreateFromDbFileMock

func (_class SessionClass) CreateFromDbFileMock(sessionID SessionRef, filename string) (_retval SessionRef, _err error)

func (SessionClass) GetAllSubjectIdentifiers

func (_class SessionClass) GetAllSubjectIdentifiers(sessionID SessionRef) (_retval []string, _err error)

Return a list of all the user subject-identifiers of all existing sessions

func (SessionClass) GetAllSubjectIdentifiersMock

func (_class SessionClass) GetAllSubjectIdentifiersMock(sessionID SessionRef) (_retval []string, _err error)

func (SessionClass) GetAuthUserName

func (_class SessionClass) GetAuthUserName(sessionID SessionRef, self SessionRef) (_retval string, _err error)

Get the auth_user_name field of the given session.

func (SessionClass) GetAuthUserNameMock

func (_class SessionClass) GetAuthUserNameMock(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func (SessionClass) GetAuthUserSid

func (_class SessionClass) GetAuthUserSid(sessionID SessionRef, self SessionRef) (_retval string, _err error)

Get the auth_user_sid field of the given session.

func (SessionClass) GetAuthUserSidMock

func (_class SessionClass) GetAuthUserSidMock(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func (SessionClass) GetByUUID

func (_class SessionClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SessionRef, _err error)

Get a reference to the session instance with the specified UUID.

func (SessionClass) GetByUUIDMock

func (_class SessionClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SessionRef, _err error)

func (SessionClass) GetIsLocalSuperuser

func (_class SessionClass) GetIsLocalSuperuser(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

Get the is_local_superuser field of the given session.

func (SessionClass) GetIsLocalSuperuserMock

func (_class SessionClass) GetIsLocalSuperuserMock(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

func (SessionClass) GetLastActive

func (_class SessionClass) GetLastActive(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

Get the last_active field of the given session.

func (SessionClass) GetLastActiveMock

func (_class SessionClass) GetLastActiveMock(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

func (SessionClass) GetOriginator

func (_class SessionClass) GetOriginator(sessionID SessionRef, self SessionRef) (_retval string, _err error)

Get the originator field of the given session.

func (SessionClass) GetOriginatorMock

func (_class SessionClass) GetOriginatorMock(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func (SessionClass) GetOtherConfig

func (_class SessionClass) GetOtherConfig(sessionID SessionRef, self SessionRef) (_retval map[string]string, _err error)

Get the other_config field of the given session.

func (SessionClass) GetOtherConfigMock

func (_class SessionClass) GetOtherConfigMock(sessionID SessionRef, self SessionRef) (_retval map[string]string, _err error)

func (SessionClass) GetParent

func (_class SessionClass) GetParent(sessionID SessionRef, self SessionRef) (_retval SessionRef, _err error)

Get the parent field of the given session.

func (SessionClass) GetParentMock

func (_class SessionClass) GetParentMock(sessionID SessionRef, self SessionRef) (_retval SessionRef, _err error)

func (SessionClass) GetPool

func (_class SessionClass) GetPool(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

Get the pool field of the given session.

func (SessionClass) GetPoolMock

func (_class SessionClass) GetPoolMock(sessionID SessionRef, self SessionRef) (_retval bool, _err error)

func (SessionClass) GetRbacPermissions

func (_class SessionClass) GetRbacPermissions(sessionID SessionRef, self SessionRef) (_retval []string, _err error)

Get the rbac_permissions field of the given session.

func (SessionClass) GetRbacPermissionsMock

func (_class SessionClass) GetRbacPermissionsMock(sessionID SessionRef, self SessionRef) (_retval []string, _err error)

func (SessionClass) GetRecord

func (_class SessionClass) GetRecord(sessionID SessionRef, self SessionRef) (_retval SessionRecord, _err error)

Get a record containing the current state of the given session.

func (SessionClass) GetRecordMock

func (_class SessionClass) GetRecordMock(sessionID SessionRef, self SessionRef) (_retval SessionRecord, _err error)

func (SessionClass) GetSubject

func (_class SessionClass) GetSubject(sessionID SessionRef, self SessionRef) (_retval SubjectRef, _err error)

Get the subject field of the given session.

func (SessionClass) GetSubjectMock

func (_class SessionClass) GetSubjectMock(sessionID SessionRef, self SessionRef) (_retval SubjectRef, _err error)

func (SessionClass) GetTasks

func (_class SessionClass) GetTasks(sessionID SessionRef, self SessionRef) (_retval []TaskRef, _err error)

Get the tasks field of the given session.

func (SessionClass) GetTasksMock

func (_class SessionClass) GetTasksMock(sessionID SessionRef, self SessionRef) (_retval []TaskRef, _err error)

func (SessionClass) GetThisHost

func (_class SessionClass) GetThisHost(sessionID SessionRef, self SessionRef) (_retval HostRef, _err error)

Get the this_host field of the given session.

func (SessionClass) GetThisHostMock

func (_class SessionClass) GetThisHostMock(sessionID SessionRef, self SessionRef) (_retval HostRef, _err error)

func (SessionClass) GetThisUser

func (_class SessionClass) GetThisUser(sessionID SessionRef, self SessionRef) (_retval UserRef, _err error)

Get the this_user field of the given session.

func (SessionClass) GetThisUserMock

func (_class SessionClass) GetThisUserMock(sessionID SessionRef, self SessionRef) (_retval UserRef, _err error)

func (SessionClass) GetUUID

func (_class SessionClass) GetUUID(sessionID SessionRef, self SessionRef) (_retval string, _err error)

Get the uuid field of the given session.

func (SessionClass) GetUUIDMock

func (_class SessionClass) GetUUIDMock(sessionID SessionRef, self SessionRef) (_retval string, _err error)

func (SessionClass) GetValidationTime

func (_class SessionClass) GetValidationTime(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

Get the validation_time field of the given session.

func (SessionClass) GetValidationTimeMock

func (_class SessionClass) GetValidationTimeMock(sessionID SessionRef, self SessionRef) (_retval time.Time, _err error)

func (SessionClass) LocalLogout

func (_class SessionClass) LocalLogout(sessionID SessionRef) (_err error)

Log out of local session.

func (SessionClass) LocalLogoutMock

func (_class SessionClass) LocalLogoutMock(sessionID SessionRef) (_err error)

func (SessionClass) LoginWithPassword

func (_class SessionClass) LoginWithPassword(uname string, pwd string, version string, originator string) (_retval SessionRef, _err error)

Attempt to authenticate the user, returning a session reference if successful

Errors:

SESSION_AUTHENTICATION_FAILED - The credentials given by the user are incorrect, so access has been denied, and you have not been issued a session handle.
HOST_IS_SLAVE - You cannot make regular API calls directly on a slave. Please pass API calls via the master host.

func (SessionClass) LoginWithPasswordMock

func (_class SessionClass) LoginWithPasswordMock(uname string, pwd string, version string, originator string) (_retval SessionRef, _err error)

func (SessionClass) Logout

func (_class SessionClass) Logout(sessionID SessionRef) (_err error)

Log out of a session

func (SessionClass) LogoutMock

func (_class SessionClass) LogoutMock(sessionID SessionRef) (_err error)

func (SessionClass) LogoutSubjectIdentifier

func (_class SessionClass) LogoutSubjectIdentifier(sessionID SessionRef, subjectIdentifier string) (_err error)

Log out all sessions associated to a user subject-identifier, except the session associated with the context calling this function

func (SessionClass) LogoutSubjectIdentifierMock

func (_class SessionClass) LogoutSubjectIdentifierMock(sessionID SessionRef, subjectIdentifier string) (_err error)

func (SessionClass) RemoveFromOtherConfig

func (_class SessionClass) RemoveFromOtherConfig(sessionID SessionRef, self SessionRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given session. If the key is not in that Map, then do nothing.

func (SessionClass) RemoveFromOtherConfigMock

func (_class SessionClass) RemoveFromOtherConfigMock(sessionID SessionRef, self SessionRef, key string) (_err error)

func (SessionClass) SetOtherConfig

func (_class SessionClass) SetOtherConfig(sessionID SessionRef, self SessionRef, value map[string]string) (_err error)

Set the other_config field of the given session.

func (SessionClass) SetOtherConfigMock

func (_class SessionClass) SetOtherConfigMock(sessionID SessionRef, self SessionRef, value map[string]string) (_err error)

func (SessionClass) SlaveLocalLoginWithPassword

func (_class SessionClass) SlaveLocalLoginWithPassword(uname string, pwd string) (_retval SessionRef, _err error)

Authenticate locally against a slave in emergency mode. Note the resulting sessions are only good for use on this host.

func (SessionClass) SlaveLocalLoginWithPasswordMock

func (_class SessionClass) SlaveLocalLoginWithPasswordMock(uname string, pwd string) (_retval SessionRef, _err error)

type SessionRecord

type SessionRecord struct {
	// Unique identifier/object reference
	UUID string
	// Currently connected host
	ThisHost HostRef
	// Currently connected user
	ThisUser UserRef
	// Timestamp for last time session was active
	LastActive time.Time
	// True if this session relates to a intra-pool login, false otherwise
	Pool bool
	// additional configuration
	OtherConfig map[string]string
	// true iff this session was created using local superuser credentials
	IsLocalSuperuser bool
	// references the subject instance that created the session. If a session instance has is_local_superuser set, then the value of this field is undefined.
	Subject SubjectRef
	// time when session was last validated
	ValidationTime time.Time
	// the subject identifier of the user that was externally authenticated. If a session instance has is_local_superuser set, then the value of this field is undefined.
	AuthUserSid string
	// the subject name of the user that was externally authenticated. If a session instance has is_local_superuser set, then the value of this field is undefined.
	AuthUserName string
	// list with all RBAC permissions for this session
	RbacPermissions []string
	// list of tasks created using the current session
	Tasks []TaskRef
	// references the parent session that created this session
	Parent SessionRef
	// a key string provided by a API user to distinguish itself from other users sharing the same login name
	Originator string
}

func SessionClassGetRecordMockDefault

func SessionClassGetRecordMockDefault(sessionID SessionRef, self SessionRef) (_retval SessionRecord, _err error)

type SessionRef

type SessionRef string

func SessionClassCreateFromDbFileMockDefault

func SessionClassCreateFromDbFileMockDefault(sessionID SessionRef, filename string) (_retval SessionRef, _err error)

func SessionClassGetByUUIDMockDefault

func SessionClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SessionRef, _err error)

func SessionClassGetParentMockDefault

func SessionClassGetParentMockDefault(sessionID SessionRef, self SessionRef) (_retval SessionRef, _err error)

func SessionClassLoginWithPasswordMockDefault

func SessionClassLoginWithPasswordMockDefault(uname string, pwd string, version string, originator string) (_retval SessionRef, _err error)

func SessionClassSlaveLocalLoginWithPasswordMockDefault

func SessionClassSlaveLocalLoginWithPasswordMockDefault(uname string, pwd string) (_retval SessionRef, _err error)

func VDIClassOpenDatabaseMockDefault

func VDIClassOpenDatabaseMockDefault(sessionID SessionRef, self VDIRef) (_retval SessionRef, _err error)

type StorageOperations

type StorageOperations string
const (
	// Scanning backends for new or deleted VDIs
	StorageOperationsScan StorageOperations = "scan"
	// Destroying the SR
	StorageOperationsDestroy StorageOperations = "destroy"
	// Forgetting about SR
	StorageOperationsForget StorageOperations = "forget"
	// Plugging a PBD into this SR
	StorageOperationsPlug StorageOperations = "plug"
	// Unplugging a PBD from this SR
	StorageOperationsUnplug StorageOperations = "unplug"
	// Refresh the fields on the SR
	StorageOperationsUpdate StorageOperations = "update"
	// Creating a new VDI
	StorageOperationsVdiCreate StorageOperations = "vdi_create"
	// Introducing a new VDI
	StorageOperationsVdiIntroduce StorageOperations = "vdi_introduce"
	// Destroying a VDI
	StorageOperationsVdiDestroy StorageOperations = "vdi_destroy"
	// Resizing a VDI
	StorageOperationsVdiResize StorageOperations = "vdi_resize"
	// Cloneing a VDI
	StorageOperationsVdiClone StorageOperations = "vdi_clone"
	// Snapshotting a VDI
	StorageOperationsVdiSnapshot StorageOperations = "vdi_snapshot"
	// Mirroring a VDI
	StorageOperationsVdiMirror StorageOperations = "vdi_mirror"
	// Enabling changed block tracking for a VDI
	StorageOperationsVdiEnableCbt StorageOperations = "vdi_enable_cbt"
	// Disabling changed block tracking for a VDI
	StorageOperationsVdiDisableCbt StorageOperations = "vdi_disable_cbt"
	// Deleting the data of the VDI
	StorageOperationsVdiDataDestroy StorageOperations = "vdi_data_destroy"
	// Exporting a bitmap that shows the changed blocks between two VDIs
	StorageOperationsVdiListChangedBlocks StorageOperations = "vdi_list_changed_blocks"
	// Setting the on_boot field of the VDI
	StorageOperationsVdiSetOnBoot StorageOperations = "vdi_set_on_boot"
	// Creating a PBD for this SR
	StorageOperationsPbdCreate StorageOperations = "pbd_create"
	// Destroying one of this SR's PBDs
	StorageOperationsPbdDestroy StorageOperations = "pbd_destroy"
)

func SRClassGetAllowedOperationsMockDefault

func SRClassGetAllowedOperationsMockDefault(sessionID SessionRef, self SRRef) (_retval []StorageOperations, _err error)

type SubjectClass

type SubjectClass struct {
	// contains filtered or unexported fields
}

A user or group that can log in xapi

func (SubjectClass) AddToRoles

func (_class SubjectClass) AddToRoles(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

This call adds a new role to a subject

func (SubjectClass) AddToRolesMock

func (_class SubjectClass) AddToRolesMock(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

func (SubjectClass) Create

func (_class SubjectClass) Create(sessionID SessionRef, args SubjectRecord) (_retval SubjectRef, _err error)

Create a new subject instance, and return its handle. The constructor args are: subject_identifier, other_config (* = non-optional).

func (SubjectClass) CreateMock

func (_class SubjectClass) CreateMock(sessionID SessionRef, args SubjectRecord) (_retval SubjectRef, _err error)

func (SubjectClass) Destroy

func (_class SubjectClass) Destroy(sessionID SessionRef, self SubjectRef) (_err error)

Destroy the specified subject instance.

func (SubjectClass) DestroyMock

func (_class SubjectClass) DestroyMock(sessionID SessionRef, self SubjectRef) (_err error)

func (SubjectClass) GetAll

func (_class SubjectClass) GetAll(sessionID SessionRef) (_retval []SubjectRef, _err error)

Return a list of all the subjects known to the system.

func (SubjectClass) GetAllMock

func (_class SubjectClass) GetAllMock(sessionID SessionRef) (_retval []SubjectRef, _err error)

func (SubjectClass) GetAllRecords

func (_class SubjectClass) GetAllRecords(sessionID SessionRef) (_retval map[SubjectRef]SubjectRecord, _err error)

Return a map of subject references to subject records for all subjects known to the system.

func (SubjectClass) GetAllRecordsMock

func (_class SubjectClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[SubjectRef]SubjectRecord, _err error)

func (SubjectClass) GetByUUID

func (_class SubjectClass) GetByUUID(sessionID SessionRef, uuid string) (_retval SubjectRef, _err error)

Get a reference to the subject instance with the specified UUID.

func (SubjectClass) GetByUUIDMock

func (_class SubjectClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval SubjectRef, _err error)

func (SubjectClass) GetOtherConfig

func (_class SubjectClass) GetOtherConfig(sessionID SessionRef, self SubjectRef) (_retval map[string]string, _err error)

Get the other_config field of the given subject.

func (SubjectClass) GetOtherConfigMock

func (_class SubjectClass) GetOtherConfigMock(sessionID SessionRef, self SubjectRef) (_retval map[string]string, _err error)

func (SubjectClass) GetPermissionsNameLabel

func (_class SubjectClass) GetPermissionsNameLabel(sessionID SessionRef, self SubjectRef) (_retval []string, _err error)

This call returns a list of permission names given a subject

func (SubjectClass) GetPermissionsNameLabelMock

func (_class SubjectClass) GetPermissionsNameLabelMock(sessionID SessionRef, self SubjectRef) (_retval []string, _err error)

func (SubjectClass) GetRecord

func (_class SubjectClass) GetRecord(sessionID SessionRef, self SubjectRef) (_retval SubjectRecord, _err error)

Get a record containing the current state of the given subject.

func (SubjectClass) GetRecordMock

func (_class SubjectClass) GetRecordMock(sessionID SessionRef, self SubjectRef) (_retval SubjectRecord, _err error)

func (SubjectClass) GetRoles

func (_class SubjectClass) GetRoles(sessionID SessionRef, self SubjectRef) (_retval []RoleRef, _err error)

Get the roles field of the given subject.

func (SubjectClass) GetRolesMock

func (_class SubjectClass) GetRolesMock(sessionID SessionRef, self SubjectRef) (_retval []RoleRef, _err error)

func (SubjectClass) GetSubjectIdentifier

func (_class SubjectClass) GetSubjectIdentifier(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

Get the subject_identifier field of the given subject.

func (SubjectClass) GetSubjectIdentifierMock

func (_class SubjectClass) GetSubjectIdentifierMock(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

func (SubjectClass) GetUUID

func (_class SubjectClass) GetUUID(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

Get the uuid field of the given subject.

func (SubjectClass) GetUUIDMock

func (_class SubjectClass) GetUUIDMock(sessionID SessionRef, self SubjectRef) (_retval string, _err error)

func (SubjectClass) RemoveFromRoles

func (_class SubjectClass) RemoveFromRoles(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

This call removes a role from a subject

func (SubjectClass) RemoveFromRolesMock

func (_class SubjectClass) RemoveFromRolesMock(sessionID SessionRef, self SubjectRef, role RoleRef) (_err error)

type SubjectRecord

type SubjectRecord struct {
	// Unique identifier/object reference
	UUID string
	// the subject identifier, unique in the external directory service
	SubjectIdentifier string
	// additional configuration
	OtherConfig map[string]string
	// the roles associated with this subject
	Roles []RoleRef
}

func SubjectClassGetRecordMockDefault

func SubjectClassGetRecordMockDefault(sessionID SessionRef, self SubjectRef) (_retval SubjectRecord, _err error)

type SubjectRef

type SubjectRef string

func SessionClassGetSubjectMockDefault

func SessionClassGetSubjectMockDefault(sessionID SessionRef, self SessionRef) (_retval SubjectRef, _err error)

func SubjectClassCreateMockDefault

func SubjectClassCreateMockDefault(sessionID SessionRef, args SubjectRecord) (_retval SubjectRef, _err error)

func SubjectClassGetAllMockDefault

func SubjectClassGetAllMockDefault(sessionID SessionRef) (_retval []SubjectRef, _err error)

func SubjectClassGetByUUIDMockDefault

func SubjectClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval SubjectRef, _err error)

type TaskAllowedOperations

type TaskAllowedOperations string
const (
	// refers to the operation "cancel"
	TaskAllowedOperationsCancel TaskAllowedOperations = "cancel"
	// refers to the operation "destroy"
	TaskAllowedOperationsDestroy TaskAllowedOperations = "destroy"
)

func TaskClassGetAllowedOperationsMockDefault

func TaskClassGetAllowedOperationsMockDefault(sessionID SessionRef, self TaskRef) (_retval []TaskAllowedOperations, _err error)

type TaskClass

type TaskClass struct {
	// contains filtered or unexported fields
}

A long-running asynchronous task

func (TaskClass) AddToOtherConfig

func (_class TaskClass) AddToOtherConfig(sessionID SessionRef, self TaskRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given task.

func (TaskClass) AddToOtherConfigMock

func (_class TaskClass) AddToOtherConfigMock(sessionID SessionRef, self TaskRef, key string, value string) (_err error)

func (TaskClass) Cancel

func (_class TaskClass) Cancel(sessionID SessionRef, task TaskRef) (_err error)

Request that a task be cancelled. Note that a task may fail to be cancelled and may complete or fail normally and note that, even when a task does cancel, it might take an arbitrary amount of time.

Errors:

OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.

func (TaskClass) CancelMock

func (_class TaskClass) CancelMock(sessionID SessionRef, task TaskRef) (_err error)

func (TaskClass) Create

func (_class TaskClass) Create(sessionID SessionRef, label string, description string) (_retval TaskRef, _err error)

Create a new task object which must be manually destroyed.

func (TaskClass) CreateMock

func (_class TaskClass) CreateMock(sessionID SessionRef, label string, description string) (_retval TaskRef, _err error)

func (TaskClass) Destroy

func (_class TaskClass) Destroy(sessionID SessionRef, self TaskRef) (_err error)

Destroy the task object

func (TaskClass) DestroyMock

func (_class TaskClass) DestroyMock(sessionID SessionRef, self TaskRef) (_err error)

func (TaskClass) GetAll

func (_class TaskClass) GetAll(sessionID SessionRef) (_retval []TaskRef, _err error)

Return a list of all the tasks known to the system.

func (TaskClass) GetAllMock

func (_class TaskClass) GetAllMock(sessionID SessionRef) (_retval []TaskRef, _err error)

func (TaskClass) GetAllRecords

func (_class TaskClass) GetAllRecords(sessionID SessionRef) (_retval map[TaskRef]TaskRecord, _err error)

Return a map of task references to task records for all tasks known to the system.

func (TaskClass) GetAllRecordsMock

func (_class TaskClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[TaskRef]TaskRecord, _err error)

func (TaskClass) GetAllowedOperations

func (_class TaskClass) GetAllowedOperations(sessionID SessionRef, self TaskRef) (_retval []TaskAllowedOperations, _err error)

Get the allowed_operations field of the given task.

func (TaskClass) GetAllowedOperationsMock

func (_class TaskClass) GetAllowedOperationsMock(sessionID SessionRef, self TaskRef) (_retval []TaskAllowedOperations, _err error)

func (TaskClass) GetBacktrace

func (_class TaskClass) GetBacktrace(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the backtrace field of the given task.

func (TaskClass) GetBacktraceMock

func (_class TaskClass) GetBacktraceMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) GetByNameLabel

func (_class TaskClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []TaskRef, _err error)

Get all the task instances with the given label.

func (TaskClass) GetByNameLabelMock

func (_class TaskClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []TaskRef, _err error)

func (TaskClass) GetByUUID

func (_class TaskClass) GetByUUID(sessionID SessionRef, uuid string) (_retval TaskRef, _err error)

Get a reference to the task instance with the specified UUID.

func (TaskClass) GetByUUIDMock

func (_class TaskClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval TaskRef, _err error)

func (TaskClass) GetCreated

func (_class TaskClass) GetCreated(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

Get the created field of the given task.

func (TaskClass) GetCreatedMock

func (_class TaskClass) GetCreatedMock(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

func (TaskClass) GetCurrentOperations

func (_class TaskClass) GetCurrentOperations(sessionID SessionRef, self TaskRef) (_retval map[string]TaskAllowedOperations, _err error)

Get the current_operations field of the given task.

func (TaskClass) GetCurrentOperationsMock

func (_class TaskClass) GetCurrentOperationsMock(sessionID SessionRef, self TaskRef) (_retval map[string]TaskAllowedOperations, _err error)

func (TaskClass) GetErrorInfo

func (_class TaskClass) GetErrorInfo(sessionID SessionRef, self TaskRef) (_retval []string, _err error)

Get the error_info field of the given task.

func (TaskClass) GetErrorInfoMock

func (_class TaskClass) GetErrorInfoMock(sessionID SessionRef, self TaskRef) (_retval []string, _err error)

func (TaskClass) GetFinished

func (_class TaskClass) GetFinished(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

Get the finished field of the given task.

func (TaskClass) GetFinishedMock

func (_class TaskClass) GetFinishedMock(sessionID SessionRef, self TaskRef) (_retval time.Time, _err error)

func (TaskClass) GetNameDescription

func (_class TaskClass) GetNameDescription(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the name/description field of the given task.

func (TaskClass) GetNameDescriptionMock

func (_class TaskClass) GetNameDescriptionMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) GetNameLabel

func (_class TaskClass) GetNameLabel(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the name/label field of the given task.

func (TaskClass) GetNameLabelMock

func (_class TaskClass) GetNameLabelMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) GetOtherConfig

func (_class TaskClass) GetOtherConfig(sessionID SessionRef, self TaskRef) (_retval map[string]string, _err error)

Get the other_config field of the given task.

func (TaskClass) GetOtherConfigMock

func (_class TaskClass) GetOtherConfigMock(sessionID SessionRef, self TaskRef) (_retval map[string]string, _err error)

func (TaskClass) GetProgress

func (_class TaskClass) GetProgress(sessionID SessionRef, self TaskRef) (_retval float64, _err error)

Get the progress field of the given task.

func (TaskClass) GetProgressMock

func (_class TaskClass) GetProgressMock(sessionID SessionRef, self TaskRef) (_retval float64, _err error)

func (TaskClass) GetRecord

func (_class TaskClass) GetRecord(sessionID SessionRef, self TaskRef) (_retval TaskRecord, _err error)

Get a record containing the current state of the given task.

func (TaskClass) GetRecordMock

func (_class TaskClass) GetRecordMock(sessionID SessionRef, self TaskRef) (_retval TaskRecord, _err error)

func (TaskClass) GetResidentOn

func (_class TaskClass) GetResidentOn(sessionID SessionRef, self TaskRef) (_retval HostRef, _err error)

Get the resident_on field of the given task.

func (TaskClass) GetResidentOnMock

func (_class TaskClass) GetResidentOnMock(sessionID SessionRef, self TaskRef) (_retval HostRef, _err error)

func (TaskClass) GetResult

func (_class TaskClass) GetResult(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the result field of the given task.

func (TaskClass) GetResultMock

func (_class TaskClass) GetResultMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) GetStatus

func (_class TaskClass) GetStatus(sessionID SessionRef, self TaskRef) (_retval TaskStatusType, _err error)

Get the status field of the given task.

func (TaskClass) GetStatusMock

func (_class TaskClass) GetStatusMock(sessionID SessionRef, self TaskRef) (_retval TaskStatusType, _err error)

func (TaskClass) GetSubtaskOf

func (_class TaskClass) GetSubtaskOf(sessionID SessionRef, self TaskRef) (_retval TaskRef, _err error)

Get the subtask_of field of the given task.

func (TaskClass) GetSubtaskOfMock

func (_class TaskClass) GetSubtaskOfMock(sessionID SessionRef, self TaskRef) (_retval TaskRef, _err error)

func (TaskClass) GetSubtasks

func (_class TaskClass) GetSubtasks(sessionID SessionRef, self TaskRef) (_retval []TaskRef, _err error)

Get the subtasks field of the given task.

func (TaskClass) GetSubtasksMock

func (_class TaskClass) GetSubtasksMock(sessionID SessionRef, self TaskRef) (_retval []TaskRef, _err error)

func (TaskClass) GetType

func (_class TaskClass) GetType(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the type field of the given task.

func (TaskClass) GetTypeMock

func (_class TaskClass) GetTypeMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) GetUUID

func (_class TaskClass) GetUUID(sessionID SessionRef, self TaskRef) (_retval string, _err error)

Get the uuid field of the given task.

func (TaskClass) GetUUIDMock

func (_class TaskClass) GetUUIDMock(sessionID SessionRef, self TaskRef) (_retval string, _err error)

func (TaskClass) RemoveFromOtherConfig

func (_class TaskClass) RemoveFromOtherConfig(sessionID SessionRef, self TaskRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given task. If the key is not in that Map, then do nothing.

func (TaskClass) RemoveFromOtherConfigMock

func (_class TaskClass) RemoveFromOtherConfigMock(sessionID SessionRef, self TaskRef, key string) (_err error)

func (TaskClass) SetOtherConfig

func (_class TaskClass) SetOtherConfig(sessionID SessionRef, self TaskRef, value map[string]string) (_err error)

Set the other_config field of the given task.

func (TaskClass) SetOtherConfigMock

func (_class TaskClass) SetOtherConfigMock(sessionID SessionRef, self TaskRef, value map[string]string) (_err error)

func (TaskClass) SetStatus

func (_class TaskClass) SetStatus(sessionID SessionRef, self TaskRef, value TaskStatusType) (_err error)

Set the task status

func (TaskClass) SetStatusMock

func (_class TaskClass) SetStatusMock(sessionID SessionRef, self TaskRef, value TaskStatusType) (_err error)

type TaskRecord

type TaskRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []TaskAllowedOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]TaskAllowedOperations
	// Time task was created
	Created time.Time
	// Time task finished (i.e. succeeded or failed). If task-status is pending, then the value of this field has no meaning
	Finished time.Time
	// current status of the task
	Status TaskStatusType
	// the host on which the task is running
	ResidentOn HostRef
	// This field contains the estimated fraction of the task which is complete. This field should not be used to determine whether the task is complete - for this the status field of the task should be used.
	Progress float64
	// if the task has completed successfully, this field contains the type of the encoded result (i.e. name of the class whose reference is in the result field). Undefined otherwise.
	Type string
	// if the task has completed successfully, this field contains the result value (either Void or an object reference). Undefined otherwise.
	Result string
	// if the task has failed, this field contains the set of associated error strings. Undefined otherwise.
	ErrorInfo []string
	// additional configuration
	OtherConfig map[string]string
	// Ref pointing to the task this is a substask of.
	SubtaskOf TaskRef
	// List pointing to all the substasks.
	Subtasks []TaskRef
	// Function call trace for debugging.
	Backtrace string
}

func TaskClassGetRecordMockDefault

func TaskClassGetRecordMockDefault(sessionID SessionRef, self TaskRef) (_retval TaskRecord, _err error)

type TaskRef

type TaskRef string

func SessionClassGetTasksMockDefault

func SessionClassGetTasksMockDefault(sessionID SessionRef, self SessionRef) (_retval []TaskRef, _err error)

func TaskClassCreateMockDefault

func TaskClassCreateMockDefault(sessionID SessionRef, label string, description string) (_retval TaskRef, _err error)

func TaskClassGetAllMockDefault

func TaskClassGetAllMockDefault(sessionID SessionRef) (_retval []TaskRef, _err error)

func TaskClassGetByNameLabelMockDefault

func TaskClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []TaskRef, _err error)

func TaskClassGetByUUIDMockDefault

func TaskClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval TaskRef, _err error)

func TaskClassGetSubtaskOfMockDefault

func TaskClassGetSubtaskOfMockDefault(sessionID SessionRef, self TaskRef) (_retval TaskRef, _err error)

func TaskClassGetSubtasksMockDefault

func TaskClassGetSubtasksMockDefault(sessionID SessionRef, self TaskRef) (_retval []TaskRef, _err error)

type TaskStatusType

type TaskStatusType string
const (
	// task is in progress
	TaskStatusTypePending TaskStatusType = "pending"
	// task was completed successfully
	TaskStatusTypeSuccess TaskStatusType = "success"
	// task has failed
	TaskStatusTypeFailure TaskStatusType = "failure"
	// task is being cancelled
	TaskStatusTypeCancelling TaskStatusType = "cancelling"
	// task has been cancelled
	TaskStatusTypeCancelled TaskStatusType = "cancelled"
)

func TaskClassGetStatusMockDefault

func TaskClassGetStatusMockDefault(sessionID SessionRef, self TaskRef) (_retval TaskStatusType, _err error)

type TristateType

type TristateType string
const (
	// Known to be true
	TristateTypeYes TristateType = "yes"
	// Known to be false
	TristateTypeNo TristateType = "no"
	// Unknown or unspecified
	TristateTypeUnspecified TristateType = "unspecified"
)

func VMGuestMetricsClassGetCanUseHotplugVbdMockDefault

func VMGuestMetricsClassGetCanUseHotplugVbdMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

func VMGuestMetricsClassGetCanUseHotplugVifMockDefault

func VMGuestMetricsClassGetCanUseHotplugVifMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

type TunnelClass

type TunnelClass struct {
	// contains filtered or unexported fields
}

A tunnel for network traffic

func (TunnelClass) AddToOtherConfig

func (_class TunnelClass) AddToOtherConfig(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given tunnel.

func (TunnelClass) AddToOtherConfigMock

func (_class TunnelClass) AddToOtherConfigMock(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

func (TunnelClass) AddToStatus

func (_class TunnelClass) AddToStatus(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

Add the given key-value pair to the status field of the given tunnel.

func (TunnelClass) AddToStatusMock

func (_class TunnelClass) AddToStatusMock(sessionID SessionRef, self TunnelRef, key string, value string) (_err error)

func (TunnelClass) Create

func (_class TunnelClass) Create(sessionID SessionRef, transportPIF PIFRef, network NetworkRef) (_retval TunnelRef, _err error)

Create a tunnel

Errors:

OPENVSWITCH_NOT_ACTIVE - This operation needs the OpenVSwitch networking backend to be enabled on all hosts in the pool.
TRANSPORT_PIF_NOT_CONFIGURED - The tunnel transport PIF has no IP configuration set.
IS_TUNNEL_ACCESS_PIF - You tried to create a VLAN or tunnel on top of a tunnel access PIF - use the underlying transport PIF instead.

func (TunnelClass) CreateMock

func (_class TunnelClass) CreateMock(sessionID SessionRef, transportPIF PIFRef, network NetworkRef) (_retval TunnelRef, _err error)

func (TunnelClass) Destroy

func (_class TunnelClass) Destroy(sessionID SessionRef, self TunnelRef) (_err error)

Destroy a tunnel

func (TunnelClass) DestroyMock

func (_class TunnelClass) DestroyMock(sessionID SessionRef, self TunnelRef) (_err error)

func (TunnelClass) GetAccessPIF

func (_class TunnelClass) GetAccessPIF(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

Get the access_PIF field of the given tunnel.

func (TunnelClass) GetAccessPIFMock

func (_class TunnelClass) GetAccessPIFMock(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

func (TunnelClass) GetAll

func (_class TunnelClass) GetAll(sessionID SessionRef) (_retval []TunnelRef, _err error)

Return a list of all the tunnels known to the system.

func (TunnelClass) GetAllMock

func (_class TunnelClass) GetAllMock(sessionID SessionRef) (_retval []TunnelRef, _err error)

func (TunnelClass) GetAllRecords

func (_class TunnelClass) GetAllRecords(sessionID SessionRef) (_retval map[TunnelRef]TunnelRecord, _err error)

Return a map of tunnel references to tunnel records for all tunnels known to the system.

func (TunnelClass) GetAllRecordsMock

func (_class TunnelClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[TunnelRef]TunnelRecord, _err error)

func (TunnelClass) GetByUUID

func (_class TunnelClass) GetByUUID(sessionID SessionRef, uuid string) (_retval TunnelRef, _err error)

Get a reference to the tunnel instance with the specified UUID.

func (TunnelClass) GetByUUIDMock

func (_class TunnelClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval TunnelRef, _err error)

func (TunnelClass) GetOtherConfig

func (_class TunnelClass) GetOtherConfig(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

Get the other_config field of the given tunnel.

func (TunnelClass) GetOtherConfigMock

func (_class TunnelClass) GetOtherConfigMock(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

func (TunnelClass) GetRecord

func (_class TunnelClass) GetRecord(sessionID SessionRef, self TunnelRef) (_retval TunnelRecord, _err error)

Get a record containing the current state of the given tunnel.

func (TunnelClass) GetRecordMock

func (_class TunnelClass) GetRecordMock(sessionID SessionRef, self TunnelRef) (_retval TunnelRecord, _err error)

func (TunnelClass) GetStatus

func (_class TunnelClass) GetStatus(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

Get the status field of the given tunnel.

func (TunnelClass) GetStatusMock

func (_class TunnelClass) GetStatusMock(sessionID SessionRef, self TunnelRef) (_retval map[string]string, _err error)

func (TunnelClass) GetTransportPIF

func (_class TunnelClass) GetTransportPIF(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

Get the transport_PIF field of the given tunnel.

func (TunnelClass) GetTransportPIFMock

func (_class TunnelClass) GetTransportPIFMock(sessionID SessionRef, self TunnelRef) (_retval PIFRef, _err error)

func (TunnelClass) GetUUID

func (_class TunnelClass) GetUUID(sessionID SessionRef, self TunnelRef) (_retval string, _err error)

Get the uuid field of the given tunnel.

func (TunnelClass) GetUUIDMock

func (_class TunnelClass) GetUUIDMock(sessionID SessionRef, self TunnelRef) (_retval string, _err error)

func (TunnelClass) RemoveFromOtherConfig

func (_class TunnelClass) RemoveFromOtherConfig(sessionID SessionRef, self TunnelRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given tunnel. If the key is not in that Map, then do nothing.

func (TunnelClass) RemoveFromOtherConfigMock

func (_class TunnelClass) RemoveFromOtherConfigMock(sessionID SessionRef, self TunnelRef, key string) (_err error)

func (TunnelClass) RemoveFromStatus

func (_class TunnelClass) RemoveFromStatus(sessionID SessionRef, self TunnelRef, key string) (_err error)

Remove the given key and its corresponding value from the status field of the given tunnel. If the key is not in that Map, then do nothing.

func (TunnelClass) RemoveFromStatusMock

func (_class TunnelClass) RemoveFromStatusMock(sessionID SessionRef, self TunnelRef, key string) (_err error)

func (TunnelClass) SetOtherConfig

func (_class TunnelClass) SetOtherConfig(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

Set the other_config field of the given tunnel.

func (TunnelClass) SetOtherConfigMock

func (_class TunnelClass) SetOtherConfigMock(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

func (TunnelClass) SetStatus

func (_class TunnelClass) SetStatus(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

Set the status field of the given tunnel.

func (TunnelClass) SetStatusMock

func (_class TunnelClass) SetStatusMock(sessionID SessionRef, self TunnelRef, value map[string]string) (_err error)

type TunnelRecord

type TunnelRecord struct {
	// Unique identifier/object reference
	UUID string
	// The interface through which the tunnel is accessed
	AccessPIF PIFRef
	// The interface used by the tunnel
	TransportPIF PIFRef
	// Status information about the tunnel
	Status map[string]string
	// Additional configuration
	OtherConfig map[string]string
}

func TunnelClassGetRecordMockDefault

func TunnelClassGetRecordMockDefault(sessionID SessionRef, self TunnelRef) (_retval TunnelRecord, _err error)

type TunnelRef

type TunnelRef string

func PIFClassGetTunnelAccessPIFOfMockDefault

func PIFClassGetTunnelAccessPIFOfMockDefault(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

func PIFClassGetTunnelTransportPIFOfMockDefault

func PIFClassGetTunnelTransportPIFOfMockDefault(sessionID SessionRef, self PIFRef) (_retval []TunnelRef, _err error)

func TunnelClassCreateMockDefault

func TunnelClassCreateMockDefault(sessionID SessionRef, transportPIF PIFRef, network NetworkRef) (_retval TunnelRef, _err error)

func TunnelClassGetAllMockDefault

func TunnelClassGetAllMockDefault(sessionID SessionRef) (_retval []TunnelRef, _err error)

func TunnelClassGetByUUIDMockDefault

func TunnelClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval TunnelRef, _err error)

type USBGroupClass

type USBGroupClass struct {
	// contains filtered or unexported fields
}

A group of compatible USBs across the resource pool

func (USBGroupClass) AddToOtherConfig

func (_class USBGroupClass) AddToOtherConfig(sessionID SessionRef, self USBGroupRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given USB_group.

func (USBGroupClass) AddToOtherConfigMock

func (_class USBGroupClass) AddToOtherConfigMock(sessionID SessionRef, self USBGroupRef, key string, value string) (_err error)

func (USBGroupClass) Create

func (_class USBGroupClass) Create(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval USBGroupRef, _err error)

func (USBGroupClass) CreateMock

func (_class USBGroupClass) CreateMock(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval USBGroupRef, _err error)

func (USBGroupClass) Destroy

func (_class USBGroupClass) Destroy(sessionID SessionRef, self USBGroupRef) (_err error)

func (USBGroupClass) DestroyMock

func (_class USBGroupClass) DestroyMock(sessionID SessionRef, self USBGroupRef) (_err error)

func (USBGroupClass) GetAll

func (_class USBGroupClass) GetAll(sessionID SessionRef) (_retval []USBGroupRef, _err error)

Return a list of all the USB_groups known to the system.

func (USBGroupClass) GetAllMock

func (_class USBGroupClass) GetAllMock(sessionID SessionRef) (_retval []USBGroupRef, _err error)

func (USBGroupClass) GetAllRecords

func (_class USBGroupClass) GetAllRecords(sessionID SessionRef) (_retval map[USBGroupRef]USBGroupRecord, _err error)

Return a map of USB_group references to USB_group records for all USB_groups known to the system.

func (USBGroupClass) GetAllRecordsMock

func (_class USBGroupClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[USBGroupRef]USBGroupRecord, _err error)

func (USBGroupClass) GetByNameLabel

func (_class USBGroupClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []USBGroupRef, _err error)

Get all the USB_group instances with the given label.

func (USBGroupClass) GetByNameLabelMock

func (_class USBGroupClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []USBGroupRef, _err error)

func (USBGroupClass) GetByUUID

func (_class USBGroupClass) GetByUUID(sessionID SessionRef, uuid string) (_retval USBGroupRef, _err error)

Get a reference to the USB_group instance with the specified UUID.

func (USBGroupClass) GetByUUIDMock

func (_class USBGroupClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval USBGroupRef, _err error)

func (USBGroupClass) GetNameDescription

func (_class USBGroupClass) GetNameDescription(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

Get the name/description field of the given USB_group.

func (USBGroupClass) GetNameDescriptionMock

func (_class USBGroupClass) GetNameDescriptionMock(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func (USBGroupClass) GetNameLabel

func (_class USBGroupClass) GetNameLabel(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

Get the name/label field of the given USB_group.

func (USBGroupClass) GetNameLabelMock

func (_class USBGroupClass) GetNameLabelMock(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func (USBGroupClass) GetOtherConfig

func (_class USBGroupClass) GetOtherConfig(sessionID SessionRef, self USBGroupRef) (_retval map[string]string, _err error)

Get the other_config field of the given USB_group.

func (USBGroupClass) GetOtherConfigMock

func (_class USBGroupClass) GetOtherConfigMock(sessionID SessionRef, self USBGroupRef) (_retval map[string]string, _err error)

func (USBGroupClass) GetPUSBs

func (_class USBGroupClass) GetPUSBs(sessionID SessionRef, self USBGroupRef) (_retval []PUSBRef, _err error)

Get the PUSBs field of the given USB_group.

func (USBGroupClass) GetPUSBsMock

func (_class USBGroupClass) GetPUSBsMock(sessionID SessionRef, self USBGroupRef) (_retval []PUSBRef, _err error)

func (USBGroupClass) GetRecord

func (_class USBGroupClass) GetRecord(sessionID SessionRef, self USBGroupRef) (_retval USBGroupRecord, _err error)

Get a record containing the current state of the given USB_group.

func (USBGroupClass) GetRecordMock

func (_class USBGroupClass) GetRecordMock(sessionID SessionRef, self USBGroupRef) (_retval USBGroupRecord, _err error)

func (USBGroupClass) GetUUID

func (_class USBGroupClass) GetUUID(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

Get the uuid field of the given USB_group.

func (USBGroupClass) GetUUIDMock

func (_class USBGroupClass) GetUUIDMock(sessionID SessionRef, self USBGroupRef) (_retval string, _err error)

func (USBGroupClass) GetVUSBs

func (_class USBGroupClass) GetVUSBs(sessionID SessionRef, self USBGroupRef) (_retval []VUSBRef, _err error)

Get the VUSBs field of the given USB_group.

func (USBGroupClass) GetVUSBsMock

func (_class USBGroupClass) GetVUSBsMock(sessionID SessionRef, self USBGroupRef) (_retval []VUSBRef, _err error)

func (USBGroupClass) RemoveFromOtherConfig

func (_class USBGroupClass) RemoveFromOtherConfig(sessionID SessionRef, self USBGroupRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given USB_group. If the key is not in that Map, then do nothing.

func (USBGroupClass) RemoveFromOtherConfigMock

func (_class USBGroupClass) RemoveFromOtherConfigMock(sessionID SessionRef, self USBGroupRef, key string) (_err error)

func (USBGroupClass) SetNameDescription

func (_class USBGroupClass) SetNameDescription(sessionID SessionRef, self USBGroupRef, value string) (_err error)

Set the name/description field of the given USB_group.

func (USBGroupClass) SetNameDescriptionMock

func (_class USBGroupClass) SetNameDescriptionMock(sessionID SessionRef, self USBGroupRef, value string) (_err error)

func (USBGroupClass) SetNameLabel

func (_class USBGroupClass) SetNameLabel(sessionID SessionRef, self USBGroupRef, value string) (_err error)

Set the name/label field of the given USB_group.

func (USBGroupClass) SetNameLabelMock

func (_class USBGroupClass) SetNameLabelMock(sessionID SessionRef, self USBGroupRef, value string) (_err error)

func (USBGroupClass) SetOtherConfig

func (_class USBGroupClass) SetOtherConfig(sessionID SessionRef, self USBGroupRef, value map[string]string) (_err error)

Set the other_config field of the given USB_group.

func (USBGroupClass) SetOtherConfigMock

func (_class USBGroupClass) SetOtherConfigMock(sessionID SessionRef, self USBGroupRef, value map[string]string) (_err error)

type USBGroupRecord

type USBGroupRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// List of PUSBs in the group
	PUSBs []PUSBRef
	// List of VUSBs using the group
	VUSBs []VUSBRef
	// Additional configuration
	OtherConfig map[string]string
}

func USBGroupClassGetRecordMockDefault

func USBGroupClassGetRecordMockDefault(sessionID SessionRef, self USBGroupRef) (_retval USBGroupRecord, _err error)

type USBGroupRef

type USBGroupRef string

func PUSBClassGetUSBGroupMockDefault

func PUSBClassGetUSBGroupMockDefault(sessionID SessionRef, self PUSBRef) (_retval USBGroupRef, _err error)

func USBGroupClassCreateMockDefault

func USBGroupClassCreateMockDefault(sessionID SessionRef, nameLabel string, nameDescription string, otherConfig map[string]string) (_retval USBGroupRef, _err error)

func USBGroupClassGetAllMockDefault

func USBGroupClassGetAllMockDefault(sessionID SessionRef) (_retval []USBGroupRef, _err error)

func USBGroupClassGetByNameLabelMockDefault

func USBGroupClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []USBGroupRef, _err error)

func USBGroupClassGetByUUIDMockDefault

func USBGroupClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval USBGroupRef, _err error)

func VUSBClassGetUSBGroupMockDefault

func VUSBClassGetUSBGroupMockDefault(sessionID SessionRef, self VUSBRef) (_retval USBGroupRef, _err error)

type UpdateAfterApplyGuidance

type UpdateAfterApplyGuidance string
const (
	// This update requires HVM guests to be restarted once applied.
	UpdateAfterApplyGuidanceRestartHVM UpdateAfterApplyGuidance = "restartHVM"
	// This update requires PV guests to be restarted once applied.
	UpdateAfterApplyGuidanceRestartPV UpdateAfterApplyGuidance = "restartPV"
	// This update requires the host to be restarted once applied.
	UpdateAfterApplyGuidanceRestartHost UpdateAfterApplyGuidance = "restartHost"
	// This update requires XAPI to be restarted once applied.
	UpdateAfterApplyGuidanceRestartXAPI UpdateAfterApplyGuidance = "restartXAPI"
)

func PoolUpdateClassGetAfterApplyGuidanceMockDefault

func PoolUpdateClassGetAfterApplyGuidanceMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval []UpdateAfterApplyGuidance, _err error)

type UserClass

type UserClass struct {
	// contains filtered or unexported fields
}

A user of the system

func (UserClass) AddToOtherConfig

func (_class UserClass) AddToOtherConfig(sessionID SessionRef, self UserRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given user.

func (UserClass) AddToOtherConfigMock

func (_class UserClass) AddToOtherConfigMock(sessionID SessionRef, self UserRef, key string, value string) (_err error)

func (UserClass) Create

func (_class UserClass) Create(sessionID SessionRef, args UserRecord) (_retval UserRef, _err error)

Create a new user instance, and return its handle. The constructor args are: short_name*, fullname*, other_config (* = non-optional).

func (UserClass) CreateMock

func (_class UserClass) CreateMock(sessionID SessionRef, args UserRecord) (_retval UserRef, _err error)

func (UserClass) Destroy

func (_class UserClass) Destroy(sessionID SessionRef, self UserRef) (_err error)

Destroy the specified user instance.

func (UserClass) DestroyMock

func (_class UserClass) DestroyMock(sessionID SessionRef, self UserRef) (_err error)

func (UserClass) GetByUUID

func (_class UserClass) GetByUUID(sessionID SessionRef, uuid string) (_retval UserRef, _err error)

Get a reference to the user instance with the specified UUID.

func (UserClass) GetByUUIDMock

func (_class UserClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval UserRef, _err error)

func (UserClass) GetFullname

func (_class UserClass) GetFullname(sessionID SessionRef, self UserRef) (_retval string, _err error)

Get the fullname field of the given user.

func (UserClass) GetFullnameMock

func (_class UserClass) GetFullnameMock(sessionID SessionRef, self UserRef) (_retval string, _err error)

func (UserClass) GetOtherConfig

func (_class UserClass) GetOtherConfig(sessionID SessionRef, self UserRef) (_retval map[string]string, _err error)

Get the other_config field of the given user.

func (UserClass) GetOtherConfigMock

func (_class UserClass) GetOtherConfigMock(sessionID SessionRef, self UserRef) (_retval map[string]string, _err error)

func (UserClass) GetRecord

func (_class UserClass) GetRecord(sessionID SessionRef, self UserRef) (_retval UserRecord, _err error)

Get a record containing the current state of the given user.

func (UserClass) GetRecordMock

func (_class UserClass) GetRecordMock(sessionID SessionRef, self UserRef) (_retval UserRecord, _err error)

func (UserClass) GetShortName

func (_class UserClass) GetShortName(sessionID SessionRef, self UserRef) (_retval string, _err error)

Get the short_name field of the given user.

func (UserClass) GetShortNameMock

func (_class UserClass) GetShortNameMock(sessionID SessionRef, self UserRef) (_retval string, _err error)

func (UserClass) GetUUID

func (_class UserClass) GetUUID(sessionID SessionRef, self UserRef) (_retval string, _err error)

Get the uuid field of the given user.

func (UserClass) GetUUIDMock

func (_class UserClass) GetUUIDMock(sessionID SessionRef, self UserRef) (_retval string, _err error)

func (UserClass) RemoveFromOtherConfig

func (_class UserClass) RemoveFromOtherConfig(sessionID SessionRef, self UserRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given user. If the key is not in that Map, then do nothing.

func (UserClass) RemoveFromOtherConfigMock

func (_class UserClass) RemoveFromOtherConfigMock(sessionID SessionRef, self UserRef, key string) (_err error)

func (UserClass) SetFullname

func (_class UserClass) SetFullname(sessionID SessionRef, self UserRef, value string) (_err error)

Set the fullname field of the given user.

func (UserClass) SetFullnameMock

func (_class UserClass) SetFullnameMock(sessionID SessionRef, self UserRef, value string) (_err error)

func (UserClass) SetOtherConfig

func (_class UserClass) SetOtherConfig(sessionID SessionRef, self UserRef, value map[string]string) (_err error)

Set the other_config field of the given user.

func (UserClass) SetOtherConfigMock

func (_class UserClass) SetOtherConfigMock(sessionID SessionRef, self UserRef, value map[string]string) (_err error)

type UserRecord

type UserRecord struct {
	// Unique identifier/object reference
	UUID string
	// short name (e.g. userid)
	ShortName string
	// full name
	Fullname string
	// additional configuration
	OtherConfig map[string]string
}

func UserClassGetRecordMockDefault

func UserClassGetRecordMockDefault(sessionID SessionRef, self UserRef) (_retval UserRecord, _err error)

type UserRef

type UserRef string

func SessionClassGetThisUserMockDefault

func SessionClassGetThisUserMockDefault(sessionID SessionRef, self SessionRef) (_retval UserRef, _err error)

func UserClassCreateMockDefault

func UserClassCreateMockDefault(sessionID SessionRef, args UserRecord) (_retval UserRef, _err error)

func UserClassGetByUUIDMockDefault

func UserClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval UserRef, _err error)

type VBDClass

type VBDClass struct {
	// contains filtered or unexported fields
}

A virtual block device

func (VBDClass) AddToOtherConfig

func (_class VBDClass) AddToOtherConfig(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VBD.

func (VBDClass) AddToOtherConfigMock

func (_class VBDClass) AddToOtherConfigMock(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

func (VBDClass) AddToQosAlgorithmParams

func (_class VBDClass) AddToQosAlgorithmParams(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

Add the given key-value pair to the qos/algorithm_params field of the given VBD.

func (VBDClass) AddToQosAlgorithmParamsMock

func (_class VBDClass) AddToQosAlgorithmParamsMock(sessionID SessionRef, self VBDRef, key string, value string) (_err error)

func (VBDClass) AssertAttachable

func (_class VBDClass) AssertAttachable(sessionID SessionRef, self VBDRef) (_err error)

Throws an error if this VBD could not be attached to this VM if the VM were running. Intended for debugging.

func (VBDClass) AssertAttachableMock

func (_class VBDClass) AssertAttachableMock(sessionID SessionRef, self VBDRef) (_err error)

func (VBDClass) Create

func (_class VBDClass) Create(sessionID SessionRef, args VBDRecord) (_retval VBDRef, _err error)

Create a new VBD instance, and return its handle. The constructor args are: VM*, VDI*, userdevice*, bootable*, mode*, type*, unpluggable, empty*, other_config*, qos_algorithm_type*, qos_algorithm_params* (* = non-optional).

func (VBDClass) CreateMock

func (_class VBDClass) CreateMock(sessionID SessionRef, args VBDRecord) (_retval VBDRef, _err error)

func (VBDClass) Destroy

func (_class VBDClass) Destroy(sessionID SessionRef, self VBDRef) (_err error)

Destroy the specified VBD instance.

func (VBDClass) DestroyMock

func (_class VBDClass) DestroyMock(sessionID SessionRef, self VBDRef) (_err error)

func (VBDClass) Eject

func (_class VBDClass) Eject(sessionID SessionRef, vbd VBDRef) (_err error)

Remove the media from the device and leave it empty

Errors:

VBD_NOT_REMOVABLE_MEDIA - Media could not be ejected because it is not removable
VBD_IS_EMPTY - Operation could not be performed because the drive is empty

func (VBDClass) EjectMock

func (_class VBDClass) EjectMock(sessionID SessionRef, vbd VBDRef) (_err error)

func (VBDClass) GetAll

func (_class VBDClass) GetAll(sessionID SessionRef) (_retval []VBDRef, _err error)

Return a list of all the VBDs known to the system.

func (VBDClass) GetAllMock

func (_class VBDClass) GetAllMock(sessionID SessionRef) (_retval []VBDRef, _err error)

func (VBDClass) GetAllRecords

func (_class VBDClass) GetAllRecords(sessionID SessionRef) (_retval map[VBDRef]VBDRecord, _err error)

Return a map of VBD references to VBD records for all VBDs known to the system.

func (VBDClass) GetAllRecordsMock

func (_class VBDClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VBDRef]VBDRecord, _err error)

func (VBDClass) GetAllowedOperations

func (_class VBDClass) GetAllowedOperations(sessionID SessionRef, self VBDRef) (_retval []VbdOperations, _err error)

Get the allowed_operations field of the given VBD.

func (VBDClass) GetAllowedOperationsMock

func (_class VBDClass) GetAllowedOperationsMock(sessionID SessionRef, self VBDRef) (_retval []VbdOperations, _err error)

func (VBDClass) GetBootable

func (_class VBDClass) GetBootable(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

Get the bootable field of the given VBD.

func (VBDClass) GetBootableMock

func (_class VBDClass) GetBootableMock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func (VBDClass) GetByUUID

func (_class VBDClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VBDRef, _err error)

Get a reference to the VBD instance with the specified UUID.

func (VBDClass) GetByUUIDMock

func (_class VBDClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VBDRef, _err error)

func (VBDClass) GetCurrentOperations

func (_class VBDClass) GetCurrentOperations(sessionID SessionRef, self VBDRef) (_retval map[string]VbdOperations, _err error)

Get the current_operations field of the given VBD.

func (VBDClass) GetCurrentOperationsMock

func (_class VBDClass) GetCurrentOperationsMock(sessionID SessionRef, self VBDRef) (_retval map[string]VbdOperations, _err error)

func (VBDClass) GetCurrentlyAttached

func (_class VBDClass) GetCurrentlyAttached(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

Get the currently_attached field of the given VBD.

func (VBDClass) GetCurrentlyAttachedMock

func (_class VBDClass) GetCurrentlyAttachedMock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func (VBDClass) GetDevice

func (_class VBDClass) GetDevice(sessionID SessionRef, self VBDRef) (_retval string, _err error)

Get the device field of the given VBD.

func (VBDClass) GetDeviceMock

func (_class VBDClass) GetDeviceMock(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func (VBDClass) GetEmpty

func (_class VBDClass) GetEmpty(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

Get the empty field of the given VBD.

func (VBDClass) GetEmptyMock

func (_class VBDClass) GetEmptyMock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func (VBDClass) GetMetrics

func (_class VBDClass) GetMetrics(sessionID SessionRef, self VBDRef) (_retval VBDMetricsRef, _err error)

Get the metrics field of the given VBD.

func (VBDClass) GetMetricsMock

func (_class VBDClass) GetMetricsMock(sessionID SessionRef, self VBDRef) (_retval VBDMetricsRef, _err error)

func (VBDClass) GetMode

func (_class VBDClass) GetMode(sessionID SessionRef, self VBDRef) (_retval VbdMode, _err error)

Get the mode field of the given VBD.

func (VBDClass) GetModeMock

func (_class VBDClass) GetModeMock(sessionID SessionRef, self VBDRef) (_retval VbdMode, _err error)

func (VBDClass) GetOtherConfig

func (_class VBDClass) GetOtherConfig(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

Get the other_config field of the given VBD.

func (VBDClass) GetOtherConfigMock

func (_class VBDClass) GetOtherConfigMock(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func (VBDClass) GetQosAlgorithmParams

func (_class VBDClass) GetQosAlgorithmParams(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

Get the qos/algorithm_params field of the given VBD.

func (VBDClass) GetQosAlgorithmParamsMock

func (_class VBDClass) GetQosAlgorithmParamsMock(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func (VBDClass) GetQosAlgorithmType

func (_class VBDClass) GetQosAlgorithmType(sessionID SessionRef, self VBDRef) (_retval string, _err error)

Get the qos/algorithm_type field of the given VBD.

func (VBDClass) GetQosAlgorithmTypeMock

func (_class VBDClass) GetQosAlgorithmTypeMock(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func (VBDClass) GetQosSupportedAlgorithms

func (_class VBDClass) GetQosSupportedAlgorithms(sessionID SessionRef, self VBDRef) (_retval []string, _err error)

Get the qos/supported_algorithms field of the given VBD.

func (VBDClass) GetQosSupportedAlgorithmsMock

func (_class VBDClass) GetQosSupportedAlgorithmsMock(sessionID SessionRef, self VBDRef) (_retval []string, _err error)

func (VBDClass) GetRecord

func (_class VBDClass) GetRecord(sessionID SessionRef, self VBDRef) (_retval VBDRecord, _err error)

Get a record containing the current state of the given VBD.

func (VBDClass) GetRecordMock

func (_class VBDClass) GetRecordMock(sessionID SessionRef, self VBDRef) (_retval VBDRecord, _err error)

func (VBDClass) GetRuntimeProperties

func (_class VBDClass) GetRuntimeProperties(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

Get the runtime_properties field of the given VBD.

func (VBDClass) GetRuntimePropertiesMock

func (_class VBDClass) GetRuntimePropertiesMock(sessionID SessionRef, self VBDRef) (_retval map[string]string, _err error)

func (VBDClass) GetStatusCode

func (_class VBDClass) GetStatusCode(sessionID SessionRef, self VBDRef) (_retval int, _err error)

Get the status_code field of the given VBD.

func (VBDClass) GetStatusCodeMock

func (_class VBDClass) GetStatusCodeMock(sessionID SessionRef, self VBDRef) (_retval int, _err error)

func (VBDClass) GetStatusDetail

func (_class VBDClass) GetStatusDetail(sessionID SessionRef, self VBDRef) (_retval string, _err error)

Get the status_detail field of the given VBD.

func (VBDClass) GetStatusDetailMock

func (_class VBDClass) GetStatusDetailMock(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func (VBDClass) GetStorageLock

func (_class VBDClass) GetStorageLock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

Get the storage_lock field of the given VBD.

func (VBDClass) GetStorageLockMock

func (_class VBDClass) GetStorageLockMock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func (VBDClass) GetType

func (_class VBDClass) GetType(sessionID SessionRef, self VBDRef) (_retval VbdType, _err error)

Get the type field of the given VBD.

func (VBDClass) GetTypeMock

func (_class VBDClass) GetTypeMock(sessionID SessionRef, self VBDRef) (_retval VbdType, _err error)

func (VBDClass) GetUUID

func (_class VBDClass) GetUUID(sessionID SessionRef, self VBDRef) (_retval string, _err error)

Get the uuid field of the given VBD.

func (VBDClass) GetUUIDMock

func (_class VBDClass) GetUUIDMock(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func (VBDClass) GetUnpluggable

func (_class VBDClass) GetUnpluggable(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

Get the unpluggable field of the given VBD.

func (VBDClass) GetUnpluggableMock

func (_class VBDClass) GetUnpluggableMock(sessionID SessionRef, self VBDRef) (_retval bool, _err error)

func (VBDClass) GetUserdevice

func (_class VBDClass) GetUserdevice(sessionID SessionRef, self VBDRef) (_retval string, _err error)

Get the userdevice field of the given VBD.

func (VBDClass) GetUserdeviceMock

func (_class VBDClass) GetUserdeviceMock(sessionID SessionRef, self VBDRef) (_retval string, _err error)

func (VBDClass) GetVDI

func (_class VBDClass) GetVDI(sessionID SessionRef, self VBDRef) (_retval VDIRef, _err error)

Get the VDI field of the given VBD.

func (VBDClass) GetVDIMock

func (_class VBDClass) GetVDIMock(sessionID SessionRef, self VBDRef) (_retval VDIRef, _err error)

func (VBDClass) GetVM

func (_class VBDClass) GetVM(sessionID SessionRef, self VBDRef) (_retval VMRef, _err error)

Get the VM field of the given VBD.

func (VBDClass) GetVMMock

func (_class VBDClass) GetVMMock(sessionID SessionRef, self VBDRef) (_retval VMRef, _err error)

func (VBDClass) Insert

func (_class VBDClass) Insert(sessionID SessionRef, vbd VBDRef, vdi VDIRef) (_err error)

Insert new media into the device

Errors:

VBD_NOT_REMOVABLE_MEDIA - Media could not be ejected because it is not removable
VBD_NOT_EMPTY - Operation could not be performed because the drive is not empty

func (VBDClass) InsertMock

func (_class VBDClass) InsertMock(sessionID SessionRef, vbd VBDRef, vdi VDIRef) (_err error)

func (VBDClass) Plug

func (_class VBDClass) Plug(sessionID SessionRef, self VBDRef) (_err error)

Hotplug the specified VBD, dynamically attaching it to the running VM

func (VBDClass) PlugMock

func (_class VBDClass) PlugMock(sessionID SessionRef, self VBDRef) (_err error)

func (VBDClass) RemoveFromOtherConfig

func (_class VBDClass) RemoveFromOtherConfig(sessionID SessionRef, self VBDRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VBD. If the key is not in that Map, then do nothing.

func (VBDClass) RemoveFromOtherConfigMock

func (_class VBDClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VBDRef, key string) (_err error)

func (VBDClass) RemoveFromQosAlgorithmParams

func (_class VBDClass) RemoveFromQosAlgorithmParams(sessionID SessionRef, self VBDRef, key string) (_err error)

Remove the given key and its corresponding value from the qos/algorithm_params field of the given VBD. If the key is not in that Map, then do nothing.

func (VBDClass) RemoveFromQosAlgorithmParamsMock

func (_class VBDClass) RemoveFromQosAlgorithmParamsMock(sessionID SessionRef, self VBDRef, key string) (_err error)

func (VBDClass) SetBootable

func (_class VBDClass) SetBootable(sessionID SessionRef, self VBDRef, value bool) (_err error)

Set the bootable field of the given VBD.

func (VBDClass) SetBootableMock

func (_class VBDClass) SetBootableMock(sessionID SessionRef, self VBDRef, value bool) (_err error)

func (VBDClass) SetMode

func (_class VBDClass) SetMode(sessionID SessionRef, self VBDRef, value VbdMode) (_err error)

Sets the mode of the VBD. The power_state of the VM must be halted.

func (VBDClass) SetModeMock

func (_class VBDClass) SetModeMock(sessionID SessionRef, self VBDRef, value VbdMode) (_err error)

func (VBDClass) SetOtherConfig

func (_class VBDClass) SetOtherConfig(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

Set the other_config field of the given VBD.

func (VBDClass) SetOtherConfigMock

func (_class VBDClass) SetOtherConfigMock(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

func (VBDClass) SetQosAlgorithmParams

func (_class VBDClass) SetQosAlgorithmParams(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

Set the qos/algorithm_params field of the given VBD.

func (VBDClass) SetQosAlgorithmParamsMock

func (_class VBDClass) SetQosAlgorithmParamsMock(sessionID SessionRef, self VBDRef, value map[string]string) (_err error)

func (VBDClass) SetQosAlgorithmType

func (_class VBDClass) SetQosAlgorithmType(sessionID SessionRef, self VBDRef, value string) (_err error)

Set the qos/algorithm_type field of the given VBD.

func (VBDClass) SetQosAlgorithmTypeMock

func (_class VBDClass) SetQosAlgorithmTypeMock(sessionID SessionRef, self VBDRef, value string) (_err error)

func (VBDClass) SetType

func (_class VBDClass) SetType(sessionID SessionRef, self VBDRef, value VbdType) (_err error)

Set the type field of the given VBD.

func (VBDClass) SetTypeMock

func (_class VBDClass) SetTypeMock(sessionID SessionRef, self VBDRef, value VbdType) (_err error)

func (VBDClass) SetUnpluggable

func (_class VBDClass) SetUnpluggable(sessionID SessionRef, self VBDRef, value bool) (_err error)

Set the unpluggable field of the given VBD.

func (VBDClass) SetUnpluggableMock

func (_class VBDClass) SetUnpluggableMock(sessionID SessionRef, self VBDRef, value bool) (_err error)

func (VBDClass) SetUserdevice

func (_class VBDClass) SetUserdevice(sessionID SessionRef, self VBDRef, value string) (_err error)

Set the userdevice field of the given VBD.

func (VBDClass) SetUserdeviceMock

func (_class VBDClass) SetUserdeviceMock(sessionID SessionRef, self VBDRef, value string) (_err error)

func (VBDClass) Unplug

func (_class VBDClass) Unplug(sessionID SessionRef, self VBDRef) (_err error)

Hot-unplug the specified VBD, dynamically unattaching it from the running VM

Errors:

DEVICE_DETACH_REJECTED - The VM rejected the attempt to detach the device.
DEVICE_ALREADY_DETACHED - The device is not currently attached

func (VBDClass) UnplugForce

func (_class VBDClass) UnplugForce(sessionID SessionRef, self VBDRef) (_err error)

Forcibly unplug the specified VBD

func (VBDClass) UnplugForceMock

func (_class VBDClass) UnplugForceMock(sessionID SessionRef, self VBDRef) (_err error)

func (VBDClass) UnplugMock

func (_class VBDClass) UnplugMock(sessionID SessionRef, self VBDRef) (_err error)

type VBDMetricsClass

type VBDMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics associated with a virtual block device

func (VBDMetricsClass) AddToOtherConfig

func (_class VBDMetricsClass) AddToOtherConfig(sessionID SessionRef, self VBDMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VBD_metrics.

func (VBDMetricsClass) AddToOtherConfigMock

func (_class VBDMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self VBDMetricsRef, key string, value string) (_err error)

func (VBDMetricsClass) GetAll

func (_class VBDMetricsClass) GetAll(sessionID SessionRef) (_retval []VBDMetricsRef, _err error)

Return a list of all the VBD_metrics instances known to the system.

func (VBDMetricsClass) GetAllMock

func (_class VBDMetricsClass) GetAllMock(sessionID SessionRef) (_retval []VBDMetricsRef, _err error)

func (VBDMetricsClass) GetAllRecords

func (_class VBDMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[VBDMetricsRef]VBDMetricsRecord, _err error)

Return a map of VBD_metrics references to VBD_metrics records for all VBD_metrics instances known to the system.

func (VBDMetricsClass) GetAllRecordsMock

func (_class VBDMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VBDMetricsRef]VBDMetricsRecord, _err error)

func (VBDMetricsClass) GetByUUID

func (_class VBDMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VBDMetricsRef, _err error)

Get a reference to the VBD_metrics instance with the specified UUID.

func (VBDMetricsClass) GetByUUIDMock

func (_class VBDMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VBDMetricsRef, _err error)

func (VBDMetricsClass) GetIoReadKbs

func (_class VBDMetricsClass) GetIoReadKbs(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

Get the io/read_kbs field of the given VBD_metrics.

func (VBDMetricsClass) GetIoReadKbsMock

func (_class VBDMetricsClass) GetIoReadKbsMock(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

func (VBDMetricsClass) GetIoWriteKbs

func (_class VBDMetricsClass) GetIoWriteKbs(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

Get the io/write_kbs field of the given VBD_metrics.

func (VBDMetricsClass) GetIoWriteKbsMock

func (_class VBDMetricsClass) GetIoWriteKbsMock(sessionID SessionRef, self VBDMetricsRef) (_retval float64, _err error)

func (VBDMetricsClass) GetLastUpdated

func (_class VBDMetricsClass) GetLastUpdated(sessionID SessionRef, self VBDMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given VBD_metrics.

func (VBDMetricsClass) GetLastUpdatedMock

func (_class VBDMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self VBDMetricsRef) (_retval time.Time, _err error)

func (VBDMetricsClass) GetOtherConfig

func (_class VBDMetricsClass) GetOtherConfig(sessionID SessionRef, self VBDMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given VBD_metrics.

func (VBDMetricsClass) GetOtherConfigMock

func (_class VBDMetricsClass) GetOtherConfigMock(sessionID SessionRef, self VBDMetricsRef) (_retval map[string]string, _err error)

func (VBDMetricsClass) GetRecord

func (_class VBDMetricsClass) GetRecord(sessionID SessionRef, self VBDMetricsRef) (_retval VBDMetricsRecord, _err error)

Get a record containing the current state of the given VBD_metrics.

func (VBDMetricsClass) GetRecordMock

func (_class VBDMetricsClass) GetRecordMock(sessionID SessionRef, self VBDMetricsRef) (_retval VBDMetricsRecord, _err error)

func (VBDMetricsClass) GetUUID

func (_class VBDMetricsClass) GetUUID(sessionID SessionRef, self VBDMetricsRef) (_retval string, _err error)

Get the uuid field of the given VBD_metrics.

func (VBDMetricsClass) GetUUIDMock

func (_class VBDMetricsClass) GetUUIDMock(sessionID SessionRef, self VBDMetricsRef) (_retval string, _err error)

func (VBDMetricsClass) RemoveFromOtherConfig

func (_class VBDMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self VBDMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VBD_metrics. If the key is not in that Map, then do nothing.

func (VBDMetricsClass) RemoveFromOtherConfigMock

func (_class VBDMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VBDMetricsRef, key string) (_err error)

func (VBDMetricsClass) SetOtherConfig

func (_class VBDMetricsClass) SetOtherConfig(sessionID SessionRef, self VBDMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given VBD_metrics.

func (VBDMetricsClass) SetOtherConfigMock

func (_class VBDMetricsClass) SetOtherConfigMock(sessionID SessionRef, self VBDMetricsRef, value map[string]string) (_err error)

type VBDMetricsRecord

type VBDMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// Read bandwidth (KiB/s)
	IoReadKbs float64
	// Write bandwidth (KiB/s)
	IoWriteKbs float64
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
}

func VBDMetricsClassGetRecordMockDefault

func VBDMetricsClassGetRecordMockDefault(sessionID SessionRef, self VBDMetricsRef) (_retval VBDMetricsRecord, _err error)

type VBDMetricsRef

type VBDMetricsRef string

func VBDClassGetMetricsMockDefault

func VBDClassGetMetricsMockDefault(sessionID SessionRef, self VBDRef) (_retval VBDMetricsRef, _err error)

func VBDMetricsClassGetAllMockDefault

func VBDMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []VBDMetricsRef, _err error)

func VBDMetricsClassGetByUUIDMockDefault

func VBDMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VBDMetricsRef, _err error)

type VBDRecord

type VBDRecord struct {
	// Unique identifier/object reference
	UUID string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VbdOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VbdOperations
	// the virtual machine
	VM VMRef
	// the virtual disk
	VDI VDIRef
	// device seen by the guest e.g. hda1
	Device string
	// user-friendly device name e.g. 0,1,2,etc.
	Userdevice string
	// true if this VBD is bootable
	Bootable bool
	// the mode the VBD should be mounted with
	Mode VbdMode
	// how the VBD will appear to the guest (e.g. disk or CD)
	Type VbdType
	// true if this VBD will support hot-unplug
	Unpluggable bool
	// true if a storage level lock was acquired
	StorageLock bool
	// if true this represents an empty drive
	Empty bool
	// additional configuration
	OtherConfig map[string]string
	// is the device currently attached (erased on reboot)
	CurrentlyAttached bool
	// error/success code associated with last attach-operation (erased on reboot)
	StatusCode int
	// error/success information associated with last attach-operation status (erased on reboot)
	StatusDetail string
	// Device runtime properties
	RuntimeProperties map[string]string
	// QoS algorithm to use
	QosAlgorithmType string
	// parameters for chosen QoS algorithm
	QosAlgorithmParams map[string]string
	// supported QoS algorithms for this VBD
	QosSupportedAlgorithms []string
	// metrics associated with this VBD
	Metrics VBDMetricsRef
}

func VBDClassGetRecordMockDefault

func VBDClassGetRecordMockDefault(sessionID SessionRef, self VBDRef) (_retval VBDRecord, _err error)

type VBDRef

type VBDRef string

func VBDClassCreateMockDefault

func VBDClassCreateMockDefault(sessionID SessionRef, args VBDRecord) (_retval VBDRef, _err error)

func VBDClassGetAllMockDefault

func VBDClassGetAllMockDefault(sessionID SessionRef) (_retval []VBDRef, _err error)

func VBDClassGetByUUIDMockDefault

func VBDClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VBDRef, _err error)

func VDIClassGetVBDsMockDefault

func VDIClassGetVBDsMockDefault(sessionID SessionRef, self VDIRef) (_retval []VBDRef, _err error)

func VMClassGetVBDsMockDefault

func VMClassGetVBDsMockDefault(sessionID SessionRef, self VMRef) (_retval []VBDRef, _err error)

type VDIClass

type VDIClass struct {
	// contains filtered or unexported fields
}

A virtual disk image

func (VDIClass) AddTags

func (_class VDIClass) AddTags(sessionID SessionRef, self VDIRef, value string) (_err error)

Add the given value to the tags field of the given VDI. If the value is already in that Set, then do nothing.

func (VDIClass) AddTagsMock

func (_class VDIClass) AddTagsMock(sessionID SessionRef, self VDIRef, value string) (_err error)

func (VDIClass) AddToOtherConfig

func (_class VDIClass) AddToOtherConfig(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VDI.

func (VDIClass) AddToOtherConfigMock

func (_class VDIClass) AddToOtherConfigMock(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func (VDIClass) AddToSmConfig

func (_class VDIClass) AddToSmConfig(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

Add the given key-value pair to the sm_config field of the given VDI.

func (VDIClass) AddToSmConfigMock

func (_class VDIClass) AddToSmConfigMock(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func (VDIClass) AddToXenstoreData

func (_class VDIClass) AddToXenstoreData(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

Add the given key-value pair to the xenstore_data field of the given VDI.

func (VDIClass) AddToXenstoreDataMock

func (_class VDIClass) AddToXenstoreDataMock(sessionID SessionRef, self VDIRef, key string, value string) (_err error)

func (VDIClass) Clone

func (_class VDIClass) Clone(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

Take an exact copy of the VDI and return a reference to the new disk. If any driver_params are specified then these are passed through to the storage-specific substrate driver that implements the clone operation. NB the clone lives in the same Storage Repository as its parent.

func (VDIClass) CloneMock

func (_class VDIClass) CloneMock(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

func (VDIClass) Copy

func (_class VDIClass) Copy(sessionID SessionRef, vdi VDIRef, sr SRRef, baseVdi VDIRef, intoVdi VDIRef) (_retval VDIRef, _err error)

Copy either a full VDI or the block differences between two VDIs into either a fresh VDI or an existing VDI.

Errors:

VDI_READONLY - The operation required write access but this VDI is read-only
VDI_TOO_SMALL - The VDI is too small. Please resize it to at least the minimum size.
VDI_NOT_SPARSE - The VDI is not stored using a sparse format. It is not possible to query and manipulate only the changed blocks (or 'block differences' or 'disk deltas') between two VDIs. Please select a VDI which uses a sparse-aware technology such as VHD.

func (VDIClass) CopyMock

func (_class VDIClass) CopyMock(sessionID SessionRef, vdi VDIRef, sr SRRef, baseVdi VDIRef, intoVdi VDIRef) (_retval VDIRef, _err error)

func (VDIClass) Create

func (_class VDIClass) Create(sessionID SessionRef, args VDIRecord) (_retval VDIRef, _err error)

Create a new VDI instance, and return its handle. The constructor args are: name_label, name_description, SR*, virtual_size*, type*, sharable*, read_only*, other_config*, xenstore_data, sm_config, tags (* = non-optional).

func (VDIClass) CreateMock

func (_class VDIClass) CreateMock(sessionID SessionRef, args VDIRecord) (_retval VDIRef, _err error)

func (VDIClass) DataDestroy

func (_class VDIClass) DataDestroy(sessionID SessionRef, self VDIRef) (_err error)

Delete the data of the snapshot VDI, but keep its changed block tracking metadata. When successful, this call changes the type of the VDI to cbt_metadata. This operation is idempotent: calling it on a VDI of type cbt_metadata results in a no-op, and no error will be thrown.

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)
VDI_MISSING - This operation cannot be performed because the specified VDI could not be found on the storage substrate
SR_NOT_ATTACHED - The SR is not attached.
SR_HAS_NO_PBDS - The SR has no attached PBDs
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VDI_INCOMPATIBLE_TYPE - This operation cannot be performed because the specified VDI is of an incompatible type (eg: an HA statefile cannot be attached to a guest)
VDI_NO_CBT_METADATA - The requested operation is not allowed because the specified VDI does not have changed block tracking metadata.
VDI_IN_USE - This operation cannot be performed because this VDI is in use by some other operation
VDI_IS_A_PHYSICAL_DEVICE - The operation cannot be performed on physical device

func (VDIClass) DataDestroyMock

func (_class VDIClass) DataDestroyMock(sessionID SessionRef, self VDIRef) (_err error)

func (VDIClass) DbForget

func (_class VDIClass) DbForget(sessionID SessionRef, vdi VDIRef) (_err error)

Removes a VDI record from the database

func (VDIClass) DbForgetMock

func (_class VDIClass) DbForgetMock(sessionID SessionRef, vdi VDIRef) (_err error)

func (VDIClass) DbIntroduce

func (_class VDIClass) DbIntroduce(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef, cbtEnabled bool) (_retval VDIRef, _err error)

Create a new VDI record in the database only

func (VDIClass) DbIntroduceMock

func (_class VDIClass) DbIntroduceMock(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef, cbtEnabled bool) (_retval VDIRef, _err error)

func (VDIClass) Destroy

func (_class VDIClass) Destroy(sessionID SessionRef, self VDIRef) (_err error)

Destroy the specified VDI instance.

func (VDIClass) DestroyMock

func (_class VDIClass) DestroyMock(sessionID SessionRef, self VDIRef) (_err error)

func (VDIClass) DisableCbt

func (_class VDIClass) DisableCbt(sessionID SessionRef, self VDIRef) (_err error)

Disable changed block tracking for the VDI. This call is only allowed on VDIs that support enabling CBT. It is an idempotent operation - disabling CBT for a VDI for which CBT is not enabled results in a no-op, and no error will be thrown.

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)
VDI_MISSING - This operation cannot be performed because the specified VDI could not be found on the storage substrate
SR_NOT_ATTACHED - The SR is not attached.
SR_HAS_NO_PBDS - The SR has no attached PBDs
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VDI_INCOMPATIBLE_TYPE - This operation cannot be performed because the specified VDI is of an incompatible type (eg: an HA statefile cannot be attached to a guest)
VDI_ON_BOOT_MODE_INCOMPATIBLE_WITH_OPERATION - This operation is not permitted on VDIs in the 'on-boot=reset' mode, or on VMs having such VDIs.

func (VDIClass) DisableCbtMock

func (_class VDIClass) DisableCbtMock(sessionID SessionRef, self VDIRef) (_err error)

func (VDIClass) EnableCbt

func (_class VDIClass) EnableCbt(sessionID SessionRef, self VDIRef) (_err error)

Enable changed block tracking for the VDI. This call is idempotent - enabling CBT for a VDI for which CBT is already enabled results in a no-op, and no error will be thrown.

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)
VDI_MISSING - This operation cannot be performed because the specified VDI could not be found on the storage substrate
SR_NOT_ATTACHED - The SR is not attached.
SR_HAS_NO_PBDS - The SR has no attached PBDs
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VDI_INCOMPATIBLE_TYPE - This operation cannot be performed because the specified VDI is of an incompatible type (eg: an HA statefile cannot be attached to a guest)
VDI_ON_BOOT_MODE_INCOMPATIBLE_WITH_OPERATION - This operation is not permitted on VDIs in the 'on-boot=reset' mode, or on VMs having such VDIs.

func (VDIClass) EnableCbtMock

func (_class VDIClass) EnableCbtMock(sessionID SessionRef, self VDIRef) (_err error)

func (VDIClass) Forget

func (_class VDIClass) Forget(sessionID SessionRef, vdi VDIRef) (_err error)

Removes a VDI record from the database

func (VDIClass) ForgetMock

func (_class VDIClass) ForgetMock(sessionID SessionRef, vdi VDIRef) (_err error)

func (VDIClass) GetAll

func (_class VDIClass) GetAll(sessionID SessionRef) (_retval []VDIRef, _err error)

Return a list of all the VDIs known to the system.

func (VDIClass) GetAllMock

func (_class VDIClass) GetAllMock(sessionID SessionRef) (_retval []VDIRef, _err error)

func (VDIClass) GetAllRecords

func (_class VDIClass) GetAllRecords(sessionID SessionRef) (_retval map[VDIRef]VDIRecord, _err error)

Return a map of VDI references to VDI records for all VDIs known to the system.

func (VDIClass) GetAllRecordsMock

func (_class VDIClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VDIRef]VDIRecord, _err error)

func (VDIClass) GetAllowCaching

func (_class VDIClass) GetAllowCaching(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the allow_caching field of the given VDI.

func (VDIClass) GetAllowCachingMock

func (_class VDIClass) GetAllowCachingMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetAllowedOperations

func (_class VDIClass) GetAllowedOperations(sessionID SessionRef, self VDIRef) (_retval []VdiOperations, _err error)

Get the allowed_operations field of the given VDI.

func (VDIClass) GetAllowedOperationsMock

func (_class VDIClass) GetAllowedOperationsMock(sessionID SessionRef, self VDIRef) (_retval []VdiOperations, _err error)

func (VDIClass) GetByNameLabel

func (_class VDIClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VDIRef, _err error)

Get all the VDI instances with the given label.

func (VDIClass) GetByNameLabelMock

func (_class VDIClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []VDIRef, _err error)

func (VDIClass) GetByUUID

func (_class VDIClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VDIRef, _err error)

Get a reference to the VDI instance with the specified UUID.

func (VDIClass) GetByUUIDMock

func (_class VDIClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VDIRef, _err error)

func (VDIClass) GetCbtEnabled

func (_class VDIClass) GetCbtEnabled(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the cbt_enabled field of the given VDI.

func (VDIClass) GetCbtEnabledMock

func (_class VDIClass) GetCbtEnabledMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetCrashDumps

func (_class VDIClass) GetCrashDumps(sessionID SessionRef, self VDIRef) (_retval []CrashdumpRef, _err error)

Get the crash_dumps field of the given VDI.

func (VDIClass) GetCrashDumpsMock

func (_class VDIClass) GetCrashDumpsMock(sessionID SessionRef, self VDIRef) (_retval []CrashdumpRef, _err error)

func (VDIClass) GetCurrentOperations

func (_class VDIClass) GetCurrentOperations(sessionID SessionRef, self VDIRef) (_retval map[string]VdiOperations, _err error)

Get the current_operations field of the given VDI.

func (VDIClass) GetCurrentOperationsMock

func (_class VDIClass) GetCurrentOperationsMock(sessionID SessionRef, self VDIRef) (_retval map[string]VdiOperations, _err error)

func (VDIClass) GetIsASnapshot

func (_class VDIClass) GetIsASnapshot(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the is_a_snapshot field of the given VDI.

func (VDIClass) GetIsASnapshotMock

func (_class VDIClass) GetIsASnapshotMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetIsToolsIso

func (_class VDIClass) GetIsToolsIso(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the is_tools_iso field of the given VDI.

func (VDIClass) GetIsToolsIsoMock

func (_class VDIClass) GetIsToolsIsoMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetLocation

func (_class VDIClass) GetLocation(sessionID SessionRef, self VDIRef) (_retval string, _err error)

Get the location field of the given VDI.

func (VDIClass) GetLocationMock

func (_class VDIClass) GetLocationMock(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func (VDIClass) GetManaged

func (_class VDIClass) GetManaged(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the managed field of the given VDI.

func (VDIClass) GetManagedMock

func (_class VDIClass) GetManagedMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetMetadataLatest

func (_class VDIClass) GetMetadataLatest(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the metadata_latest field of the given VDI.

func (VDIClass) GetMetadataLatestMock

func (_class VDIClass) GetMetadataLatestMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetMetadataOfPool

func (_class VDIClass) GetMetadataOfPool(sessionID SessionRef, self VDIRef) (_retval PoolRef, _err error)

Get the metadata_of_pool field of the given VDI.

func (VDIClass) GetMetadataOfPoolMock

func (_class VDIClass) GetMetadataOfPoolMock(sessionID SessionRef, self VDIRef) (_retval PoolRef, _err error)

func (VDIClass) GetMissing

func (_class VDIClass) GetMissing(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the missing field of the given VDI.

func (VDIClass) GetMissingMock

func (_class VDIClass) GetMissingMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetNameDescription

func (_class VDIClass) GetNameDescription(sessionID SessionRef, self VDIRef) (_retval string, _err error)

Get the name/description field of the given VDI.

func (VDIClass) GetNameDescriptionMock

func (_class VDIClass) GetNameDescriptionMock(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func (VDIClass) GetNameLabel

func (_class VDIClass) GetNameLabel(sessionID SessionRef, self VDIRef) (_retval string, _err error)

Get the name/label field of the given VDI.

func (VDIClass) GetNameLabelMock

func (_class VDIClass) GetNameLabelMock(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func (VDIClass) GetNbdInfo

func (_class VDIClass) GetNbdInfo(sessionID SessionRef, self VDIRef) (_retval []VdiNbdServerInfoRecord, _err error)

Get details specifying how to access this VDI via a Network Block Device server. For each of a set of NBD server addresses on which the VDI is available, the return value set contains a vdi_nbd_server_info object that contains an exportname to request once the NBD connection is established, and connection details for the address. An empty list is returned if there is no network that has a PIF on a host with access to the relevant SR, or if no such network has been assigned an NBD-related purpose in its purpose field. To access the given VDI, any of the vdi_nbd_server_info objects can be used to make a connection to a server, and then the VDI will be available by requesting the exportname.

Errors:

VDI_INCOMPATIBLE_TYPE - This operation cannot be performed because the specified VDI is of an incompatible type (eg: an HA statefile cannot be attached to a guest)

func (VDIClass) GetNbdInfoMock

func (_class VDIClass) GetNbdInfoMock(sessionID SessionRef, self VDIRef) (_retval []VdiNbdServerInfoRecord, _err error)

func (VDIClass) GetOnBoot

func (_class VDIClass) GetOnBoot(sessionID SessionRef, self VDIRef) (_retval OnBoot, _err error)

Get the on_boot field of the given VDI.

func (VDIClass) GetOnBootMock

func (_class VDIClass) GetOnBootMock(sessionID SessionRef, self VDIRef) (_retval OnBoot, _err error)

func (VDIClass) GetOtherConfig

func (_class VDIClass) GetOtherConfig(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

Get the other_config field of the given VDI.

func (VDIClass) GetOtherConfigMock

func (_class VDIClass) GetOtherConfigMock(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func (VDIClass) GetParent

func (_class VDIClass) GetParent(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

Get the parent field of the given VDI.

func (VDIClass) GetParentMock

func (_class VDIClass) GetParentMock(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

func (VDIClass) GetPhysicalUtilisation

func (_class VDIClass) GetPhysicalUtilisation(sessionID SessionRef, self VDIRef) (_retval int, _err error)

Get the physical_utilisation field of the given VDI.

func (VDIClass) GetPhysicalUtilisationMock

func (_class VDIClass) GetPhysicalUtilisationMock(sessionID SessionRef, self VDIRef) (_retval int, _err error)

func (VDIClass) GetReadOnly

func (_class VDIClass) GetReadOnly(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the read_only field of the given VDI.

func (VDIClass) GetReadOnlyMock

func (_class VDIClass) GetReadOnlyMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetRecord

func (_class VDIClass) GetRecord(sessionID SessionRef, self VDIRef) (_retval VDIRecord, _err error)

Get a record containing the current state of the given VDI.

func (VDIClass) GetRecordMock

func (_class VDIClass) GetRecordMock(sessionID SessionRef, self VDIRef) (_retval VDIRecord, _err error)

func (VDIClass) GetSR

func (_class VDIClass) GetSR(sessionID SessionRef, self VDIRef) (_retval SRRef, _err error)

Get the SR field of the given VDI.

func (VDIClass) GetSRMock

func (_class VDIClass) GetSRMock(sessionID SessionRef, self VDIRef) (_retval SRRef, _err error)

func (VDIClass) GetSharable

func (_class VDIClass) GetSharable(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the sharable field of the given VDI.

func (VDIClass) GetSharableMock

func (_class VDIClass) GetSharableMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetSmConfig

func (_class VDIClass) GetSmConfig(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

Get the sm_config field of the given VDI.

func (VDIClass) GetSmConfigMock

func (_class VDIClass) GetSmConfigMock(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func (VDIClass) GetSnapshotOf

func (_class VDIClass) GetSnapshotOf(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

Get the snapshot_of field of the given VDI.

func (VDIClass) GetSnapshotOfMock

func (_class VDIClass) GetSnapshotOfMock(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

func (VDIClass) GetSnapshotTime

func (_class VDIClass) GetSnapshotTime(sessionID SessionRef, self VDIRef) (_retval time.Time, _err error)

Get the snapshot_time field of the given VDI.

func (VDIClass) GetSnapshotTimeMock

func (_class VDIClass) GetSnapshotTimeMock(sessionID SessionRef, self VDIRef) (_retval time.Time, _err error)

func (VDIClass) GetSnapshots

func (_class VDIClass) GetSnapshots(sessionID SessionRef, self VDIRef) (_retval []VDIRef, _err error)

Get the snapshots field of the given VDI.

func (VDIClass) GetSnapshotsMock

func (_class VDIClass) GetSnapshotsMock(sessionID SessionRef, self VDIRef) (_retval []VDIRef, _err error)

func (VDIClass) GetStorageLock

func (_class VDIClass) GetStorageLock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

Get the storage_lock field of the given VDI.

func (VDIClass) GetStorageLockMock

func (_class VDIClass) GetStorageLockMock(sessionID SessionRef, self VDIRef) (_retval bool, _err error)

func (VDIClass) GetTags

func (_class VDIClass) GetTags(sessionID SessionRef, self VDIRef) (_retval []string, _err error)

Get the tags field of the given VDI.

func (VDIClass) GetTagsMock

func (_class VDIClass) GetTagsMock(sessionID SessionRef, self VDIRef) (_retval []string, _err error)

func (VDIClass) GetType

func (_class VDIClass) GetType(sessionID SessionRef, self VDIRef) (_retval VdiType, _err error)

Get the type field of the given VDI.

func (VDIClass) GetTypeMock

func (_class VDIClass) GetTypeMock(sessionID SessionRef, self VDIRef) (_retval VdiType, _err error)

func (VDIClass) GetUUID

func (_class VDIClass) GetUUID(sessionID SessionRef, self VDIRef) (_retval string, _err error)

Get the uuid field of the given VDI.

func (VDIClass) GetUUIDMock

func (_class VDIClass) GetUUIDMock(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func (VDIClass) GetVBDs

func (_class VDIClass) GetVBDs(sessionID SessionRef, self VDIRef) (_retval []VBDRef, _err error)

Get the VBDs field of the given VDI.

func (VDIClass) GetVBDsMock

func (_class VDIClass) GetVBDsMock(sessionID SessionRef, self VDIRef) (_retval []VBDRef, _err error)

func (VDIClass) GetVirtualSize

func (_class VDIClass) GetVirtualSize(sessionID SessionRef, self VDIRef) (_retval int, _err error)

Get the virtual_size field of the given VDI.

func (VDIClass) GetVirtualSizeMock

func (_class VDIClass) GetVirtualSizeMock(sessionID SessionRef, self VDIRef) (_retval int, _err error)

func (VDIClass) GetXenstoreData

func (_class VDIClass) GetXenstoreData(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

Get the xenstore_data field of the given VDI.

func (VDIClass) GetXenstoreDataMock

func (_class VDIClass) GetXenstoreDataMock(sessionID SessionRef, self VDIRef) (_retval map[string]string, _err error)

func (VDIClass) Introduce

func (_class VDIClass) Introduce(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef) (_retval VDIRef, _err error)

Create a new VDI record in the database only

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)

func (VDIClass) IntroduceMock

func (_class VDIClass) IntroduceMock(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef) (_retval VDIRef, _err error)

func (VDIClass) ListChangedBlocks

func (_class VDIClass) ListChangedBlocks(sessionID SessionRef, vdiFrom VDIRef, vdiTo VDIRef) (_retval string, _err error)

Compare two VDIs in 64k block increments and report which blocks differ. This operation is not allowed when vdi_to is attached to a VM.

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)
VDI_MISSING - This operation cannot be performed because the specified VDI could not be found on the storage substrate
SR_NOT_ATTACHED - The SR is not attached.
SR_HAS_NO_PBDS - The SR has no attached PBDs
VDI_IN_USE - This operation cannot be performed because this VDI is in use by some other operation

func (VDIClass) ListChangedBlocksMock

func (_class VDIClass) ListChangedBlocksMock(sessionID SessionRef, vdiFrom VDIRef, vdiTo VDIRef) (_retval string, _err error)

func (VDIClass) OpenDatabase

func (_class VDIClass) OpenDatabase(sessionID SessionRef, self VDIRef) (_retval SessionRef, _err error)

Load the metadata found on the supplied VDI and return a session reference which can be used in XenAPI calls to query its contents.

func (VDIClass) OpenDatabaseMock

func (_class VDIClass) OpenDatabaseMock(sessionID SessionRef, self VDIRef) (_retval SessionRef, _err error)

func (VDIClass) PoolMigrate

func (_class VDIClass) PoolMigrate(sessionID SessionRef, vdi VDIRef, sr SRRef, options map[string]string) (_retval VDIRef, _err error)

Migrate a VDI, which may be attached to a running guest, to a different SR. The destination SR must be visible to the guest.

func (VDIClass) PoolMigrateMock

func (_class VDIClass) PoolMigrateMock(sessionID SessionRef, vdi VDIRef, sr SRRef, options map[string]string) (_retval VDIRef, _err error)

func (VDIClass) ReadDatabasePoolUUID

func (_class VDIClass) ReadDatabasePoolUUID(sessionID SessionRef, self VDIRef) (_retval string, _err error)

Check the VDI cache for the pool UUID of the database on this VDI.

func (VDIClass) ReadDatabasePoolUUIDMock

func (_class VDIClass) ReadDatabasePoolUUIDMock(sessionID SessionRef, self VDIRef) (_retval string, _err error)

func (VDIClass) RemoveFromOtherConfig

func (_class VDIClass) RemoveFromOtherConfig(sessionID SessionRef, self VDIRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VDI. If the key is not in that Map, then do nothing.

func (VDIClass) RemoveFromOtherConfigMock

func (_class VDIClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VDIRef, key string) (_err error)

func (VDIClass) RemoveFromSmConfig

func (_class VDIClass) RemoveFromSmConfig(sessionID SessionRef, self VDIRef, key string) (_err error)

Remove the given key and its corresponding value from the sm_config field of the given VDI. If the key is not in that Map, then do nothing.

func (VDIClass) RemoveFromSmConfigMock

func (_class VDIClass) RemoveFromSmConfigMock(sessionID SessionRef, self VDIRef, key string) (_err error)

func (VDIClass) RemoveFromXenstoreData

func (_class VDIClass) RemoveFromXenstoreData(sessionID SessionRef, self VDIRef, key string) (_err error)

Remove the given key and its corresponding value from the xenstore_data field of the given VDI. If the key is not in that Map, then do nothing.

func (VDIClass) RemoveFromXenstoreDataMock

func (_class VDIClass) RemoveFromXenstoreDataMock(sessionID SessionRef, self VDIRef, key string) (_err error)

func (VDIClass) RemoveTags

func (_class VDIClass) RemoveTags(sessionID SessionRef, self VDIRef, value string) (_err error)

Remove the given value from the tags field of the given VDI. If the value is not in that Set, then do nothing.

func (VDIClass) RemoveTagsMock

func (_class VDIClass) RemoveTagsMock(sessionID SessionRef, self VDIRef, value string) (_err error)

func (VDIClass) Resize

func (_class VDIClass) Resize(sessionID SessionRef, vdi VDIRef, size int) (_err error)

Resize the VDI.

func (VDIClass) ResizeMock

func (_class VDIClass) ResizeMock(sessionID SessionRef, vdi VDIRef, size int) (_err error)

func (VDIClass) ResizeOnline

func (_class VDIClass) ResizeOnline(sessionID SessionRef, vdi VDIRef, size int) (_err error)

Resize the VDI which may or may not be attached to running guests.

func (VDIClass) ResizeOnlineMock

func (_class VDIClass) ResizeOnlineMock(sessionID SessionRef, vdi VDIRef, size int) (_err error)

func (VDIClass) SetAllowCaching

func (_class VDIClass) SetAllowCaching(sessionID SessionRef, self VDIRef, value bool) (_err error)

Set the value of the allow_caching parameter. This value can only be changed when the VDI is not attached to a running VM. The caching behaviour is only affected by this flag for VHD-based VDIs that have one parent and no child VHDs. Moreover, caching only takes place when the host running the VM containing this VDI has a nominated SR for local caching.

func (VDIClass) SetAllowCachingMock

func (_class VDIClass) SetAllowCachingMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetIsASnapshot

func (_class VDIClass) SetIsASnapshot(sessionID SessionRef, self VDIRef, value bool) (_err error)

Sets whether this VDI is a snapshot

func (VDIClass) SetIsASnapshotMock

func (_class VDIClass) SetIsASnapshotMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetManaged

func (_class VDIClass) SetManaged(sessionID SessionRef, self VDIRef, value bool) (_err error)

Sets the VDI's managed field

func (VDIClass) SetManagedMock

func (_class VDIClass) SetManagedMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetMetadataOfPool

func (_class VDIClass) SetMetadataOfPool(sessionID SessionRef, self VDIRef, value PoolRef) (_err error)

Records the pool whose metadata is contained by this VDI.

func (VDIClass) SetMetadataOfPoolMock

func (_class VDIClass) SetMetadataOfPoolMock(sessionID SessionRef, self VDIRef, value PoolRef) (_err error)

func (VDIClass) SetMissing

func (_class VDIClass) SetMissing(sessionID SessionRef, self VDIRef, value bool) (_err error)

Sets the VDI's missing field

func (VDIClass) SetMissingMock

func (_class VDIClass) SetMissingMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetNameDescription

func (_class VDIClass) SetNameDescription(sessionID SessionRef, self VDIRef, value string) (_err error)

Set the name description of the VDI. This can only happen when its SR is currently attached.

func (VDIClass) SetNameDescriptionMock

func (_class VDIClass) SetNameDescriptionMock(sessionID SessionRef, self VDIRef, value string) (_err error)

func (VDIClass) SetNameLabel

func (_class VDIClass) SetNameLabel(sessionID SessionRef, self VDIRef, value string) (_err error)

Set the name label of the VDI. This can only happen when then its SR is currently attached.

func (VDIClass) SetNameLabelMock

func (_class VDIClass) SetNameLabelMock(sessionID SessionRef, self VDIRef, value string) (_err error)

func (VDIClass) SetOnBoot

func (_class VDIClass) SetOnBoot(sessionID SessionRef, self VDIRef, value OnBoot) (_err error)

Set the value of the on_boot parameter. This value can only be changed when the VDI is not attached to a running VM.

func (VDIClass) SetOnBootMock

func (_class VDIClass) SetOnBootMock(sessionID SessionRef, self VDIRef, value OnBoot) (_err error)

func (VDIClass) SetOtherConfig

func (_class VDIClass) SetOtherConfig(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

Set the other_config field of the given VDI.

func (VDIClass) SetOtherConfigMock

func (_class VDIClass) SetOtherConfigMock(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func (VDIClass) SetPhysicalUtilisation

func (_class VDIClass) SetPhysicalUtilisation(sessionID SessionRef, self VDIRef, value int) (_err error)

Sets the VDI's physical_utilisation field

func (VDIClass) SetPhysicalUtilisationMock

func (_class VDIClass) SetPhysicalUtilisationMock(sessionID SessionRef, self VDIRef, value int) (_err error)

func (VDIClass) SetReadOnly

func (_class VDIClass) SetReadOnly(sessionID SessionRef, self VDIRef, value bool) (_err error)

Sets the VDI's read_only field

func (VDIClass) SetReadOnlyMock

func (_class VDIClass) SetReadOnlyMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetSharable

func (_class VDIClass) SetSharable(sessionID SessionRef, self VDIRef, value bool) (_err error)

Sets the VDI's sharable field

func (VDIClass) SetSharableMock

func (_class VDIClass) SetSharableMock(sessionID SessionRef, self VDIRef, value bool) (_err error)

func (VDIClass) SetSmConfig

func (_class VDIClass) SetSmConfig(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

Set the sm_config field of the given VDI.

func (VDIClass) SetSmConfigMock

func (_class VDIClass) SetSmConfigMock(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func (VDIClass) SetSnapshotOf

func (_class VDIClass) SetSnapshotOf(sessionID SessionRef, self VDIRef, value VDIRef) (_err error)

Sets the VDI of which this VDI is a snapshot

func (VDIClass) SetSnapshotOfMock

func (_class VDIClass) SetSnapshotOfMock(sessionID SessionRef, self VDIRef, value VDIRef) (_err error)

func (VDIClass) SetSnapshotTime

func (_class VDIClass) SetSnapshotTime(sessionID SessionRef, self VDIRef, value time.Time) (_err error)

Sets the snapshot time of this VDI.

func (VDIClass) SetSnapshotTimeMock

func (_class VDIClass) SetSnapshotTimeMock(sessionID SessionRef, self VDIRef, value time.Time) (_err error)

func (VDIClass) SetTags

func (_class VDIClass) SetTags(sessionID SessionRef, self VDIRef, value []string) (_err error)

Set the tags field of the given VDI.

func (VDIClass) SetTagsMock

func (_class VDIClass) SetTagsMock(sessionID SessionRef, self VDIRef, value []string) (_err error)

func (VDIClass) SetVirtualSize

func (_class VDIClass) SetVirtualSize(sessionID SessionRef, self VDIRef, value int) (_err error)

Sets the VDI's virtual_size field

func (VDIClass) SetVirtualSizeMock

func (_class VDIClass) SetVirtualSizeMock(sessionID SessionRef, self VDIRef, value int) (_err error)

func (VDIClass) SetXenstoreData

func (_class VDIClass) SetXenstoreData(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

Set the xenstore_data field of the given VDI.

func (VDIClass) SetXenstoreDataMock

func (_class VDIClass) SetXenstoreDataMock(sessionID SessionRef, self VDIRef, value map[string]string) (_err error)

func (VDIClass) Snapshot

func (_class VDIClass) Snapshot(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

Take a read-only snapshot of the VDI, returning a reference to the snapshot. If any driver_params are specified then these are passed through to the storage-specific substrate driver that takes the snapshot. NB the snapshot lives in the same Storage Repository as its parent.

func (VDIClass) SnapshotMock

func (_class VDIClass) SnapshotMock(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

func (VDIClass) Update

func (_class VDIClass) Update(sessionID SessionRef, vdi VDIRef) (_err error)

Ask the storage backend to refresh the fields in the VDI object

Errors:

SR_OPERATION_NOT_SUPPORTED - The SR backend does not support the operation (check the SR's allowed operations)

func (VDIClass) UpdateMock

func (_class VDIClass) UpdateMock(sessionID SessionRef, vdi VDIRef) (_err error)

type VDIRecord

type VDIRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VdiOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VdiOperations
	// storage repository in which the VDI resides
	SR SRRef
	// list of vbds that refer to this disk
	VBDs []VBDRef
	// list of crash dumps that refer to this disk
	CrashDumps []CrashdumpRef
	// size of disk as presented to the guest (in bytes). Note that, depending on storage backend type, requested size may not be respected exactly
	VirtualSize int
	// amount of physical space that the disk image is currently taking up on the storage repository (in bytes)
	PhysicalUtilisation int
	// type of the VDI
	Type VdiType
	// true if this disk may be shared
	Sharable bool
	// true if this disk may ONLY be mounted read-only
	ReadOnly bool
	// additional configuration
	OtherConfig map[string]string
	// true if this disk is locked at the storage level
	StorageLock bool
	// location information
	Location string
	//
	Managed bool
	// true if SR scan operation reported this VDI as not present on disk
	Missing bool
	// This field is always null. Deprecated
	Parent VDIRef
	// data to be inserted into the xenstore tree (/local/domain/0/backend/vbd/<domid>/<device-id>/sm-data) after the VDI is attached. This is generally set by the SM backends on vdi_attach.
	XenstoreData map[string]string
	// SM dependent data
	SmConfig map[string]string
	// true if this is a snapshot.
	IsASnapshot bool
	// Ref pointing to the VDI this snapshot is of.
	SnapshotOf VDIRef
	// List pointing to all the VDIs snapshots.
	Snapshots []VDIRef
	// Date/time when this snapshot was created.
	SnapshotTime time.Time
	// user-specified tags for categorization purposes
	Tags []string
	// true if this VDI is to be cached in the local cache SR
	AllowCaching bool
	// The behaviour of this VDI on a VM boot
	OnBoot OnBoot
	// The pool whose metadata is contained in this VDI
	MetadataOfPool PoolRef
	// Whether this VDI contains the latest known accessible metadata for the pool
	MetadataLatest bool
	// Whether this VDI is a Tools ISO
	IsToolsIso bool
	// True if changed blocks are tracked for this VDI
	CbtEnabled bool
}

func VDIClassGetRecordMockDefault

func VDIClassGetRecordMockDefault(sessionID SessionRef, self VDIRef) (_retval VDIRecord, _err error)

type VDIRef

type VDIRef string

func CrashdumpClassGetVDIMockDefault

func CrashdumpClassGetVDIMockDefault(sessionID SessionRef, self CrashdumpRef) (_retval VDIRef, _err error)

func PVSCacheStorageClassGetVDIMockDefault

func PVSCacheStorageClassGetVDIMockDefault(sessionID SessionRef, self PVSCacheStorageRef) (_retval VDIRef, _err error)

func PoolClassGetMetadataVDIsMockDefault

func PoolClassGetMetadataVDIsMockDefault(sessionID SessionRef, self PoolRef) (_retval []VDIRef, _err error)

func PoolClassGetRedoLogVdiMockDefault

func PoolClassGetRedoLogVdiMockDefault(sessionID SessionRef, self PoolRef) (_retval VDIRef, _err error)

func PoolUpdateClassGetVdiMockDefault

func PoolUpdateClassGetVdiMockDefault(sessionID SessionRef, self PoolUpdateRef) (_retval VDIRef, _err error)

func SRClassGetVDIsMockDefault

func SRClassGetVDIsMockDefault(sessionID SessionRef, self SRRef) (_retval []VDIRef, _err error)

func VBDClassGetVDIMockDefault

func VBDClassGetVDIMockDefault(sessionID SessionRef, self VBDRef) (_retval VDIRef, _err error)

func VDIClassCloneMockDefault

func VDIClassCloneMockDefault(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

func VDIClassCopyMockDefault

func VDIClassCopyMockDefault(sessionID SessionRef, vdi VDIRef, sr SRRef, baseVdi VDIRef, intoVdi VDIRef) (_retval VDIRef, _err error)

func VDIClassCreateMockDefault

func VDIClassCreateMockDefault(sessionID SessionRef, args VDIRecord) (_retval VDIRef, _err error)

func VDIClassDbIntroduceMockDefault

func VDIClassDbIntroduceMockDefault(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef, cbtEnabled bool) (_retval VDIRef, _err error)

func VDIClassGetAllMockDefault

func VDIClassGetAllMockDefault(sessionID SessionRef) (_retval []VDIRef, _err error)

func VDIClassGetByNameLabelMockDefault

func VDIClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []VDIRef, _err error)

func VDIClassGetByUUIDMockDefault

func VDIClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VDIRef, _err error)

func VDIClassGetParentMockDefault

func VDIClassGetParentMockDefault(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

func VDIClassGetSnapshotOfMockDefault

func VDIClassGetSnapshotOfMockDefault(sessionID SessionRef, self VDIRef) (_retval VDIRef, _err error)

func VDIClassGetSnapshotsMockDefault

func VDIClassGetSnapshotsMockDefault(sessionID SessionRef, self VDIRef) (_retval []VDIRef, _err error)

func VDIClassIntroduceMockDefault

func VDIClassIntroduceMockDefault(sessionID SessionRef, uuid string, nameLabel string, nameDescription string, sr SRRef, atype VdiType, sharable bool, readOnly bool, otherConfig map[string]string, location string, xenstoreData map[string]string, smConfig map[string]string, managed bool, virtualSize int, physicalUtilisation int, metadataOfPool PoolRef, isASnapshot bool, snapshotTime time.Time, snapshotOf VDIRef) (_retval VDIRef, _err error)

func VDIClassPoolMigrateMockDefault

func VDIClassPoolMigrateMockDefault(sessionID SessionRef, vdi VDIRef, sr SRRef, options map[string]string) (_retval VDIRef, _err error)

func VDIClassSnapshotMockDefault

func VDIClassSnapshotMockDefault(sessionID SessionRef, vdi VDIRef, driverParams map[string]string) (_retval VDIRef, _err error)

func VMClassGetSuspendVDIMockDefault

func VMClassGetSuspendVDIMockDefault(sessionID SessionRef, self VMRef) (_retval VDIRef, _err error)

type VGPUClass

type VGPUClass struct {
	// contains filtered or unexported fields
}

A virtual GPU (vGPU)

func (VGPUClass) AddToOtherConfig

func (_class VGPUClass) AddToOtherConfig(sessionID SessionRef, self VGPURef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VGPU.

func (VGPUClass) AddToOtherConfigMock

func (_class VGPUClass) AddToOtherConfigMock(sessionID SessionRef, self VGPURef, key string, value string) (_err error)

func (VGPUClass) Create

func (_class VGPUClass) Create(sessionID SessionRef, vm VMRef, gpuGroup GPUGroupRef, device string, otherConfig map[string]string, atype VGPUTypeRef) (_retval VGPURef, _err error)

func (VGPUClass) CreateMock

func (_class VGPUClass) CreateMock(sessionID SessionRef, vm VMRef, gpuGroup GPUGroupRef, device string, otherConfig map[string]string, atype VGPUTypeRef) (_retval VGPURef, _err error)

func (VGPUClass) Destroy

func (_class VGPUClass) Destroy(sessionID SessionRef, self VGPURef) (_err error)

func (VGPUClass) DestroyMock

func (_class VGPUClass) DestroyMock(sessionID SessionRef, self VGPURef) (_err error)

func (VGPUClass) GetAll

func (_class VGPUClass) GetAll(sessionID SessionRef) (_retval []VGPURef, _err error)

Return a list of all the VGPUs known to the system.

func (VGPUClass) GetAllMock

func (_class VGPUClass) GetAllMock(sessionID SessionRef) (_retval []VGPURef, _err error)

func (VGPUClass) GetAllRecords

func (_class VGPUClass) GetAllRecords(sessionID SessionRef) (_retval map[VGPURef]VGPURecord, _err error)

Return a map of VGPU references to VGPU records for all VGPUs known to the system.

func (VGPUClass) GetAllRecordsMock

func (_class VGPUClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VGPURef]VGPURecord, _err error)

func (VGPUClass) GetByUUID

func (_class VGPUClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VGPURef, _err error)

Get a reference to the VGPU instance with the specified UUID.

func (VGPUClass) GetByUUIDMock

func (_class VGPUClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VGPURef, _err error)

func (VGPUClass) GetCompatibilityMetadata

func (_class VGPUClass) GetCompatibilityMetadata(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

Get the compatibility_metadata field of the given VGPU.

func (VGPUClass) GetCompatibilityMetadataMock

func (_class VGPUClass) GetCompatibilityMetadataMock(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

func (VGPUClass) GetCurrentlyAttached

func (_class VGPUClass) GetCurrentlyAttached(sessionID SessionRef, self VGPURef) (_retval bool, _err error)

Get the currently_attached field of the given VGPU.

func (VGPUClass) GetCurrentlyAttachedMock

func (_class VGPUClass) GetCurrentlyAttachedMock(sessionID SessionRef, self VGPURef) (_retval bool, _err error)

func (VGPUClass) GetDevice

func (_class VGPUClass) GetDevice(sessionID SessionRef, self VGPURef) (_retval string, _err error)

Get the device field of the given VGPU.

func (VGPUClass) GetDeviceMock

func (_class VGPUClass) GetDeviceMock(sessionID SessionRef, self VGPURef) (_retval string, _err error)

func (VGPUClass) GetGPUGroup

func (_class VGPUClass) GetGPUGroup(sessionID SessionRef, self VGPURef) (_retval GPUGroupRef, _err error)

Get the GPU_group field of the given VGPU.

func (VGPUClass) GetGPUGroupMock

func (_class VGPUClass) GetGPUGroupMock(sessionID SessionRef, self VGPURef) (_retval GPUGroupRef, _err error)

func (VGPUClass) GetOtherConfig

func (_class VGPUClass) GetOtherConfig(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

Get the other_config field of the given VGPU.

func (VGPUClass) GetOtherConfigMock

func (_class VGPUClass) GetOtherConfigMock(sessionID SessionRef, self VGPURef) (_retval map[string]string, _err error)

func (VGPUClass) GetRecord

func (_class VGPUClass) GetRecord(sessionID SessionRef, self VGPURef) (_retval VGPURecord, _err error)

Get a record containing the current state of the given VGPU.

func (VGPUClass) GetRecordMock

func (_class VGPUClass) GetRecordMock(sessionID SessionRef, self VGPURef) (_retval VGPURecord, _err error)

func (VGPUClass) GetResidentOn

func (_class VGPUClass) GetResidentOn(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

Get the resident_on field of the given VGPU.

func (VGPUClass) GetResidentOnMock

func (_class VGPUClass) GetResidentOnMock(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

func (VGPUClass) GetScheduledToBeResidentOn

func (_class VGPUClass) GetScheduledToBeResidentOn(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

Get the scheduled_to_be_resident_on field of the given VGPU.

func (VGPUClass) GetScheduledToBeResidentOnMock

func (_class VGPUClass) GetScheduledToBeResidentOnMock(sessionID SessionRef, self VGPURef) (_retval PGPURef, _err error)

func (VGPUClass) GetType

func (_class VGPUClass) GetType(sessionID SessionRef, self VGPURef) (_retval VGPUTypeRef, _err error)

Get the type field of the given VGPU.

func (VGPUClass) GetTypeMock

func (_class VGPUClass) GetTypeMock(sessionID SessionRef, self VGPURef) (_retval VGPUTypeRef, _err error)

func (VGPUClass) GetUUID

func (_class VGPUClass) GetUUID(sessionID SessionRef, self VGPURef) (_retval string, _err error)

Get the uuid field of the given VGPU.

func (VGPUClass) GetUUIDMock

func (_class VGPUClass) GetUUIDMock(sessionID SessionRef, self VGPURef) (_retval string, _err error)

func (VGPUClass) GetVM

func (_class VGPUClass) GetVM(sessionID SessionRef, self VGPURef) (_retval VMRef, _err error)

Get the VM field of the given VGPU.

func (VGPUClass) GetVMMock

func (_class VGPUClass) GetVMMock(sessionID SessionRef, self VGPURef) (_retval VMRef, _err error)

func (VGPUClass) RemoveFromOtherConfig

func (_class VGPUClass) RemoveFromOtherConfig(sessionID SessionRef, self VGPURef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VGPU. If the key is not in that Map, then do nothing.

func (VGPUClass) RemoveFromOtherConfigMock

func (_class VGPUClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VGPURef, key string) (_err error)

func (VGPUClass) SetOtherConfig

func (_class VGPUClass) SetOtherConfig(sessionID SessionRef, self VGPURef, value map[string]string) (_err error)

Set the other_config field of the given VGPU.

func (VGPUClass) SetOtherConfigMock

func (_class VGPUClass) SetOtherConfigMock(sessionID SessionRef, self VGPURef, value map[string]string) (_err error)

type VGPURecord

type VGPURecord struct {
	// Unique identifier/object reference
	UUID string
	// VM that owns the vGPU
	VM VMRef
	// GPU group used by the vGPU
	GPUGroup GPUGroupRef
	// Order in which the devices are plugged into the VM
	Device string
	// Reflects whether the virtual device is currently connected to a physical device
	CurrentlyAttached bool
	// Additional configuration
	OtherConfig map[string]string
	// Preset type for this VGPU
	Type VGPUTypeRef
	// The PGPU on which this VGPU is running
	ResidentOn PGPURef
	// The PGPU on which this VGPU is scheduled to run
	ScheduledToBeResidentOn PGPURef
	// VGPU metadata to determine whether a VGPU can migrate between two PGPUs
	CompatibilityMetadata map[string]string
}

func VGPUClassGetRecordMockDefault

func VGPUClassGetRecordMockDefault(sessionID SessionRef, self VGPURef) (_retval VGPURecord, _err error)

type VGPURef

type VGPURef string

func GPUGroupClassGetVGPUsMockDefault

func GPUGroupClassGetVGPUsMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval []VGPURef, _err error)

func PGPUClassGetResidentVGPUsMockDefault

func PGPUClassGetResidentVGPUsMockDefault(sessionID SessionRef, self PGPURef) (_retval []VGPURef, _err error)

func VGPUClassCreateMockDefault

func VGPUClassCreateMockDefault(sessionID SessionRef, vm VMRef, gpuGroup GPUGroupRef, device string, otherConfig map[string]string, atype VGPUTypeRef) (_retval VGPURef, _err error)

func VGPUClassGetAllMockDefault

func VGPUClassGetAllMockDefault(sessionID SessionRef) (_retval []VGPURef, _err error)

func VGPUClassGetByUUIDMockDefault

func VGPUClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VGPURef, _err error)

func VGPUTypeClassGetVGPUsMockDefault

func VGPUTypeClassGetVGPUsMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval []VGPURef, _err error)

func VMClassGetVGPUsMockDefault

func VMClassGetVGPUsMockDefault(sessionID SessionRef, self VMRef) (_retval []VGPURef, _err error)

type VGPUTypeClass

type VGPUTypeClass struct {
	// contains filtered or unexported fields
}

A type of virtual GPU

func (VGPUTypeClass) GetAll

func (_class VGPUTypeClass) GetAll(sessionID SessionRef) (_retval []VGPUTypeRef, _err error)

Return a list of all the VGPU_types known to the system.

func (VGPUTypeClass) GetAllMock

func (_class VGPUTypeClass) GetAllMock(sessionID SessionRef) (_retval []VGPUTypeRef, _err error)

func (VGPUTypeClass) GetAllRecords

func (_class VGPUTypeClass) GetAllRecords(sessionID SessionRef) (_retval map[VGPUTypeRef]VGPUTypeRecord, _err error)

Return a map of VGPU_type references to VGPU_type records for all VGPU_types known to the system.

func (VGPUTypeClass) GetAllRecordsMock

func (_class VGPUTypeClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VGPUTypeRef]VGPUTypeRecord, _err error)

func (VGPUTypeClass) GetByUUID

func (_class VGPUTypeClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VGPUTypeRef, _err error)

Get a reference to the VGPU_type instance with the specified UUID.

func (VGPUTypeClass) GetByUUIDMock

func (_class VGPUTypeClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VGPUTypeRef, _err error)

func (VGPUTypeClass) GetEnabledOnGPUGroups

func (_class VGPUTypeClass) GetEnabledOnGPUGroups(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

Get the enabled_on_GPU_groups field of the given VGPU_type.

func (VGPUTypeClass) GetEnabledOnGPUGroupsMock

func (_class VGPUTypeClass) GetEnabledOnGPUGroupsMock(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

func (VGPUTypeClass) GetEnabledOnPGPUs

func (_class VGPUTypeClass) GetEnabledOnPGPUs(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

Get the enabled_on_PGPUs field of the given VGPU_type.

func (VGPUTypeClass) GetEnabledOnPGPUsMock

func (_class VGPUTypeClass) GetEnabledOnPGPUsMock(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

func (VGPUTypeClass) GetExperimental

func (_class VGPUTypeClass) GetExperimental(sessionID SessionRef, self VGPUTypeRef) (_retval bool, _err error)

Get the experimental field of the given VGPU_type.

func (VGPUTypeClass) GetExperimentalMock

func (_class VGPUTypeClass) GetExperimentalMock(sessionID SessionRef, self VGPUTypeRef) (_retval bool, _err error)

func (VGPUTypeClass) GetFramebufferSize

func (_class VGPUTypeClass) GetFramebufferSize(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

Get the framebuffer_size field of the given VGPU_type.

func (VGPUTypeClass) GetFramebufferSizeMock

func (_class VGPUTypeClass) GetFramebufferSizeMock(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func (VGPUTypeClass) GetIdentifier

func (_class VGPUTypeClass) GetIdentifier(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

Get the identifier field of the given VGPU_type.

func (VGPUTypeClass) GetIdentifierMock

func (_class VGPUTypeClass) GetIdentifierMock(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func (VGPUTypeClass) GetImplementation

func (_class VGPUTypeClass) GetImplementation(sessionID SessionRef, self VGPUTypeRef) (_retval VgpuTypeImplementation, _err error)

Get the implementation field of the given VGPU_type.

func (VGPUTypeClass) GetImplementationMock

func (_class VGPUTypeClass) GetImplementationMock(sessionID SessionRef, self VGPUTypeRef) (_retval VgpuTypeImplementation, _err error)

func (VGPUTypeClass) GetMaxHeads

func (_class VGPUTypeClass) GetMaxHeads(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

Get the max_heads field of the given VGPU_type.

func (VGPUTypeClass) GetMaxHeadsMock

func (_class VGPUTypeClass) GetMaxHeadsMock(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func (VGPUTypeClass) GetMaxResolutionX

func (_class VGPUTypeClass) GetMaxResolutionX(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

Get the max_resolution_x field of the given VGPU_type.

func (VGPUTypeClass) GetMaxResolutionXMock

func (_class VGPUTypeClass) GetMaxResolutionXMock(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func (VGPUTypeClass) GetMaxResolutionY

func (_class VGPUTypeClass) GetMaxResolutionY(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

Get the max_resolution_y field of the given VGPU_type.

func (VGPUTypeClass) GetMaxResolutionYMock

func (_class VGPUTypeClass) GetMaxResolutionYMock(sessionID SessionRef, self VGPUTypeRef) (_retval int, _err error)

func (VGPUTypeClass) GetModelName

func (_class VGPUTypeClass) GetModelName(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

Get the model_name field of the given VGPU_type.

func (VGPUTypeClass) GetModelNameMock

func (_class VGPUTypeClass) GetModelNameMock(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func (VGPUTypeClass) GetRecord

func (_class VGPUTypeClass) GetRecord(sessionID SessionRef, self VGPUTypeRef) (_retval VGPUTypeRecord, _err error)

Get a record containing the current state of the given VGPU_type.

func (VGPUTypeClass) GetRecordMock

func (_class VGPUTypeClass) GetRecordMock(sessionID SessionRef, self VGPUTypeRef) (_retval VGPUTypeRecord, _err error)

func (VGPUTypeClass) GetSupportedOnGPUGroups

func (_class VGPUTypeClass) GetSupportedOnGPUGroups(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

Get the supported_on_GPU_groups field of the given VGPU_type.

func (VGPUTypeClass) GetSupportedOnGPUGroupsMock

func (_class VGPUTypeClass) GetSupportedOnGPUGroupsMock(sessionID SessionRef, self VGPUTypeRef) (_retval []GPUGroupRef, _err error)

func (VGPUTypeClass) GetSupportedOnPGPUs

func (_class VGPUTypeClass) GetSupportedOnPGPUs(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

Get the supported_on_PGPUs field of the given VGPU_type.

func (VGPUTypeClass) GetSupportedOnPGPUsMock

func (_class VGPUTypeClass) GetSupportedOnPGPUsMock(sessionID SessionRef, self VGPUTypeRef) (_retval []PGPURef, _err error)

func (VGPUTypeClass) GetUUID

func (_class VGPUTypeClass) GetUUID(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

Get the uuid field of the given VGPU_type.

func (VGPUTypeClass) GetUUIDMock

func (_class VGPUTypeClass) GetUUIDMock(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

func (VGPUTypeClass) GetVGPUs

func (_class VGPUTypeClass) GetVGPUs(sessionID SessionRef, self VGPUTypeRef) (_retval []VGPURef, _err error)

Get the VGPUs field of the given VGPU_type.

func (VGPUTypeClass) GetVGPUsMock

func (_class VGPUTypeClass) GetVGPUsMock(sessionID SessionRef, self VGPUTypeRef) (_retval []VGPURef, _err error)

func (VGPUTypeClass) GetVendorName

func (_class VGPUTypeClass) GetVendorName(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

Get the vendor_name field of the given VGPU_type.

func (VGPUTypeClass) GetVendorNameMock

func (_class VGPUTypeClass) GetVendorNameMock(sessionID SessionRef, self VGPUTypeRef) (_retval string, _err error)

type VGPUTypeRecord

type VGPUTypeRecord struct {
	// Unique identifier/object reference
	UUID string
	// Name of VGPU vendor
	VendorName string
	// Model name associated with the VGPU type
	ModelName string
	// Framebuffer size of the VGPU type, in bytes
	FramebufferSize int
	// Maximum number of displays supported by the VGPU type
	MaxHeads int
	// Maximum resolution (width) supported by the VGPU type
	MaxResolutionX int
	// Maximum resolution (height) supported by the VGPU type
	MaxResolutionY int
	// List of PGPUs that support this VGPU type
	SupportedOnPGPUs []PGPURef
	// List of PGPUs that have this VGPU type enabled
	EnabledOnPGPUs []PGPURef
	// List of VGPUs of this type
	VGPUs []VGPURef
	// List of GPU groups in which at least one PGPU supports this VGPU type
	SupportedOnGPUGroups []GPUGroupRef
	// List of GPU groups in which at least one have this VGPU type enabled
	EnabledOnGPUGroups []GPUGroupRef
	// The internal implementation of this VGPU type
	Implementation VgpuTypeImplementation
	// Key used to identify VGPU types and avoid creating duplicates - this field is used internally and not intended for interpretation by API clients
	Identifier string
	// Indicates whether VGPUs of this type should be considered experimental
	Experimental bool
}

func VGPUTypeClassGetRecordMockDefault

func VGPUTypeClassGetRecordMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval VGPUTypeRecord, _err error)

type VGPUTypeRef

type VGPUTypeRef string

func GPUGroupClassGetEnabledVGPUTypesMockDefault

func GPUGroupClassGetEnabledVGPUTypesMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

func GPUGroupClassGetSupportedVGPUTypesMockDefault

func GPUGroupClassGetSupportedVGPUTypesMockDefault(sessionID SessionRef, self GPUGroupRef) (_retval []VGPUTypeRef, _err error)

func PGPUClassGetEnabledVGPUTypesMockDefault

func PGPUClassGetEnabledVGPUTypesMockDefault(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

func PGPUClassGetSupportedVGPUTypesMockDefault

func PGPUClassGetSupportedVGPUTypesMockDefault(sessionID SessionRef, self PGPURef) (_retval []VGPUTypeRef, _err error)

func VGPUClassGetTypeMockDefault

func VGPUClassGetTypeMockDefault(sessionID SessionRef, self VGPURef) (_retval VGPUTypeRef, _err error)

func VGPUTypeClassGetAllMockDefault

func VGPUTypeClassGetAllMockDefault(sessionID SessionRef) (_retval []VGPUTypeRef, _err error)

func VGPUTypeClassGetByUUIDMockDefault

func VGPUTypeClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VGPUTypeRef, _err error)

type VIFClass

type VIFClass struct {
	// contains filtered or unexported fields
}

A virtual network interface

func (VIFClass) AddIpv4Allowed

func (_class VIFClass) AddIpv4Allowed(sessionID SessionRef, self VIFRef, value string) (_err error)

Associates an IPv4 address with this VIF

func (VIFClass) AddIpv4AllowedMock

func (_class VIFClass) AddIpv4AllowedMock(sessionID SessionRef, self VIFRef, value string) (_err error)

func (VIFClass) AddIpv6Allowed

func (_class VIFClass) AddIpv6Allowed(sessionID SessionRef, self VIFRef, value string) (_err error)

Associates an IPv6 address with this VIF

func (VIFClass) AddIpv6AllowedMock

func (_class VIFClass) AddIpv6AllowedMock(sessionID SessionRef, self VIFRef, value string) (_err error)

func (VIFClass) AddToOtherConfig

func (_class VIFClass) AddToOtherConfig(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VIF.

func (VIFClass) AddToOtherConfigMock

func (_class VIFClass) AddToOtherConfigMock(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

func (VIFClass) AddToQosAlgorithmParams

func (_class VIFClass) AddToQosAlgorithmParams(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

Add the given key-value pair to the qos/algorithm_params field of the given VIF.

func (VIFClass) AddToQosAlgorithmParamsMock

func (_class VIFClass) AddToQosAlgorithmParamsMock(sessionID SessionRef, self VIFRef, key string, value string) (_err error)

func (VIFClass) ConfigureIpv4

func (_class VIFClass) ConfigureIpv4(sessionID SessionRef, self VIFRef, mode VifIpv4ConfigurationMode, address string, gateway string) (_err error)

Configure IPv4 settings for this virtual interface

func (VIFClass) ConfigureIpv4Mock

func (_class VIFClass) ConfigureIpv4Mock(sessionID SessionRef, self VIFRef, mode VifIpv4ConfigurationMode, address string, gateway string) (_err error)

func (VIFClass) ConfigureIpv6

func (_class VIFClass) ConfigureIpv6(sessionID SessionRef, self VIFRef, mode VifIpv6ConfigurationMode, address string, gateway string) (_err error)

Configure IPv6 settings for this virtual interface

func (VIFClass) ConfigureIpv6Mock

func (_class VIFClass) ConfigureIpv6Mock(sessionID SessionRef, self VIFRef, mode VifIpv6ConfigurationMode, address string, gateway string) (_err error)

func (VIFClass) Create

func (_class VIFClass) Create(sessionID SessionRef, args VIFRecord) (_retval VIFRef, _err error)

Create a new VIF instance, and return its handle. The constructor args are: device*, network*, VM*, MAC*, MTU*, other_config*, qos_algorithm_type*, qos_algorithm_params*, locking_mode, ipv4_allowed, ipv6_allowed (* = non-optional).

func (VIFClass) CreateMock

func (_class VIFClass) CreateMock(sessionID SessionRef, args VIFRecord) (_retval VIFRef, _err error)

func (VIFClass) Destroy

func (_class VIFClass) Destroy(sessionID SessionRef, self VIFRef) (_err error)

Destroy the specified VIF instance.

func (VIFClass) DestroyMock

func (_class VIFClass) DestroyMock(sessionID SessionRef, self VIFRef) (_err error)

func (VIFClass) GetAll

func (_class VIFClass) GetAll(sessionID SessionRef) (_retval []VIFRef, _err error)

Return a list of all the VIFs known to the system.

func (VIFClass) GetAllMock

func (_class VIFClass) GetAllMock(sessionID SessionRef) (_retval []VIFRef, _err error)

func (VIFClass) GetAllRecords

func (_class VIFClass) GetAllRecords(sessionID SessionRef) (_retval map[VIFRef]VIFRecord, _err error)

Return a map of VIF references to VIF records for all VIFs known to the system.

func (VIFClass) GetAllRecordsMock

func (_class VIFClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VIFRef]VIFRecord, _err error)

func (VIFClass) GetAllowedOperations

func (_class VIFClass) GetAllowedOperations(sessionID SessionRef, self VIFRef) (_retval []VifOperations, _err error)

Get the allowed_operations field of the given VIF.

func (VIFClass) GetAllowedOperationsMock

func (_class VIFClass) GetAllowedOperationsMock(sessionID SessionRef, self VIFRef) (_retval []VifOperations, _err error)

func (VIFClass) GetByUUID

func (_class VIFClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VIFRef, _err error)

Get a reference to the VIF instance with the specified UUID.

func (VIFClass) GetByUUIDMock

func (_class VIFClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VIFRef, _err error)

func (VIFClass) GetCurrentOperations

func (_class VIFClass) GetCurrentOperations(sessionID SessionRef, self VIFRef) (_retval map[string]VifOperations, _err error)

Get the current_operations field of the given VIF.

func (VIFClass) GetCurrentOperationsMock

func (_class VIFClass) GetCurrentOperationsMock(sessionID SessionRef, self VIFRef) (_retval map[string]VifOperations, _err error)

func (VIFClass) GetCurrentlyAttached

func (_class VIFClass) GetCurrentlyAttached(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

Get the currently_attached field of the given VIF.

func (VIFClass) GetCurrentlyAttachedMock

func (_class VIFClass) GetCurrentlyAttachedMock(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

func (VIFClass) GetDevice

func (_class VIFClass) GetDevice(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the device field of the given VIF.

func (VIFClass) GetDeviceMock

func (_class VIFClass) GetDeviceMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetIpv4Addresses

func (_class VIFClass) GetIpv4Addresses(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

Get the ipv4_addresses field of the given VIF.

func (VIFClass) GetIpv4AddressesMock

func (_class VIFClass) GetIpv4AddressesMock(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func (VIFClass) GetIpv4Allowed

func (_class VIFClass) GetIpv4Allowed(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

Get the ipv4_allowed field of the given VIF.

func (VIFClass) GetIpv4AllowedMock

func (_class VIFClass) GetIpv4AllowedMock(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func (VIFClass) GetIpv4ConfigurationMode

func (_class VIFClass) GetIpv4ConfigurationMode(sessionID SessionRef, self VIFRef) (_retval VifIpv4ConfigurationMode, _err error)

Get the ipv4_configuration_mode field of the given VIF.

func (VIFClass) GetIpv4ConfigurationModeMock

func (_class VIFClass) GetIpv4ConfigurationModeMock(sessionID SessionRef, self VIFRef) (_retval VifIpv4ConfigurationMode, _err error)

func (VIFClass) GetIpv4Gateway

func (_class VIFClass) GetIpv4Gateway(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the ipv4_gateway field of the given VIF.

func (VIFClass) GetIpv4GatewayMock

func (_class VIFClass) GetIpv4GatewayMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetIpv6Addresses

func (_class VIFClass) GetIpv6Addresses(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

Get the ipv6_addresses field of the given VIF.

func (VIFClass) GetIpv6AddressesMock

func (_class VIFClass) GetIpv6AddressesMock(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func (VIFClass) GetIpv6Allowed

func (_class VIFClass) GetIpv6Allowed(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

Get the ipv6_allowed field of the given VIF.

func (VIFClass) GetIpv6AllowedMock

func (_class VIFClass) GetIpv6AllowedMock(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func (VIFClass) GetIpv6ConfigurationMode

func (_class VIFClass) GetIpv6ConfigurationMode(sessionID SessionRef, self VIFRef) (_retval VifIpv6ConfigurationMode, _err error)

Get the ipv6_configuration_mode field of the given VIF.

func (VIFClass) GetIpv6ConfigurationModeMock

func (_class VIFClass) GetIpv6ConfigurationModeMock(sessionID SessionRef, self VIFRef) (_retval VifIpv6ConfigurationMode, _err error)

func (VIFClass) GetIpv6Gateway

func (_class VIFClass) GetIpv6Gateway(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the ipv6_gateway field of the given VIF.

func (VIFClass) GetIpv6GatewayMock

func (_class VIFClass) GetIpv6GatewayMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetLockingMode

func (_class VIFClass) GetLockingMode(sessionID SessionRef, self VIFRef) (_retval VifLockingMode, _err error)

Get the locking_mode field of the given VIF.

func (VIFClass) GetLockingModeMock

func (_class VIFClass) GetLockingModeMock(sessionID SessionRef, self VIFRef) (_retval VifLockingMode, _err error)

func (VIFClass) GetMAC

func (_class VIFClass) GetMAC(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the MAC field of the given VIF.

func (VIFClass) GetMACAutogenerated

func (_class VIFClass) GetMACAutogenerated(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

Get the MAC_autogenerated field of the given VIF.

func (VIFClass) GetMACAutogeneratedMock

func (_class VIFClass) GetMACAutogeneratedMock(sessionID SessionRef, self VIFRef) (_retval bool, _err error)

func (VIFClass) GetMACMock

func (_class VIFClass) GetMACMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetMTU

func (_class VIFClass) GetMTU(sessionID SessionRef, self VIFRef) (_retval int, _err error)

Get the MTU field of the given VIF.

func (VIFClass) GetMTUMock

func (_class VIFClass) GetMTUMock(sessionID SessionRef, self VIFRef) (_retval int, _err error)

func (VIFClass) GetMetrics

func (_class VIFClass) GetMetrics(sessionID SessionRef, self VIFRef) (_retval VIFMetricsRef, _err error)

Get the metrics field of the given VIF.

func (VIFClass) GetMetricsMock

func (_class VIFClass) GetMetricsMock(sessionID SessionRef, self VIFRef) (_retval VIFMetricsRef, _err error)

func (VIFClass) GetNetwork

func (_class VIFClass) GetNetwork(sessionID SessionRef, self VIFRef) (_retval NetworkRef, _err error)

Get the network field of the given VIF.

func (VIFClass) GetNetworkMock

func (_class VIFClass) GetNetworkMock(sessionID SessionRef, self VIFRef) (_retval NetworkRef, _err error)

func (VIFClass) GetOtherConfig

func (_class VIFClass) GetOtherConfig(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

Get the other_config field of the given VIF.

func (VIFClass) GetOtherConfigMock

func (_class VIFClass) GetOtherConfigMock(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func (VIFClass) GetQosAlgorithmParams

func (_class VIFClass) GetQosAlgorithmParams(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

Get the qos/algorithm_params field of the given VIF.

func (VIFClass) GetQosAlgorithmParamsMock

func (_class VIFClass) GetQosAlgorithmParamsMock(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func (VIFClass) GetQosAlgorithmType

func (_class VIFClass) GetQosAlgorithmType(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the qos/algorithm_type field of the given VIF.

func (VIFClass) GetQosAlgorithmTypeMock

func (_class VIFClass) GetQosAlgorithmTypeMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetQosSupportedAlgorithms

func (_class VIFClass) GetQosSupportedAlgorithms(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

Get the qos/supported_algorithms field of the given VIF.

func (VIFClass) GetQosSupportedAlgorithmsMock

func (_class VIFClass) GetQosSupportedAlgorithmsMock(sessionID SessionRef, self VIFRef) (_retval []string, _err error)

func (VIFClass) GetRecord

func (_class VIFClass) GetRecord(sessionID SessionRef, self VIFRef) (_retval VIFRecord, _err error)

Get a record containing the current state of the given VIF.

func (VIFClass) GetRecordMock

func (_class VIFClass) GetRecordMock(sessionID SessionRef, self VIFRef) (_retval VIFRecord, _err error)

func (VIFClass) GetRuntimeProperties

func (_class VIFClass) GetRuntimeProperties(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

Get the runtime_properties field of the given VIF.

func (VIFClass) GetRuntimePropertiesMock

func (_class VIFClass) GetRuntimePropertiesMock(sessionID SessionRef, self VIFRef) (_retval map[string]string, _err error)

func (VIFClass) GetStatusCode

func (_class VIFClass) GetStatusCode(sessionID SessionRef, self VIFRef) (_retval int, _err error)

Get the status_code field of the given VIF.

func (VIFClass) GetStatusCodeMock

func (_class VIFClass) GetStatusCodeMock(sessionID SessionRef, self VIFRef) (_retval int, _err error)

func (VIFClass) GetStatusDetail

func (_class VIFClass) GetStatusDetail(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the status_detail field of the given VIF.

func (VIFClass) GetStatusDetailMock

func (_class VIFClass) GetStatusDetailMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetUUID

func (_class VIFClass) GetUUID(sessionID SessionRef, self VIFRef) (_retval string, _err error)

Get the uuid field of the given VIF.

func (VIFClass) GetUUIDMock

func (_class VIFClass) GetUUIDMock(sessionID SessionRef, self VIFRef) (_retval string, _err error)

func (VIFClass) GetVM

func (_class VIFClass) GetVM(sessionID SessionRef, self VIFRef) (_retval VMRef, _err error)

Get the VM field of the given VIF.

func (VIFClass) GetVMMock

func (_class VIFClass) GetVMMock(sessionID SessionRef, self VIFRef) (_retval VMRef, _err error)

func (VIFClass) Move

func (_class VIFClass) Move(sessionID SessionRef, self VIFRef, network NetworkRef) (_err error)

Move the specified VIF to the specified network, even while the VM is running

func (VIFClass) MoveMock

func (_class VIFClass) MoveMock(sessionID SessionRef, self VIFRef, network NetworkRef) (_err error)

func (VIFClass) Plug

func (_class VIFClass) Plug(sessionID SessionRef, self VIFRef) (_err error)

Hotplug the specified VIF, dynamically attaching it to the running VM

func (VIFClass) PlugMock

func (_class VIFClass) PlugMock(sessionID SessionRef, self VIFRef) (_err error)

func (VIFClass) RemoveFromOtherConfig

func (_class VIFClass) RemoveFromOtherConfig(sessionID SessionRef, self VIFRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VIF. If the key is not in that Map, then do nothing.

func (VIFClass) RemoveFromOtherConfigMock

func (_class VIFClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VIFRef, key string) (_err error)

func (VIFClass) RemoveFromQosAlgorithmParams

func (_class VIFClass) RemoveFromQosAlgorithmParams(sessionID SessionRef, self VIFRef, key string) (_err error)

Remove the given key and its corresponding value from the qos/algorithm_params field of the given VIF. If the key is not in that Map, then do nothing.

func (VIFClass) RemoveFromQosAlgorithmParamsMock

func (_class VIFClass) RemoveFromQosAlgorithmParamsMock(sessionID SessionRef, self VIFRef, key string) (_err error)

func (VIFClass) RemoveIpv4Allowed

func (_class VIFClass) RemoveIpv4Allowed(sessionID SessionRef, self VIFRef, value string) (_err error)

Removes an IPv4 address from this VIF

func (VIFClass) RemoveIpv4AllowedMock

func (_class VIFClass) RemoveIpv4AllowedMock(sessionID SessionRef, self VIFRef, value string) (_err error)

func (VIFClass) RemoveIpv6Allowed

func (_class VIFClass) RemoveIpv6Allowed(sessionID SessionRef, self VIFRef, value string) (_err error)

Removes an IPv6 address from this VIF

func (VIFClass) RemoveIpv6AllowedMock

func (_class VIFClass) RemoveIpv6AllowedMock(sessionID SessionRef, self VIFRef, value string) (_err error)

func (VIFClass) SetIpv4Allowed

func (_class VIFClass) SetIpv4Allowed(sessionID SessionRef, self VIFRef, value []string) (_err error)

Set the IPv4 addresses to which traffic on this VIF can be restricted

func (VIFClass) SetIpv4AllowedMock

func (_class VIFClass) SetIpv4AllowedMock(sessionID SessionRef, self VIFRef, value []string) (_err error)

func (VIFClass) SetIpv6Allowed

func (_class VIFClass) SetIpv6Allowed(sessionID SessionRef, self VIFRef, value []string) (_err error)

Set the IPv6 addresses to which traffic on this VIF can be restricted

func (VIFClass) SetIpv6AllowedMock

func (_class VIFClass) SetIpv6AllowedMock(sessionID SessionRef, self VIFRef, value []string) (_err error)

func (VIFClass) SetLockingMode

func (_class VIFClass) SetLockingMode(sessionID SessionRef, self VIFRef, value VifLockingMode) (_err error)

Set the locking mode for this VIF

func (VIFClass) SetLockingModeMock

func (_class VIFClass) SetLockingModeMock(sessionID SessionRef, self VIFRef, value VifLockingMode) (_err error)

func (VIFClass) SetOtherConfig

func (_class VIFClass) SetOtherConfig(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

Set the other_config field of the given VIF.

func (VIFClass) SetOtherConfigMock

func (_class VIFClass) SetOtherConfigMock(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

func (VIFClass) SetQosAlgorithmParams

func (_class VIFClass) SetQosAlgorithmParams(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

Set the qos/algorithm_params field of the given VIF.

func (VIFClass) SetQosAlgorithmParamsMock

func (_class VIFClass) SetQosAlgorithmParamsMock(sessionID SessionRef, self VIFRef, value map[string]string) (_err error)

func (VIFClass) SetQosAlgorithmType

func (_class VIFClass) SetQosAlgorithmType(sessionID SessionRef, self VIFRef, value string) (_err error)

Set the qos/algorithm_type field of the given VIF.

func (VIFClass) SetQosAlgorithmTypeMock

func (_class VIFClass) SetQosAlgorithmTypeMock(sessionID SessionRef, self VIFRef, value string) (_err error)

func (VIFClass) Unplug

func (_class VIFClass) Unplug(sessionID SessionRef, self VIFRef) (_err error)

Hot-unplug the specified VIF, dynamically unattaching it from the running VM

func (VIFClass) UnplugForce

func (_class VIFClass) UnplugForce(sessionID SessionRef, self VIFRef) (_err error)

Forcibly unplug the specified VIF

func (VIFClass) UnplugForceMock

func (_class VIFClass) UnplugForceMock(sessionID SessionRef, self VIFRef) (_err error)

func (VIFClass) UnplugMock

func (_class VIFClass) UnplugMock(sessionID SessionRef, self VIFRef) (_err error)

type VIFMetricsClass

type VIFMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics associated with a virtual network device

func (VIFMetricsClass) AddToOtherConfig

func (_class VIFMetricsClass) AddToOtherConfig(sessionID SessionRef, self VIFMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VIF_metrics.

func (VIFMetricsClass) AddToOtherConfigMock

func (_class VIFMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self VIFMetricsRef, key string, value string) (_err error)

func (VIFMetricsClass) GetAll

func (_class VIFMetricsClass) GetAll(sessionID SessionRef) (_retval []VIFMetricsRef, _err error)

Return a list of all the VIF_metrics instances known to the system.

func (VIFMetricsClass) GetAllMock

func (_class VIFMetricsClass) GetAllMock(sessionID SessionRef) (_retval []VIFMetricsRef, _err error)

func (VIFMetricsClass) GetAllRecords

func (_class VIFMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[VIFMetricsRef]VIFMetricsRecord, _err error)

Return a map of VIF_metrics references to VIF_metrics records for all VIF_metrics instances known to the system.

func (VIFMetricsClass) GetAllRecordsMock

func (_class VIFMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VIFMetricsRef]VIFMetricsRecord, _err error)

func (VIFMetricsClass) GetByUUID

func (_class VIFMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VIFMetricsRef, _err error)

Get a reference to the VIF_metrics instance with the specified UUID.

func (VIFMetricsClass) GetByUUIDMock

func (_class VIFMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VIFMetricsRef, _err error)

func (VIFMetricsClass) GetIoReadKbs

func (_class VIFMetricsClass) GetIoReadKbs(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

Get the io/read_kbs field of the given VIF_metrics.

func (VIFMetricsClass) GetIoReadKbsMock

func (_class VIFMetricsClass) GetIoReadKbsMock(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

func (VIFMetricsClass) GetIoWriteKbs

func (_class VIFMetricsClass) GetIoWriteKbs(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

Get the io/write_kbs field of the given VIF_metrics.

func (VIFMetricsClass) GetIoWriteKbsMock

func (_class VIFMetricsClass) GetIoWriteKbsMock(sessionID SessionRef, self VIFMetricsRef) (_retval float64, _err error)

func (VIFMetricsClass) GetLastUpdated

func (_class VIFMetricsClass) GetLastUpdated(sessionID SessionRef, self VIFMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given VIF_metrics.

func (VIFMetricsClass) GetLastUpdatedMock

func (_class VIFMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self VIFMetricsRef) (_retval time.Time, _err error)

func (VIFMetricsClass) GetOtherConfig

func (_class VIFMetricsClass) GetOtherConfig(sessionID SessionRef, self VIFMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given VIF_metrics.

func (VIFMetricsClass) GetOtherConfigMock

func (_class VIFMetricsClass) GetOtherConfigMock(sessionID SessionRef, self VIFMetricsRef) (_retval map[string]string, _err error)

func (VIFMetricsClass) GetRecord

func (_class VIFMetricsClass) GetRecord(sessionID SessionRef, self VIFMetricsRef) (_retval VIFMetricsRecord, _err error)

Get a record containing the current state of the given VIF_metrics.

func (VIFMetricsClass) GetRecordMock

func (_class VIFMetricsClass) GetRecordMock(sessionID SessionRef, self VIFMetricsRef) (_retval VIFMetricsRecord, _err error)

func (VIFMetricsClass) GetUUID

func (_class VIFMetricsClass) GetUUID(sessionID SessionRef, self VIFMetricsRef) (_retval string, _err error)

Get the uuid field of the given VIF_metrics.

func (VIFMetricsClass) GetUUIDMock

func (_class VIFMetricsClass) GetUUIDMock(sessionID SessionRef, self VIFMetricsRef) (_retval string, _err error)

func (VIFMetricsClass) RemoveFromOtherConfig

func (_class VIFMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self VIFMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VIF_metrics. If the key is not in that Map, then do nothing.

func (VIFMetricsClass) RemoveFromOtherConfigMock

func (_class VIFMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VIFMetricsRef, key string) (_err error)

func (VIFMetricsClass) SetOtherConfig

func (_class VIFMetricsClass) SetOtherConfig(sessionID SessionRef, self VIFMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given VIF_metrics.

func (VIFMetricsClass) SetOtherConfigMock

func (_class VIFMetricsClass) SetOtherConfigMock(sessionID SessionRef, self VIFMetricsRef, value map[string]string) (_err error)

type VIFMetricsRecord

type VIFMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// Read bandwidth (KiB/s)
	IoReadKbs float64
	// Write bandwidth (KiB/s)
	IoWriteKbs float64
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
}

func VIFMetricsClassGetRecordMockDefault

func VIFMetricsClassGetRecordMockDefault(sessionID SessionRef, self VIFMetricsRef) (_retval VIFMetricsRecord, _err error)

type VIFMetricsRef

type VIFMetricsRef string

func VIFClassGetMetricsMockDefault

func VIFClassGetMetricsMockDefault(sessionID SessionRef, self VIFRef) (_retval VIFMetricsRef, _err error)

func VIFMetricsClassGetAllMockDefault

func VIFMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []VIFMetricsRef, _err error)

func VIFMetricsClassGetByUUIDMockDefault

func VIFMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VIFMetricsRef, _err error)

type VIFRecord

type VIFRecord struct {
	// Unique identifier/object reference
	UUID string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VifOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VifOperations
	// order in which VIF backends are created by xapi
	Device string
	// virtual network to which this vif is connected
	Network NetworkRef
	// virtual machine to which this vif is connected
	VM VMRef
	// ethernet MAC address of virtual interface, as exposed to guest
	MAC string
	// MTU in octets
	MTU int
	// additional configuration
	OtherConfig map[string]string
	// is the device currently attached (erased on reboot)
	CurrentlyAttached bool
	// error/success code associated with last attach-operation (erased on reboot)
	StatusCode int
	// error/success information associated with last attach-operation status (erased on reboot)
	StatusDetail string
	// Device runtime properties
	RuntimeProperties map[string]string
	// QoS algorithm to use
	QosAlgorithmType string
	// parameters for chosen QoS algorithm
	QosAlgorithmParams map[string]string
	// supported QoS algorithms for this VIF
	QosSupportedAlgorithms []string
	// metrics associated with this VIF
	Metrics VIFMetricsRef
	// true if the MAC was autogenerated; false indicates it was set manually
	MACAutogenerated bool
	// current locking mode of the VIF
	LockingMode VifLockingMode
	// A list of IPv4 addresses which can be used to filter traffic passing through this VIF
	Ipv4Allowed []string
	// A list of IPv6 addresses which can be used to filter traffic passing through this VIF
	Ipv6Allowed []string
	// Determines whether IPv4 addresses are configured on the VIF
	Ipv4ConfigurationMode VifIpv4ConfigurationMode
	// IPv4 addresses in CIDR format
	Ipv4Addresses []string
	// IPv4 gateway (the empty string means that no gateway is set)
	Ipv4Gateway string
	// Determines whether IPv6 addresses are configured on the VIF
	Ipv6ConfigurationMode VifIpv6ConfigurationMode
	// IPv6 addresses in CIDR format
	Ipv6Addresses []string
	// IPv6 gateway (the empty string means that no gateway is set)
	Ipv6Gateway string
}

func VIFClassGetRecordMockDefault

func VIFClassGetRecordMockDefault(sessionID SessionRef, self VIFRef) (_retval VIFRecord, _err error)

type VIFRef

type VIFRef string

func NetworkClassGetVIFsMockDefault

func NetworkClassGetVIFsMockDefault(sessionID SessionRef, self NetworkRef) (_retval []VIFRef, _err error)

func PVSProxyClassGetVIFMockDefault

func PVSProxyClassGetVIFMockDefault(sessionID SessionRef, self PVSProxyRef) (_retval VIFRef, _err error)

func VIFClassCreateMockDefault

func VIFClassCreateMockDefault(sessionID SessionRef, args VIFRecord) (_retval VIFRef, _err error)

func VIFClassGetAllMockDefault

func VIFClassGetAllMockDefault(sessionID SessionRef) (_retval []VIFRef, _err error)

func VIFClassGetByUUIDMockDefault

func VIFClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VIFRef, _err error)

func VMClassGetVIFsMockDefault

func VMClassGetVIFsMockDefault(sessionID SessionRef, self VMRef) (_retval []VIFRef, _err error)

type VLANClass

type VLANClass struct {
	// contains filtered or unexported fields
}

A VLAN mux/demux

func (VLANClass) AddToOtherConfig

func (_class VLANClass) AddToOtherConfig(sessionID SessionRef, self VLANRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VLAN.

func (VLANClass) AddToOtherConfigMock

func (_class VLANClass) AddToOtherConfigMock(sessionID SessionRef, self VLANRef, key string, value string) (_err error)

func (VLANClass) Create

func (_class VLANClass) Create(sessionID SessionRef, taggedPIF PIFRef, tag int, network NetworkRef) (_retval VLANRef, _err error)

Create a VLAN mux/demuxer

func (VLANClass) CreateMock

func (_class VLANClass) CreateMock(sessionID SessionRef, taggedPIF PIFRef, tag int, network NetworkRef) (_retval VLANRef, _err error)

func (VLANClass) Destroy

func (_class VLANClass) Destroy(sessionID SessionRef, self VLANRef) (_err error)

Destroy a VLAN mux/demuxer

func (VLANClass) DestroyMock

func (_class VLANClass) DestroyMock(sessionID SessionRef, self VLANRef) (_err error)

func (VLANClass) GetAll

func (_class VLANClass) GetAll(sessionID SessionRef) (_retval []VLANRef, _err error)

Return a list of all the VLANs known to the system.

func (VLANClass) GetAllMock

func (_class VLANClass) GetAllMock(sessionID SessionRef) (_retval []VLANRef, _err error)

func (VLANClass) GetAllRecords

func (_class VLANClass) GetAllRecords(sessionID SessionRef) (_retval map[VLANRef]VLANRecord, _err error)

Return a map of VLAN references to VLAN records for all VLANs known to the system.

func (VLANClass) GetAllRecordsMock

func (_class VLANClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VLANRef]VLANRecord, _err error)

func (VLANClass) GetByUUID

func (_class VLANClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VLANRef, _err error)

Get a reference to the VLAN instance with the specified UUID.

func (VLANClass) GetByUUIDMock

func (_class VLANClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VLANRef, _err error)

func (VLANClass) GetOtherConfig

func (_class VLANClass) GetOtherConfig(sessionID SessionRef, self VLANRef) (_retval map[string]string, _err error)

Get the other_config field of the given VLAN.

func (VLANClass) GetOtherConfigMock

func (_class VLANClass) GetOtherConfigMock(sessionID SessionRef, self VLANRef) (_retval map[string]string, _err error)

func (VLANClass) GetRecord

func (_class VLANClass) GetRecord(sessionID SessionRef, self VLANRef) (_retval VLANRecord, _err error)

Get a record containing the current state of the given VLAN.

func (VLANClass) GetRecordMock

func (_class VLANClass) GetRecordMock(sessionID SessionRef, self VLANRef) (_retval VLANRecord, _err error)

func (VLANClass) GetTag

func (_class VLANClass) GetTag(sessionID SessionRef, self VLANRef) (_retval int, _err error)

Get the tag field of the given VLAN.

func (VLANClass) GetTagMock

func (_class VLANClass) GetTagMock(sessionID SessionRef, self VLANRef) (_retval int, _err error)

func (VLANClass) GetTaggedPIF

func (_class VLANClass) GetTaggedPIF(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

Get the tagged_PIF field of the given VLAN.

func (VLANClass) GetTaggedPIFMock

func (_class VLANClass) GetTaggedPIFMock(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

func (VLANClass) GetUUID

func (_class VLANClass) GetUUID(sessionID SessionRef, self VLANRef) (_retval string, _err error)

Get the uuid field of the given VLAN.

func (VLANClass) GetUUIDMock

func (_class VLANClass) GetUUIDMock(sessionID SessionRef, self VLANRef) (_retval string, _err error)

func (VLANClass) GetUntaggedPIF

func (_class VLANClass) GetUntaggedPIF(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

Get the untagged_PIF field of the given VLAN.

func (VLANClass) GetUntaggedPIFMock

func (_class VLANClass) GetUntaggedPIFMock(sessionID SessionRef, self VLANRef) (_retval PIFRef, _err error)

func (VLANClass) RemoveFromOtherConfig

func (_class VLANClass) RemoveFromOtherConfig(sessionID SessionRef, self VLANRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VLAN. If the key is not in that Map, then do nothing.

func (VLANClass) RemoveFromOtherConfigMock

func (_class VLANClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VLANRef, key string) (_err error)

func (VLANClass) SetOtherConfig

func (_class VLANClass) SetOtherConfig(sessionID SessionRef, self VLANRef, value map[string]string) (_err error)

Set the other_config field of the given VLAN.

func (VLANClass) SetOtherConfigMock

func (_class VLANClass) SetOtherConfigMock(sessionID SessionRef, self VLANRef, value map[string]string) (_err error)

type VLANRecord

type VLANRecord struct {
	// Unique identifier/object reference
	UUID string
	// interface on which traffic is tagged
	TaggedPIF PIFRef
	// interface on which traffic is untagged
	UntaggedPIF PIFRef
	// VLAN tag in use
	Tag int
	// additional configuration
	OtherConfig map[string]string
}

func VLANClassGetRecordMockDefault

func VLANClassGetRecordMockDefault(sessionID SessionRef, self VLANRef) (_retval VLANRecord, _err error)

type VLANRef

type VLANRef string

func PIFClassGetVLANMasterOfMockDefault

func PIFClassGetVLANMasterOfMockDefault(sessionID SessionRef, self PIFRef) (_retval VLANRef, _err error)

func PIFClassGetVLANSlaveOfMockDefault

func PIFClassGetVLANSlaveOfMockDefault(sessionID SessionRef, self PIFRef) (_retval []VLANRef, _err error)

func VLANClassCreateMockDefault

func VLANClassCreateMockDefault(sessionID SessionRef, taggedPIF PIFRef, tag int, network NetworkRef) (_retval VLANRef, _err error)

func VLANClassGetAllMockDefault

func VLANClassGetAllMockDefault(sessionID SessionRef) (_retval []VLANRef, _err error)

func VLANClassGetByUUIDMockDefault

func VLANClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VLANRef, _err error)

type VMApplianceClass

type VMApplianceClass struct {
	// contains filtered or unexported fields
}

VM appliance

func (VMApplianceClass) AssertCanBeRecovered

func (_class VMApplianceClass) AssertCanBeRecovered(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_err error)

Assert whether all SRs required to recover this VM appliance are available.

Errors:

VM_REQUIRES_SR - You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.

func (VMApplianceClass) AssertCanBeRecoveredMock

func (_class VMApplianceClass) AssertCanBeRecoveredMock(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_err error)

func (VMApplianceClass) CleanShutdown

func (_class VMApplianceClass) CleanShutdown(sessionID SessionRef, self VMApplianceRef) (_err error)

Perform a clean shutdown of all the VMs in the appliance

Errors:

OPERATION_PARTIALLY_FAILED - Some VMs belonging to the appliance threw an exception while carrying out the specified operation

func (VMApplianceClass) CleanShutdownMock

func (_class VMApplianceClass) CleanShutdownMock(sessionID SessionRef, self VMApplianceRef) (_err error)

func (VMApplianceClass) Create

func (_class VMApplianceClass) Create(sessionID SessionRef, args VMApplianceRecord) (_retval VMApplianceRef, _err error)

Create a new VM_appliance instance, and return its handle. The constructor args are: name_label, name_description (* = non-optional).

func (VMApplianceClass) CreateMock

func (_class VMApplianceClass) CreateMock(sessionID SessionRef, args VMApplianceRecord) (_retval VMApplianceRef, _err error)

func (VMApplianceClass) Destroy

func (_class VMApplianceClass) Destroy(sessionID SessionRef, self VMApplianceRef) (_err error)

Destroy the specified VM_appliance instance.

func (VMApplianceClass) DestroyMock

func (_class VMApplianceClass) DestroyMock(sessionID SessionRef, self VMApplianceRef) (_err error)

func (VMApplianceClass) GetAll

func (_class VMApplianceClass) GetAll(sessionID SessionRef) (_retval []VMApplianceRef, _err error)

Return a list of all the VM_appliances known to the system.

func (VMApplianceClass) GetAllMock

func (_class VMApplianceClass) GetAllMock(sessionID SessionRef) (_retval []VMApplianceRef, _err error)

func (VMApplianceClass) GetAllRecords

func (_class VMApplianceClass) GetAllRecords(sessionID SessionRef) (_retval map[VMApplianceRef]VMApplianceRecord, _err error)

Return a map of VM_appliance references to VM_appliance records for all VM_appliances known to the system.

func (VMApplianceClass) GetAllRecordsMock

func (_class VMApplianceClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMApplianceRef]VMApplianceRecord, _err error)

func (VMApplianceClass) GetAllowedOperations

func (_class VMApplianceClass) GetAllowedOperations(sessionID SessionRef, self VMApplianceRef) (_retval []VMApplianceOperation, _err error)

Get the allowed_operations field of the given VM_appliance.

func (VMApplianceClass) GetAllowedOperationsMock

func (_class VMApplianceClass) GetAllowedOperationsMock(sessionID SessionRef, self VMApplianceRef) (_retval []VMApplianceOperation, _err error)

func (VMApplianceClass) GetByNameLabel

func (_class VMApplianceClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMApplianceRef, _err error)

Get all the VM_appliance instances with the given label.

func (VMApplianceClass) GetByNameLabelMock

func (_class VMApplianceClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []VMApplianceRef, _err error)

func (VMApplianceClass) GetByUUID

func (_class VMApplianceClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMApplianceRef, _err error)

Get a reference to the VM_appliance instance with the specified UUID.

func (VMApplianceClass) GetByUUIDMock

func (_class VMApplianceClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMApplianceRef, _err error)

func (VMApplianceClass) GetCurrentOperations

func (_class VMApplianceClass) GetCurrentOperations(sessionID SessionRef, self VMApplianceRef) (_retval map[string]VMApplianceOperation, _err error)

Get the current_operations field of the given VM_appliance.

func (VMApplianceClass) GetCurrentOperationsMock

func (_class VMApplianceClass) GetCurrentOperationsMock(sessionID SessionRef, self VMApplianceRef) (_retval map[string]VMApplianceOperation, _err error)

func (VMApplianceClass) GetNameDescription

func (_class VMApplianceClass) GetNameDescription(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

Get the name/description field of the given VM_appliance.

func (VMApplianceClass) GetNameDescriptionMock

func (_class VMApplianceClass) GetNameDescriptionMock(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func (VMApplianceClass) GetNameLabel

func (_class VMApplianceClass) GetNameLabel(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

Get the name/label field of the given VM_appliance.

func (VMApplianceClass) GetNameLabelMock

func (_class VMApplianceClass) GetNameLabelMock(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func (VMApplianceClass) GetRecord

func (_class VMApplianceClass) GetRecord(sessionID SessionRef, self VMApplianceRef) (_retval VMApplianceRecord, _err error)

Get a record containing the current state of the given VM_appliance.

func (VMApplianceClass) GetRecordMock

func (_class VMApplianceClass) GetRecordMock(sessionID SessionRef, self VMApplianceRef) (_retval VMApplianceRecord, _err error)

func (VMApplianceClass) GetSRsRequiredForRecovery

func (_class VMApplianceClass) GetSRsRequiredForRecovery(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_retval []SRRef, _err error)

Get the list of SRs required by the VM appliance to recover.

func (VMApplianceClass) GetSRsRequiredForRecoveryMock

func (_class VMApplianceClass) GetSRsRequiredForRecoveryMock(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef) (_retval []SRRef, _err error)

func (VMApplianceClass) GetUUID

func (_class VMApplianceClass) GetUUID(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

Get the uuid field of the given VM_appliance.

func (VMApplianceClass) GetUUIDMock

func (_class VMApplianceClass) GetUUIDMock(sessionID SessionRef, self VMApplianceRef) (_retval string, _err error)

func (VMApplianceClass) GetVMs

func (_class VMApplianceClass) GetVMs(sessionID SessionRef, self VMApplianceRef) (_retval []VMRef, _err error)

Get the VMs field of the given VM_appliance.

func (VMApplianceClass) GetVMsMock

func (_class VMApplianceClass) GetVMsMock(sessionID SessionRef, self VMApplianceRef) (_retval []VMRef, _err error)

func (VMApplianceClass) HardShutdown

func (_class VMApplianceClass) HardShutdown(sessionID SessionRef, self VMApplianceRef) (_err error)

Perform a hard shutdown of all the VMs in the appliance

Errors:

OPERATION_PARTIALLY_FAILED - Some VMs belonging to the appliance threw an exception while carrying out the specified operation

func (VMApplianceClass) HardShutdownMock

func (_class VMApplianceClass) HardShutdownMock(sessionID SessionRef, self VMApplianceRef) (_err error)

func (VMApplianceClass) Recover

func (_class VMApplianceClass) Recover(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef, force bool) (_err error)

Recover the VM appliance

Errors:

VM_REQUIRES_SR - You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.

func (VMApplianceClass) RecoverMock

func (_class VMApplianceClass) RecoverMock(sessionID SessionRef, self VMApplianceRef, sessionTo SessionRef, force bool) (_err error)

func (VMApplianceClass) SetNameDescription

func (_class VMApplianceClass) SetNameDescription(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

Set the name/description field of the given VM_appliance.

func (VMApplianceClass) SetNameDescriptionMock

func (_class VMApplianceClass) SetNameDescriptionMock(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

func (VMApplianceClass) SetNameLabel

func (_class VMApplianceClass) SetNameLabel(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

Set the name/label field of the given VM_appliance.

func (VMApplianceClass) SetNameLabelMock

func (_class VMApplianceClass) SetNameLabelMock(sessionID SessionRef, self VMApplianceRef, value string) (_err error)

func (VMApplianceClass) Shutdown

func (_class VMApplianceClass) Shutdown(sessionID SessionRef, self VMApplianceRef) (_err error)

For each VM in the appliance, try to shut it down cleanly. If this fails, perform a hard shutdown of the VM.

Errors:

OPERATION_PARTIALLY_FAILED - Some VMs belonging to the appliance threw an exception while carrying out the specified operation

func (VMApplianceClass) ShutdownMock

func (_class VMApplianceClass) ShutdownMock(sessionID SessionRef, self VMApplianceRef) (_err error)

func (VMApplianceClass) Start

func (_class VMApplianceClass) Start(sessionID SessionRef, self VMApplianceRef, paused bool) (_err error)

Start all VMs in the appliance

Errors:

OPERATION_PARTIALLY_FAILED - Some VMs belonging to the appliance threw an exception while carrying out the specified operation

func (VMApplianceClass) StartMock

func (_class VMApplianceClass) StartMock(sessionID SessionRef, self VMApplianceRef, paused bool) (_err error)

type VMApplianceOperation

type VMApplianceOperation string
const (
	// Start
	VMApplianceOperationStart VMApplianceOperation = "start"
	// Clean shutdown
	VMApplianceOperationCleanShutdown VMApplianceOperation = "clean_shutdown"
	// Hard shutdown
	VMApplianceOperationHardShutdown VMApplianceOperation = "hard_shutdown"
	// Shutdown
	VMApplianceOperationShutdown VMApplianceOperation = "shutdown"
)

func VMApplianceClassGetAllowedOperationsMockDefault

func VMApplianceClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval []VMApplianceOperation, _err error)

type VMApplianceRecord

type VMApplianceRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VMApplianceOperation
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VMApplianceOperation
	// all VMs in this appliance
	VMs []VMRef
}

func VMApplianceClassGetRecordMockDefault

func VMApplianceClassGetRecordMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval VMApplianceRecord, _err error)

type VMApplianceRef

type VMApplianceRef string

func VMApplianceClassCreateMockDefault

func VMApplianceClassCreateMockDefault(sessionID SessionRef, args VMApplianceRecord) (_retval VMApplianceRef, _err error)

func VMApplianceClassGetAllMockDefault

func VMApplianceClassGetAllMockDefault(sessionID SessionRef) (_retval []VMApplianceRef, _err error)

func VMApplianceClassGetByNameLabelMockDefault

func VMApplianceClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []VMApplianceRef, _err error)

func VMApplianceClassGetByUUIDMockDefault

func VMApplianceClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMApplianceRef, _err error)

func VMClassGetApplianceMockDefault

func VMClassGetApplianceMockDefault(sessionID SessionRef, self VMRef) (_retval VMApplianceRef, _err error)

type VMClass

type VMClass struct {
	// contains filtered or unexported fields
}

A virtual machine (or 'guest').

func (VMClass) AddTags

func (_class VMClass) AddTags(sessionID SessionRef, self VMRef, value string) (_err error)

Add the given value to the tags field of the given VM. If the value is already in that Set, then do nothing.

func (VMClass) AddTagsMock

func (_class VMClass) AddTagsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) AddToBlockedOperations

func (_class VMClass) AddToBlockedOperations(sessionID SessionRef, self VMRef, key VMOperations, value string) (_err error)

Add the given key-value pair to the blocked_operations field of the given VM.

func (VMClass) AddToBlockedOperationsMock

func (_class VMClass) AddToBlockedOperationsMock(sessionID SessionRef, self VMRef, key VMOperations, value string) (_err error)

func (VMClass) AddToHVMBootParams

func (_class VMClass) AddToHVMBootParams(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to the HVM/boot_params field of the given VM.

func (VMClass) AddToHVMBootParamsMock

func (_class VMClass) AddToHVMBootParamsMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AddToOtherConfig

func (_class VMClass) AddToOtherConfig(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VM.

func (VMClass) AddToOtherConfigMock

func (_class VMClass) AddToOtherConfigMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AddToPlatform

func (_class VMClass) AddToPlatform(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to the platform field of the given VM.

func (VMClass) AddToPlatformMock

func (_class VMClass) AddToPlatformMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AddToVCPUsParams

func (_class VMClass) AddToVCPUsParams(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to the VCPUs/params field of the given VM.

func (VMClass) AddToVCPUsParamsLive

func (_class VMClass) AddToVCPUsParamsLive(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to VM.VCPUs_params, and apply that value on the running VM

func (VMClass) AddToVCPUsParamsLiveMock

func (_class VMClass) AddToVCPUsParamsLiveMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AddToVCPUsParamsMock

func (_class VMClass) AddToVCPUsParamsMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AddToXenstoreData

func (_class VMClass) AddToXenstoreData(sessionID SessionRef, self VMRef, key string, value string) (_err error)

Add the given key-value pair to the xenstore_data field of the given VM.

func (VMClass) AddToXenstoreDataMock

func (_class VMClass) AddToXenstoreDataMock(sessionID SessionRef, self VMRef, key string, value string) (_err error)

func (VMClass) AssertAgile

func (_class VMClass) AssertAgile(sessionID SessionRef, self VMRef) (_err error)

Returns an error if the VM is not considered agile e.g. because it is tied to a resource local to a host

func (VMClass) AssertAgileMock

func (_class VMClass) AssertAgileMock(sessionID SessionRef, self VMRef) (_err error)

func (VMClass) AssertCanBeRecovered

func (_class VMClass) AssertCanBeRecovered(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_err error)

Assert whether all SRs required to recover this VM are available.

Errors:

VM_IS_PART_OF_AN_APPLIANCE - This operation is not allowed as the VM is part of an appliance.
VM_REQUIRES_SR - You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.

func (VMClass) AssertCanBeRecoveredMock

func (_class VMClass) AssertCanBeRecoveredMock(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_err error)

func (VMClass) AssertCanBootHere

func (_class VMClass) AssertCanBootHere(sessionID SessionRef, self VMRef, host HostRef) (_err error)

Returns an error if the VM could not boot on this host for some reason

Errors:

HOST_NOT_ENOUGH_FREE_MEMORY - Not enough host memory is available to perform this operation
VM_REQUIRES_SR - You attempted to run a VM on a host which doesn't have access to an SR needed by the VM. The VM has at least one VBD attached to a VDI in the SR.
VM_HOST_INCOMPATIBLE_VERSION - This VM operation cannot be performed on an older-versioned host during an upgrade.
VM_HOST_INCOMPATIBLE_VIRTUAL_HARDWARE_PLATFORM_VERSION - You attempted to run a VM on a host that cannot provide the VM's required Virtual Hardware Platform version.

func (VMClass) AssertCanBootHereMock

func (_class VMClass) AssertCanBootHereMock(sessionID SessionRef, self VMRef, host HostRef) (_err error)

func (VMClass) AssertCanMigrate

func (_class VMClass) AssertCanMigrate(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_err error)

Assert whether a VM can be migrated to the specified destination.

Errors:

LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) AssertCanMigrateMock

func (_class VMClass) AssertCanMigrateMock(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_err error)

func (VMClass) AssertOperationValid

func (_class VMClass) AssertOperationValid(sessionID SessionRef, self VMRef, op VMOperations) (_err error)

Check to see whether this operation is acceptable in the current state of the system, raising an error if the operation is invalid for some reason

func (VMClass) AssertOperationValidMock

func (_class VMClass) AssertOperationValidMock(sessionID SessionRef, self VMRef, op VMOperations) (_err error)

func (VMClass) CallPlugin

func (_class VMClass) CallPlugin(sessionID SessionRef, vm VMRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

Call a XenAPI plugin on this vm

func (VMClass) CallPluginMock

func (_class VMClass) CallPluginMock(sessionID SessionRef, vm VMRef, plugin string, fn string, args map[string]string) (_retval string, _err error)

func (VMClass) Checkpoint

func (_class VMClass) Checkpoint(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

Checkpoints the specified VM, making a new VM. Checkpoint automatically exploits the capabilities of the underlying storage repository in which the VM's disk images are stored (e.g. Copy on Write) and saves the memory image as well.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_CHECKPOINT_SUSPEND_FAILED - An error occured while saving the memory image of the specified virtual machine
VM_CHECKPOINT_RESUME_FAILED - An error occured while restoring the memory image of the specified virtual machine

func (VMClass) CheckpointMock

func (_class VMClass) CheckpointMock(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func (VMClass) CleanReboot

func (_class VMClass) CleanReboot(sessionID SessionRef, vm VMRef) (_err error)

Attempt to cleanly shutdown the specified VM (Note: this may not be supported---e.g. if a guest agent is not installed). This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) CleanRebootMock

func (_class VMClass) CleanRebootMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) CleanShutdown

func (_class VMClass) CleanShutdown(sessionID SessionRef, vm VMRef) (_err error)

Attempt to cleanly shutdown the specified VM. (Note: this may not be supported---e.g. if a guest agent is not installed). This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) CleanShutdownMock

func (_class VMClass) CleanShutdownMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) Clone

func (_class VMClass) Clone(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

Clones the specified VM, making a new VM. Clone automatically exploits the capabilities of the underlying storage repository in which the VM's disk images are stored (e.g. Copy on Write). This function can only be called when the VM is in the Halted State.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) CloneMock

func (_class VMClass) CloneMock(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func (VMClass) ComputeMemoryOverhead

func (_class VMClass) ComputeMemoryOverhead(sessionID SessionRef, vm VMRef) (_retval int, _err error)

Computes the virtualization memory overhead of a VM.

func (VMClass) ComputeMemoryOverheadMock

func (_class VMClass) ComputeMemoryOverheadMock(sessionID SessionRef, vm VMRef) (_retval int, _err error)

func (VMClass) Copy

func (_class VMClass) Copy(sessionID SessionRef, vm VMRef, newName string, sr SRRef) (_retval VMRef, _err error)

Copied the specified VM, making a new VM. Unlike clone, copy does not exploits the capabilities of the underlying storage repository in which the VM's disk images are stored. Instead, copy guarantees that the disk images of the newly created VM will be 'full disks' - i.e. not part of a CoW chain. This function can only be called when the VM is in the Halted State.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) CopyBiosStrings

func (_class VMClass) CopyBiosStrings(sessionID SessionRef, vm VMRef, host HostRef) (_err error)

Copy the BIOS strings from the given host to this VM

func (VMClass) CopyBiosStringsMock

func (_class VMClass) CopyBiosStringsMock(sessionID SessionRef, vm VMRef, host HostRef) (_err error)

func (VMClass) CopyMock

func (_class VMClass) CopyMock(sessionID SessionRef, vm VMRef, newName string, sr SRRef) (_retval VMRef, _err error)

func (VMClass) Create

func (_class VMClass) Create(sessionID SessionRef, args VMRecord) (_retval VMRef, _err error)

NOT RECOMMENDED! VM.clone or VM.copy (or VM.import) is a better choice in almost all situations. The standard way to obtain a new VM is to call VM.clone on a template VM, then call VM.provision on the new clone. Caution: if VM.create is used and then the new VM is attached to a virtual disc that has an operating system already installed, then there is no guarantee that the operating system will boot and run. Any software that calls VM.create on a future version of this API may fail or give unexpected results. For example this could happen if an additional parameter were added to VM.create. VM.create is intended only for use in the automatic creation of the system VM templates. It creates a new VM instance, and returns its handle. The constructor args are: name_label, name_description, user_version*, is_a_template*, affinity*, memory_target, memory_static_max*, memory_dynamic_max*, memory_dynamic_min*, memory_static_min*, VCPUs_params*, VCPUs_max*, VCPUs_at_startup*, actions_after_shutdown*, actions_after_reboot*, actions_after_crash*, PV_bootloader*, PV_kernel*, PV_ramdisk*, PV_args*, PV_bootloader_args*, PV_legacy_args*, HVM_boot_policy*, HVM_boot_params*, HVM_shadow_multiplier, platform*, PCI_bus*, other_config*, recommendations*, xenstore_data, ha_always_run, ha_restart_priority, tags, blocked_operations, protection_policy, is_snapshot_from_vmpp, snapshot_schedule, is_vmss_snapshot, appliance, start_delay, shutdown_delay, order, suspend_SR, version, generation_id, hardware_platform_version, has_vendor_device, reference_label (* = non-optional).

func (VMClass) CreateMock

func (_class VMClass) CreateMock(sessionID SessionRef, args VMRecord) (_retval VMRef, _err error)

func (VMClass) CreateNewBlob

func (_class VMClass) CreateNewBlob(sessionID SessionRef, vm VMRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

Create a placeholder for a named binary blob of data that is associated with this VM

func (VMClass) CreateNewBlobMock

func (_class VMClass) CreateNewBlobMock(sessionID SessionRef, vm VMRef, name string, mimeType string, public bool) (_retval BlobRef, _err error)

func (VMClass) Destroy

func (_class VMClass) Destroy(sessionID SessionRef, self VMRef) (_err error)

Destroy the specified VM. The VM is completely removed from the system. This function can only be called when the VM is in the Halted State.

func (VMClass) DestroyMock

func (_class VMClass) DestroyMock(sessionID SessionRef, self VMRef) (_err error)

func (VMClass) ForgetDataSourceArchives

func (_class VMClass) ForgetDataSourceArchives(sessionID SessionRef, self VMRef, dataSource string) (_err error)

Forget the recorded statistics related to the specified data source

func (VMClass) ForgetDataSourceArchivesMock

func (_class VMClass) ForgetDataSourceArchivesMock(sessionID SessionRef, self VMRef, dataSource string) (_err error)

func (VMClass) GetActionsAfterCrash

func (_class VMClass) GetActionsAfterCrash(sessionID SessionRef, self VMRef) (_retval OnCrashBehaviour, _err error)

Get the actions/after_crash field of the given VM.

func (VMClass) GetActionsAfterCrashMock

func (_class VMClass) GetActionsAfterCrashMock(sessionID SessionRef, self VMRef) (_retval OnCrashBehaviour, _err error)

func (VMClass) GetActionsAfterReboot

func (_class VMClass) GetActionsAfterReboot(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

Get the actions/after_reboot field of the given VM.

func (VMClass) GetActionsAfterRebootMock

func (_class VMClass) GetActionsAfterRebootMock(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

func (VMClass) GetActionsAfterShutdown

func (_class VMClass) GetActionsAfterShutdown(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

Get the actions/after_shutdown field of the given VM.

func (VMClass) GetActionsAfterShutdownMock

func (_class VMClass) GetActionsAfterShutdownMock(sessionID SessionRef, self VMRef) (_retval OnNormalExit, _err error)

func (VMClass) GetAffinity

func (_class VMClass) GetAffinity(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

Get the affinity field of the given VM.

func (VMClass) GetAffinityMock

func (_class VMClass) GetAffinityMock(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

func (VMClass) GetAll

func (_class VMClass) GetAll(sessionID SessionRef) (_retval []VMRef, _err error)

Return a list of all the VMs known to the system.

func (VMClass) GetAllMock

func (_class VMClass) GetAllMock(sessionID SessionRef) (_retval []VMRef, _err error)

func (VMClass) GetAllRecords

func (_class VMClass) GetAllRecords(sessionID SessionRef) (_retval map[VMRef]VMRecord, _err error)

Return a map of VM references to VM records for all VMs known to the system.

func (VMClass) GetAllRecordsMock

func (_class VMClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMRef]VMRecord, _err error)

func (VMClass) GetAllowedOperations

func (_class VMClass) GetAllowedOperations(sessionID SessionRef, self VMRef) (_retval []VMOperations, _err error)

Get the allowed_operations field of the given VM.

func (VMClass) GetAllowedOperationsMock

func (_class VMClass) GetAllowedOperationsMock(sessionID SessionRef, self VMRef) (_retval []VMOperations, _err error)

func (VMClass) GetAllowedVBDDevices

func (_class VMClass) GetAllowedVBDDevices(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

Returns a list of the allowed values that a VBD device field can take

func (VMClass) GetAllowedVBDDevicesMock

func (_class VMClass) GetAllowedVBDDevicesMock(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

func (VMClass) GetAllowedVIFDevices

func (_class VMClass) GetAllowedVIFDevices(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

Returns a list of the allowed values that a VIF device field can take

func (VMClass) GetAllowedVIFDevicesMock

func (_class VMClass) GetAllowedVIFDevicesMock(sessionID SessionRef, vm VMRef) (_retval []string, _err error)

func (VMClass) GetAppliance

func (_class VMClass) GetAppliance(sessionID SessionRef, self VMRef) (_retval VMApplianceRef, _err error)

Get the appliance field of the given VM.

func (VMClass) GetApplianceMock

func (_class VMClass) GetApplianceMock(sessionID SessionRef, self VMRef) (_retval VMApplianceRef, _err error)

func (VMClass) GetAttachedPCIs

func (_class VMClass) GetAttachedPCIs(sessionID SessionRef, self VMRef) (_retval []PCIRef, _err error)

Get the attached_PCIs field of the given VM.

func (VMClass) GetAttachedPCIsMock

func (_class VMClass) GetAttachedPCIsMock(sessionID SessionRef, self VMRef) (_retval []PCIRef, _err error)

func (VMClass) GetBiosStrings

func (_class VMClass) GetBiosStrings(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the bios_strings field of the given VM.

func (VMClass) GetBiosStringsMock

func (_class VMClass) GetBiosStringsMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetBlobs

func (_class VMClass) GetBlobs(sessionID SessionRef, self VMRef) (_retval map[string]BlobRef, _err error)

Get the blobs field of the given VM.

func (VMClass) GetBlobsMock

func (_class VMClass) GetBlobsMock(sessionID SessionRef, self VMRef) (_retval map[string]BlobRef, _err error)

func (VMClass) GetBlockedOperations

func (_class VMClass) GetBlockedOperations(sessionID SessionRef, self VMRef) (_retval map[VMOperations]string, _err error)

Get the blocked_operations field of the given VM.

func (VMClass) GetBlockedOperationsMock

func (_class VMClass) GetBlockedOperationsMock(sessionID SessionRef, self VMRef) (_retval map[VMOperations]string, _err error)

func (VMClass) GetBootRecord

func (_class VMClass) GetBootRecord(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

Returns a record describing the VM's dynamic state, initialised when the VM boots and updated to reflect runtime configuration changes e.g. CPU hotplug

func (VMClass) GetBootRecordMock

func (_class VMClass) GetBootRecordMock(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

func (VMClass) GetByNameLabel

func (_class VMClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMRef, _err error)

Get all the VM instances with the given label.

func (VMClass) GetByNameLabelMock

func (_class VMClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []VMRef, _err error)

func (VMClass) GetByUUID

func (_class VMClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMRef, _err error)

Get a reference to the VM instance with the specified UUID.

func (VMClass) GetByUUIDMock

func (_class VMClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMRef, _err error)

func (VMClass) GetChildren

func (_class VMClass) GetChildren(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

Get the children field of the given VM.

func (VMClass) GetChildrenMock

func (_class VMClass) GetChildrenMock(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

func (VMClass) GetConsoles

func (_class VMClass) GetConsoles(sessionID SessionRef, self VMRef) (_retval []ConsoleRef, _err error)

Get the consoles field of the given VM.

func (VMClass) GetConsolesMock

func (_class VMClass) GetConsolesMock(sessionID SessionRef, self VMRef) (_retval []ConsoleRef, _err error)

func (VMClass) GetCooperative

func (_class VMClass) GetCooperative(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Return true if the VM is currently 'co-operative' i.e. is expected to reach a balloon target and actually has done

func (VMClass) GetCooperativeMock

func (_class VMClass) GetCooperativeMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetCrashDumps

func (_class VMClass) GetCrashDumps(sessionID SessionRef, self VMRef) (_retval []CrashdumpRef, _err error)

Get the crash_dumps field of the given VM.

func (VMClass) GetCrashDumpsMock

func (_class VMClass) GetCrashDumpsMock(sessionID SessionRef, self VMRef) (_retval []CrashdumpRef, _err error)

func (VMClass) GetCurrentOperations

func (_class VMClass) GetCurrentOperations(sessionID SessionRef, self VMRef) (_retval map[string]VMOperations, _err error)

Get the current_operations field of the given VM.

func (VMClass) GetCurrentOperationsMock

func (_class VMClass) GetCurrentOperationsMock(sessionID SessionRef, self VMRef) (_retval map[string]VMOperations, _err error)

func (VMClass) GetDataSources

func (_class VMClass) GetDataSources(sessionID SessionRef, self VMRef) (_retval []DataSourceRecord, _err error)

func (VMClass) GetDataSourcesMock

func (_class VMClass) GetDataSourcesMock(sessionID SessionRef, self VMRef) (_retval []DataSourceRecord, _err error)

func (VMClass) GetDomarch

func (_class VMClass) GetDomarch(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the domarch field of the given VM.

func (VMClass) GetDomarchMock

func (_class VMClass) GetDomarchMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetDomid

func (_class VMClass) GetDomid(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the domid field of the given VM.

func (VMClass) GetDomidMock

func (_class VMClass) GetDomidMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetGenerationID

func (_class VMClass) GetGenerationID(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the generation_id field of the given VM.

func (VMClass) GetGenerationIDMock

func (_class VMClass) GetGenerationIDMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetGuestMetrics

func (_class VMClass) GetGuestMetrics(sessionID SessionRef, self VMRef) (_retval VMGuestMetricsRef, _err error)

Get the guest_metrics field of the given VM.

func (VMClass) GetGuestMetricsMock

func (_class VMClass) GetGuestMetricsMock(sessionID SessionRef, self VMRef) (_retval VMGuestMetricsRef, _err error)

func (VMClass) GetHVMBootParams

func (_class VMClass) GetHVMBootParams(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the HVM/boot_params field of the given VM.

func (VMClass) GetHVMBootParamsMock

func (_class VMClass) GetHVMBootParamsMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetHVMBootPolicy

func (_class VMClass) GetHVMBootPolicy(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the HVM/boot_policy field of the given VM.

func (VMClass) GetHVMBootPolicyMock

func (_class VMClass) GetHVMBootPolicyMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetHVMShadowMultiplier

func (_class VMClass) GetHVMShadowMultiplier(sessionID SessionRef, self VMRef) (_retval float64, _err error)

Get the HVM/shadow_multiplier field of the given VM.

func (VMClass) GetHVMShadowMultiplierMock

func (_class VMClass) GetHVMShadowMultiplierMock(sessionID SessionRef, self VMRef) (_retval float64, _err error)

func (VMClass) GetHaAlwaysRun

func (_class VMClass) GetHaAlwaysRun(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the ha_always_run field of the given VM.

func (VMClass) GetHaAlwaysRunMock

func (_class VMClass) GetHaAlwaysRunMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetHaRestartPriority

func (_class VMClass) GetHaRestartPriority(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the ha_restart_priority field of the given VM.

func (VMClass) GetHaRestartPriorityMock

func (_class VMClass) GetHaRestartPriorityMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetHardwarePlatformVersion

func (_class VMClass) GetHardwarePlatformVersion(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the hardware_platform_version field of the given VM.

func (VMClass) GetHardwarePlatformVersionMock

func (_class VMClass) GetHardwarePlatformVersionMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetHasVendorDevice

func (_class VMClass) GetHasVendorDevice(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the has_vendor_device field of the given VM.

func (VMClass) GetHasVendorDeviceMock

func (_class VMClass) GetHasVendorDeviceMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsASnapshot

func (_class VMClass) GetIsASnapshot(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_a_snapshot field of the given VM.

func (VMClass) GetIsASnapshotMock

func (_class VMClass) GetIsASnapshotMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsATemplate

func (_class VMClass) GetIsATemplate(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_a_template field of the given VM.

func (VMClass) GetIsATemplateMock

func (_class VMClass) GetIsATemplateMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsControlDomain

func (_class VMClass) GetIsControlDomain(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_control_domain field of the given VM.

func (VMClass) GetIsControlDomainMock

func (_class VMClass) GetIsControlDomainMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsDefaultTemplate

func (_class VMClass) GetIsDefaultTemplate(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_default_template field of the given VM.

func (VMClass) GetIsDefaultTemplateMock

func (_class VMClass) GetIsDefaultTemplateMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsSnapshotFromVmpp

func (_class VMClass) GetIsSnapshotFromVmpp(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_snapshot_from_vmpp field of the given VM.

func (VMClass) GetIsSnapshotFromVmppMock

func (_class VMClass) GetIsSnapshotFromVmppMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetIsVmssSnapshot

func (_class VMClass) GetIsVmssSnapshot(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the is_vmss_snapshot field of the given VM.

func (VMClass) GetIsVmssSnapshotMock

func (_class VMClass) GetIsVmssSnapshotMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetLastBootCPUFlags

func (_class VMClass) GetLastBootCPUFlags(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the last_boot_CPU_flags field of the given VM.

func (VMClass) GetLastBootCPUFlagsMock

func (_class VMClass) GetLastBootCPUFlagsMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetLastBootedRecord

func (_class VMClass) GetLastBootedRecord(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the last_booted_record field of the given VM.

func (VMClass) GetLastBootedRecordMock

func (_class VMClass) GetLastBootedRecordMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetMemoryDynamicMax

func (_class VMClass) GetMemoryDynamicMax(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/dynamic_max field of the given VM.

func (VMClass) GetMemoryDynamicMaxMock

func (_class VMClass) GetMemoryDynamicMaxMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMemoryDynamicMin

func (_class VMClass) GetMemoryDynamicMin(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/dynamic_min field of the given VM.

func (VMClass) GetMemoryDynamicMinMock

func (_class VMClass) GetMemoryDynamicMinMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMemoryOverhead

func (_class VMClass) GetMemoryOverhead(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/overhead field of the given VM.

func (VMClass) GetMemoryOverheadMock

func (_class VMClass) GetMemoryOverheadMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMemoryStaticMax

func (_class VMClass) GetMemoryStaticMax(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/static_max field of the given VM.

func (VMClass) GetMemoryStaticMaxMock

func (_class VMClass) GetMemoryStaticMaxMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMemoryStaticMin

func (_class VMClass) GetMemoryStaticMin(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/static_min field of the given VM.

func (VMClass) GetMemoryStaticMinMock

func (_class VMClass) GetMemoryStaticMinMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMemoryTarget

func (_class VMClass) GetMemoryTarget(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the memory/target field of the given VM.

func (VMClass) GetMemoryTargetMock

func (_class VMClass) GetMemoryTargetMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetMetrics

func (_class VMClass) GetMetrics(sessionID SessionRef, self VMRef) (_retval VMMetricsRef, _err error)

Get the metrics field of the given VM.

func (VMClass) GetMetricsMock

func (_class VMClass) GetMetricsMock(sessionID SessionRef, self VMRef) (_retval VMMetricsRef, _err error)

func (VMClass) GetNameDescription

func (_class VMClass) GetNameDescription(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the name/description field of the given VM.

func (VMClass) GetNameDescriptionMock

func (_class VMClass) GetNameDescriptionMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetNameLabel

func (_class VMClass) GetNameLabel(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the name/label field of the given VM.

func (VMClass) GetNameLabelMock

func (_class VMClass) GetNameLabelMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetOrder

func (_class VMClass) GetOrder(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the order field of the given VM.

func (VMClass) GetOrderMock

func (_class VMClass) GetOrderMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetOtherConfig

func (_class VMClass) GetOtherConfig(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the other_config field of the given VM.

func (VMClass) GetOtherConfigMock

func (_class VMClass) GetOtherConfigMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetPCIBus

func (_class VMClass) GetPCIBus(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PCI_bus field of the given VM.

func (VMClass) GetPCIBusMock

func (_class VMClass) GetPCIBusMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVArgs

func (_class VMClass) GetPVArgs(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/args field of the given VM.

func (VMClass) GetPVArgsMock

func (_class VMClass) GetPVArgsMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVBootloader

func (_class VMClass) GetPVBootloader(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/bootloader field of the given VM.

func (VMClass) GetPVBootloaderArgs

func (_class VMClass) GetPVBootloaderArgs(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/bootloader_args field of the given VM.

func (VMClass) GetPVBootloaderArgsMock

func (_class VMClass) GetPVBootloaderArgsMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVBootloaderMock

func (_class VMClass) GetPVBootloaderMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVKernel

func (_class VMClass) GetPVKernel(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/kernel field of the given VM.

func (VMClass) GetPVKernelMock

func (_class VMClass) GetPVKernelMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVLegacyArgs

func (_class VMClass) GetPVLegacyArgs(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/legacy_args field of the given VM.

func (VMClass) GetPVLegacyArgsMock

func (_class VMClass) GetPVLegacyArgsMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetPVRamdisk

func (_class VMClass) GetPVRamdisk(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the PV/ramdisk field of the given VM.

func (VMClass) GetPVRamdiskMock

func (_class VMClass) GetPVRamdiskMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetParent

func (_class VMClass) GetParent(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

Get the parent field of the given VM.

func (VMClass) GetParentMock

func (_class VMClass) GetParentMock(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

func (VMClass) GetPlatform

func (_class VMClass) GetPlatform(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the platform field of the given VM.

func (VMClass) GetPlatformMock

func (_class VMClass) GetPlatformMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetPossibleHosts

func (_class VMClass) GetPossibleHosts(sessionID SessionRef, vm VMRef) (_retval []HostRef, _err error)

Return the list of hosts on which this VM may run.

func (VMClass) GetPossibleHostsMock

func (_class VMClass) GetPossibleHostsMock(sessionID SessionRef, vm VMRef) (_retval []HostRef, _err error)

func (VMClass) GetPowerState

func (_class VMClass) GetPowerState(sessionID SessionRef, self VMRef) (_retval VMPowerState, _err error)

Get the power_state field of the given VM.

func (VMClass) GetPowerStateMock

func (_class VMClass) GetPowerStateMock(sessionID SessionRef, self VMRef) (_retval VMPowerState, _err error)

func (VMClass) GetProtectionPolicy

func (_class VMClass) GetProtectionPolicy(sessionID SessionRef, self VMRef) (_retval VMPPRef, _err error)

Get the protection_policy field of the given VM.

func (VMClass) GetProtectionPolicyMock

func (_class VMClass) GetProtectionPolicyMock(sessionID SessionRef, self VMRef) (_retval VMPPRef, _err error)

func (VMClass) GetRecommendations

func (_class VMClass) GetRecommendations(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the recommendations field of the given VM.

func (VMClass) GetRecommendationsMock

func (_class VMClass) GetRecommendationsMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetRecord

func (_class VMClass) GetRecord(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

Get a record containing the current state of the given VM.

func (VMClass) GetRecordMock

func (_class VMClass) GetRecordMock(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

func (VMClass) GetReferenceLabel

func (_class VMClass) GetReferenceLabel(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the reference_label field of the given VM.

func (VMClass) GetReferenceLabelMock

func (_class VMClass) GetReferenceLabelMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetRequiresReboot

func (_class VMClass) GetRequiresReboot(sessionID SessionRef, self VMRef) (_retval bool, _err error)

Get the requires_reboot field of the given VM.

func (VMClass) GetRequiresRebootMock

func (_class VMClass) GetRequiresRebootMock(sessionID SessionRef, self VMRef) (_retval bool, _err error)

func (VMClass) GetResidentOn

func (_class VMClass) GetResidentOn(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

Get the resident_on field of the given VM.

func (VMClass) GetResidentOnMock

func (_class VMClass) GetResidentOnMock(sessionID SessionRef, self VMRef) (_retval HostRef, _err error)

func (VMClass) GetSRsRequiredForRecovery

func (_class VMClass) GetSRsRequiredForRecovery(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_retval []SRRef, _err error)

List all the SR's that are required for the VM to be recovered

func (VMClass) GetSRsRequiredForRecoveryMock

func (_class VMClass) GetSRsRequiredForRecoveryMock(sessionID SessionRef, self VMRef, sessionTo SessionRef) (_retval []SRRef, _err error)

func (VMClass) GetShutdownDelay

func (_class VMClass) GetShutdownDelay(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the shutdown_delay field of the given VM.

func (VMClass) GetShutdownDelayMock

func (_class VMClass) GetShutdownDelayMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetSnapshotInfo

func (_class VMClass) GetSnapshotInfo(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the snapshot_info field of the given VM.

func (VMClass) GetSnapshotInfoMock

func (_class VMClass) GetSnapshotInfoMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetSnapshotMetadata

func (_class VMClass) GetSnapshotMetadata(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the snapshot_metadata field of the given VM.

func (VMClass) GetSnapshotMetadataMock

func (_class VMClass) GetSnapshotMetadataMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetSnapshotOf

func (_class VMClass) GetSnapshotOf(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

Get the snapshot_of field of the given VM.

func (VMClass) GetSnapshotOfMock

func (_class VMClass) GetSnapshotOfMock(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

func (VMClass) GetSnapshotSchedule

func (_class VMClass) GetSnapshotSchedule(sessionID SessionRef, self VMRef) (_retval VMSSRef, _err error)

Get the snapshot_schedule field of the given VM.

func (VMClass) GetSnapshotScheduleMock

func (_class VMClass) GetSnapshotScheduleMock(sessionID SessionRef, self VMRef) (_retval VMSSRef, _err error)

func (VMClass) GetSnapshotTime

func (_class VMClass) GetSnapshotTime(sessionID SessionRef, self VMRef) (_retval time.Time, _err error)

Get the snapshot_time field of the given VM.

func (VMClass) GetSnapshotTimeMock

func (_class VMClass) GetSnapshotTimeMock(sessionID SessionRef, self VMRef) (_retval time.Time, _err error)

func (VMClass) GetSnapshots

func (_class VMClass) GetSnapshots(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

Get the snapshots field of the given VM.

func (VMClass) GetSnapshotsMock

func (_class VMClass) GetSnapshotsMock(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

func (VMClass) GetStartDelay

func (_class VMClass) GetStartDelay(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the start_delay field of the given VM.

func (VMClass) GetStartDelayMock

func (_class VMClass) GetStartDelayMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetSuspendSR

func (_class VMClass) GetSuspendSR(sessionID SessionRef, self VMRef) (_retval SRRef, _err error)

Get the suspend_SR field of the given VM.

func (VMClass) GetSuspendSRMock

func (_class VMClass) GetSuspendSRMock(sessionID SessionRef, self VMRef) (_retval SRRef, _err error)

func (VMClass) GetSuspendVDI

func (_class VMClass) GetSuspendVDI(sessionID SessionRef, self VMRef) (_retval VDIRef, _err error)

Get the suspend_VDI field of the given VM.

func (VMClass) GetSuspendVDIMock

func (_class VMClass) GetSuspendVDIMock(sessionID SessionRef, self VMRef) (_retval VDIRef, _err error)

func (VMClass) GetTags

func (_class VMClass) GetTags(sessionID SessionRef, self VMRef) (_retval []string, _err error)

Get the tags field of the given VM.

func (VMClass) GetTagsMock

func (_class VMClass) GetTagsMock(sessionID SessionRef, self VMRef) (_retval []string, _err error)

func (VMClass) GetTransportableSnapshotID

func (_class VMClass) GetTransportableSnapshotID(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the transportable_snapshot_id field of the given VM.

func (VMClass) GetTransportableSnapshotIDMock

func (_class VMClass) GetTransportableSnapshotIDMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetUUID

func (_class VMClass) GetUUID(sessionID SessionRef, self VMRef) (_retval string, _err error)

Get the uuid field of the given VM.

func (VMClass) GetUUIDMock

func (_class VMClass) GetUUIDMock(sessionID SessionRef, self VMRef) (_retval string, _err error)

func (VMClass) GetUserVersion

func (_class VMClass) GetUserVersion(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the user_version field of the given VM.

func (VMClass) GetUserVersionMock

func (_class VMClass) GetUserVersionMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetVBDs

func (_class VMClass) GetVBDs(sessionID SessionRef, self VMRef) (_retval []VBDRef, _err error)

Get the VBDs field of the given VM.

func (VMClass) GetVBDsMock

func (_class VMClass) GetVBDsMock(sessionID SessionRef, self VMRef) (_retval []VBDRef, _err error)

func (VMClass) GetVCPUsAtStartup

func (_class VMClass) GetVCPUsAtStartup(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the VCPUs/at_startup field of the given VM.

func (VMClass) GetVCPUsAtStartupMock

func (_class VMClass) GetVCPUsAtStartupMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetVCPUsMax

func (_class VMClass) GetVCPUsMax(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the VCPUs/max field of the given VM.

func (VMClass) GetVCPUsMaxMock

func (_class VMClass) GetVCPUsMaxMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetVCPUsParams

func (_class VMClass) GetVCPUsParams(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the VCPUs/params field of the given VM.

func (VMClass) GetVCPUsParamsMock

func (_class VMClass) GetVCPUsParamsMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) GetVGPUs

func (_class VMClass) GetVGPUs(sessionID SessionRef, self VMRef) (_retval []VGPURef, _err error)

Get the VGPUs field of the given VM.

func (VMClass) GetVGPUsMock

func (_class VMClass) GetVGPUsMock(sessionID SessionRef, self VMRef) (_retval []VGPURef, _err error)

func (VMClass) GetVIFs

func (_class VMClass) GetVIFs(sessionID SessionRef, self VMRef) (_retval []VIFRef, _err error)

Get the VIFs field of the given VM.

func (VMClass) GetVIFsMock

func (_class VMClass) GetVIFsMock(sessionID SessionRef, self VMRef) (_retval []VIFRef, _err error)

func (VMClass) GetVTPMs

func (_class VMClass) GetVTPMs(sessionID SessionRef, self VMRef) (_retval []VTPMRef, _err error)

Get the VTPMs field of the given VM.

func (VMClass) GetVTPMsMock

func (_class VMClass) GetVTPMsMock(sessionID SessionRef, self VMRef) (_retval []VTPMRef, _err error)

func (VMClass) GetVUSBs

func (_class VMClass) GetVUSBs(sessionID SessionRef, self VMRef) (_retval []VUSBRef, _err error)

Get the VUSBs field of the given VM.

func (VMClass) GetVUSBsMock

func (_class VMClass) GetVUSBsMock(sessionID SessionRef, self VMRef) (_retval []VUSBRef, _err error)

func (VMClass) GetVersion

func (_class VMClass) GetVersion(sessionID SessionRef, self VMRef) (_retval int, _err error)

Get the version field of the given VM.

func (VMClass) GetVersionMock

func (_class VMClass) GetVersionMock(sessionID SessionRef, self VMRef) (_retval int, _err error)

func (VMClass) GetXenstoreData

func (_class VMClass) GetXenstoreData(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Get the xenstore_data field of the given VM.

func (VMClass) GetXenstoreDataMock

func (_class VMClass) GetXenstoreDataMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) HardReboot

func (_class VMClass) HardReboot(sessionID SessionRef, vm VMRef) (_err error)

Stop executing the specified VM without attempting a clean shutdown and immediately restart the VM.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) HardRebootMock

func (_class VMClass) HardRebootMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) HardShutdown

func (_class VMClass) HardShutdown(sessionID SessionRef, vm VMRef) (_err error)

Stop executing the specified VM without attempting a clean shutdown.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) HardShutdownMock

func (_class VMClass) HardShutdownMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) Import

func (_class VMClass) Import(sessionID SessionRef, url string, sr SRRef, fullRestore bool, force bool) (_retval []VMRef, _err error)

Import an XVA from a URI

func (VMClass) ImportConvert

func (_class VMClass) ImportConvert(sessionID SessionRef, atype string, username string, password string, sr SRRef, remoteConfig map[string]string) (_err error)

Import using a conversion service.

func (VMClass) ImportConvertMock

func (_class VMClass) ImportConvertMock(sessionID SessionRef, atype string, username string, password string, sr SRRef, remoteConfig map[string]string) (_err error)

func (VMClass) ImportMock

func (_class VMClass) ImportMock(sessionID SessionRef, url string, sr SRRef, fullRestore bool, force bool) (_retval []VMRef, _err error)

func (VMClass) MaximiseMemory

func (_class VMClass) MaximiseMemory(sessionID SessionRef, self VMRef, total int, approximate bool) (_retval int, _err error)

Returns the maximum amount of guest memory which will fit, together with overheads, in the supplied amount of physical memory. If 'exact' is true then an exact calculation is performed using the VM's current settings. If 'exact' is false then a more conservative approximation is used

func (VMClass) MaximiseMemoryMock

func (_class VMClass) MaximiseMemoryMock(sessionID SessionRef, self VMRef, total int, approximate bool) (_retval int, _err error)

func (VMClass) MigrateSend

func (_class VMClass) MigrateSend(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_retval VMRef, _err error)

Migrate the VM to another host. This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) MigrateSendMock

func (_class VMClass) MigrateSendMock(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_retval VMRef, _err error)

func (VMClass) Pause

func (_class VMClass) Pause(sessionID SessionRef, vm VMRef) (_err error)

Pause the specified VM. This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) PauseMock

func (_class VMClass) PauseMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) PoolMigrate

func (_class VMClass) PoolMigrate(sessionID SessionRef, vm VMRef, host HostRef, options map[string]string) (_err error)

Migrate a VM to another Host.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_MIGRATE_FAILED - An error occurred during the migration process.

func (VMClass) PoolMigrateMock

func (_class VMClass) PoolMigrateMock(sessionID SessionRef, vm VMRef, host HostRef, options map[string]string) (_err error)

func (VMClass) PowerStateReset

func (_class VMClass) PowerStateReset(sessionID SessionRef, vm VMRef) (_err error)

Reset the power-state of the VM to halted in the database only. (Used to recover from slave failures in pooling scenarios by resetting the power-states of VMs running on dead slaves to halted.) This is a potentially dangerous operation; use with care.

func (VMClass) PowerStateResetMock

func (_class VMClass) PowerStateResetMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) Provision

func (_class VMClass) Provision(sessionID SessionRef, vm VMRef) (_err error)

Inspects the disk configuration contained within the VM's other_config, creates VDIs and VBDs and then executes any applicable post-install script.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) ProvisionMock

func (_class VMClass) ProvisionMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) QueryDataSource

func (_class VMClass) QueryDataSource(sessionID SessionRef, self VMRef, dataSource string) (_retval float64, _err error)

Query the latest value of the specified data source

func (VMClass) QueryDataSourceMock

func (_class VMClass) QueryDataSourceMock(sessionID SessionRef, self VMRef, dataSource string) (_retval float64, _err error)

func (VMClass) QueryServices

func (_class VMClass) QueryServices(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

Query the system services advertised by this VM and register them. This can only be applied to a system domain.

func (VMClass) QueryServicesMock

func (_class VMClass) QueryServicesMock(sessionID SessionRef, self VMRef) (_retval map[string]string, _err error)

func (VMClass) RecordDataSource

func (_class VMClass) RecordDataSource(sessionID SessionRef, self VMRef, dataSource string) (_err error)

Start recording the specified data source

func (VMClass) RecordDataSourceMock

func (_class VMClass) RecordDataSourceMock(sessionID SessionRef, self VMRef, dataSource string) (_err error)

func (VMClass) Recover

func (_class VMClass) Recover(sessionID SessionRef, self VMRef, sessionTo SessionRef, force bool) (_err error)

Recover the VM

func (VMClass) RecoverMock

func (_class VMClass) RecoverMock(sessionID SessionRef, self VMRef, sessionTo SessionRef, force bool) (_err error)

func (VMClass) RemoveFromBlockedOperations

func (_class VMClass) RemoveFromBlockedOperations(sessionID SessionRef, self VMRef, key VMOperations) (_err error)

Remove the given key and its corresponding value from the blocked_operations field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromBlockedOperationsMock

func (_class VMClass) RemoveFromBlockedOperationsMock(sessionID SessionRef, self VMRef, key VMOperations) (_err error)

func (VMClass) RemoveFromHVMBootParams

func (_class VMClass) RemoveFromHVMBootParams(sessionID SessionRef, self VMRef, key string) (_err error)

Remove the given key and its corresponding value from the HVM/boot_params field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromHVMBootParamsMock

func (_class VMClass) RemoveFromHVMBootParamsMock(sessionID SessionRef, self VMRef, key string) (_err error)

func (VMClass) RemoveFromOtherConfig

func (_class VMClass) RemoveFromOtherConfig(sessionID SessionRef, self VMRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromOtherConfigMock

func (_class VMClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VMRef, key string) (_err error)

func (VMClass) RemoveFromPlatform

func (_class VMClass) RemoveFromPlatform(sessionID SessionRef, self VMRef, key string) (_err error)

Remove the given key and its corresponding value from the platform field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromPlatformMock

func (_class VMClass) RemoveFromPlatformMock(sessionID SessionRef, self VMRef, key string) (_err error)

func (VMClass) RemoveFromVCPUsParams

func (_class VMClass) RemoveFromVCPUsParams(sessionID SessionRef, self VMRef, key string) (_err error)

Remove the given key and its corresponding value from the VCPUs/params field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromVCPUsParamsMock

func (_class VMClass) RemoveFromVCPUsParamsMock(sessionID SessionRef, self VMRef, key string) (_err error)

func (VMClass) RemoveFromXenstoreData

func (_class VMClass) RemoveFromXenstoreData(sessionID SessionRef, self VMRef, key string) (_err error)

Remove the given key and its corresponding value from the xenstore_data field of the given VM. If the key is not in that Map, then do nothing.

func (VMClass) RemoveFromXenstoreDataMock

func (_class VMClass) RemoveFromXenstoreDataMock(sessionID SessionRef, self VMRef, key string) (_err error)

func (VMClass) RemoveTags

func (_class VMClass) RemoveTags(sessionID SessionRef, self VMRef, value string) (_err error)

Remove the given value from the tags field of the given VM. If the value is not in that Set, then do nothing.

func (VMClass) RemoveTagsMock

func (_class VMClass) RemoveTagsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) Resume

func (_class VMClass) Resume(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

Awaken the specified VM and resume it. This can only be called when the specified VM is in the Suspended state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) ResumeMock

func (_class VMClass) ResumeMock(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

func (VMClass) ResumeOn

func (_class VMClass) ResumeOn(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

Awaken the specified VM and resume it on a particular Host. This can only be called when the specified VM is in the Suspended state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) ResumeOnMock

func (_class VMClass) ResumeOnMock(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

func (VMClass) RetrieveWlbRecommendations

func (_class VMClass) RetrieveWlbRecommendations(sessionID SessionRef, vm VMRef) (_retval map[HostRef][]string, _err error)

Returns mapping of hosts to ratings, indicating the suitability of starting the VM at that location according to wlb. Rating is replaced with an error if the VM cannot boot there.

func (VMClass) RetrieveWlbRecommendationsMock

func (_class VMClass) RetrieveWlbRecommendationsMock(sessionID SessionRef, vm VMRef) (_retval map[HostRef][]string, _err error)

func (VMClass) Revert

func (_class VMClass) Revert(sessionID SessionRef, snapshot VMRef) (_err error)

Reverts the specified VM to a previous state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
VM_REVERT_FAILED - An error occured while reverting the specified virtual machine to the specified snapshot

func (VMClass) RevertMock

func (_class VMClass) RevertMock(sessionID SessionRef, snapshot VMRef) (_err error)

func (VMClass) SendSysrq

func (_class VMClass) SendSysrq(sessionID SessionRef, vm VMRef, key string) (_err error)

Send the given key as a sysrq to this VM. The key is specified as a single character (a String of length 1). This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.

func (VMClass) SendSysrqMock

func (_class VMClass) SendSysrqMock(sessionID SessionRef, vm VMRef, key string) (_err error)

func (VMClass) SendTrigger

func (_class VMClass) SendTrigger(sessionID SessionRef, vm VMRef, trigger string) (_err error)

Send the named trigger to this VM. This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.

func (VMClass) SendTriggerMock

func (_class VMClass) SendTriggerMock(sessionID SessionRef, vm VMRef, trigger string) (_err error)

func (VMClass) SetActionsAfterCrash

func (_class VMClass) SetActionsAfterCrash(sessionID SessionRef, self VMRef, value OnCrashBehaviour) (_err error)

Sets the actions_after_crash parameter

func (VMClass) SetActionsAfterCrashMock

func (_class VMClass) SetActionsAfterCrashMock(sessionID SessionRef, self VMRef, value OnCrashBehaviour) (_err error)

func (VMClass) SetActionsAfterReboot

func (_class VMClass) SetActionsAfterReboot(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

Set the actions/after_reboot field of the given VM.

func (VMClass) SetActionsAfterRebootMock

func (_class VMClass) SetActionsAfterRebootMock(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

func (VMClass) SetActionsAfterShutdown

func (_class VMClass) SetActionsAfterShutdown(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

Set the actions/after_shutdown field of the given VM.

func (VMClass) SetActionsAfterShutdownMock

func (_class VMClass) SetActionsAfterShutdownMock(sessionID SessionRef, self VMRef, value OnNormalExit) (_err error)

func (VMClass) SetAffinity

func (_class VMClass) SetAffinity(sessionID SessionRef, self VMRef, value HostRef) (_err error)

Set the affinity field of the given VM.

func (VMClass) SetAffinityMock

func (_class VMClass) SetAffinityMock(sessionID SessionRef, self VMRef, value HostRef) (_err error)

func (VMClass) SetAppliance

func (_class VMClass) SetAppliance(sessionID SessionRef, self VMRef, value VMApplianceRef) (_err error)

Assign this VM to an appliance.

func (VMClass) SetApplianceMock

func (_class VMClass) SetApplianceMock(sessionID SessionRef, self VMRef, value VMApplianceRef) (_err error)

func (VMClass) SetBiosStrings

func (_class VMClass) SetBiosStrings(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set custom BIOS strings to this VM. VM will be given a default set of BIOS strings, only some of which can be overridden by the supplied values. Allowed keys are: 'bios-vendor', 'bios-version', 'system-manufacturer', 'system-product-name', 'system-version', 'system-serial-number', 'enclosure-asset-tag'

Errors:

VM_BIOS_STRINGS_ALREADY_SET - The BIOS strings for this VM have already been set and cannot be changed.
INVALID_VALUE - The value given is invalid

func (VMClass) SetBiosStringsMock

func (_class VMClass) SetBiosStringsMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) SetBlockedOperations

func (_class VMClass) SetBlockedOperations(sessionID SessionRef, self VMRef, value map[VMOperations]string) (_err error)

Set the blocked_operations field of the given VM.

func (VMClass) SetBlockedOperationsMock

func (_class VMClass) SetBlockedOperationsMock(sessionID SessionRef, self VMRef, value map[VMOperations]string) (_err error)

func (VMClass) SetHVMBootParams

func (_class VMClass) SetHVMBootParams(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set the HVM/boot_params field of the given VM.

func (VMClass) SetHVMBootParamsMock

func (_class VMClass) SetHVMBootParamsMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) SetHVMBootPolicy

func (_class VMClass) SetHVMBootPolicy(sessionID SessionRef, self VMRef, value string) (_err error)

Set the HVM/boot_policy field of the given VM.

func (VMClass) SetHVMBootPolicyMock

func (_class VMClass) SetHVMBootPolicyMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetHVMShadowMultiplier

func (_class VMClass) SetHVMShadowMultiplier(sessionID SessionRef, self VMRef, value float64) (_err error)

Set the shadow memory multiplier on a halted VM

func (VMClass) SetHVMShadowMultiplierMock

func (_class VMClass) SetHVMShadowMultiplierMock(sessionID SessionRef, self VMRef, value float64) (_err error)

func (VMClass) SetHaAlwaysRun

func (_class VMClass) SetHaAlwaysRun(sessionID SessionRef, self VMRef, value bool) (_err error)

Set the value of the ha_always_run

func (VMClass) SetHaAlwaysRunMock

func (_class VMClass) SetHaAlwaysRunMock(sessionID SessionRef, self VMRef, value bool) (_err error)

func (VMClass) SetHaRestartPriority

func (_class VMClass) SetHaRestartPriority(sessionID SessionRef, self VMRef, value string) (_err error)

Set the value of the ha_restart_priority field

func (VMClass) SetHaRestartPriorityMock

func (_class VMClass) SetHaRestartPriorityMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetHardwarePlatformVersion

func (_class VMClass) SetHardwarePlatformVersion(sessionID SessionRef, self VMRef, value int) (_err error)

Set the hardware_platform_version field of the given VM.

func (VMClass) SetHardwarePlatformVersionMock

func (_class VMClass) SetHardwarePlatformVersionMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetHasVendorDevice

func (_class VMClass) SetHasVendorDevice(sessionID SessionRef, self VMRef, value bool) (_err error)

Controls whether, when the VM starts in HVM mode, its virtual hardware will include the emulated PCI device for which drivers may be available through Windows Update. Usually this should never be changed on a VM on which Windows has been installed: changing it on such a VM is likely to lead to a crash on next start.

func (VMClass) SetHasVendorDeviceMock

func (_class VMClass) SetHasVendorDeviceMock(sessionID SessionRef, self VMRef, value bool) (_err error)

func (VMClass) SetIsATemplate

func (_class VMClass) SetIsATemplate(sessionID SessionRef, self VMRef, value bool) (_err error)

Set the is_a_template field of the given VM.

func (VMClass) SetIsATemplateMock

func (_class VMClass) SetIsATemplateMock(sessionID SessionRef, self VMRef, value bool) (_err error)

func (VMClass) SetMemory

func (_class VMClass) SetMemory(sessionID SessionRef, self VMRef, value int) (_err error)

Set the memory allocation of this VM. Sets all of memory_static_max, memory_dynamic_min, and memory_dynamic_max to the given value, and leaves memory_static_min untouched.

func (VMClass) SetMemoryDynamicMax

func (_class VMClass) SetMemoryDynamicMax(sessionID SessionRef, self VMRef, value int) (_err error)

Set the value of the memory_dynamic_max field

func (VMClass) SetMemoryDynamicMaxMock

func (_class VMClass) SetMemoryDynamicMaxMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetMemoryDynamicMin

func (_class VMClass) SetMemoryDynamicMin(sessionID SessionRef, self VMRef, value int) (_err error)

Set the value of the memory_dynamic_min field

func (VMClass) SetMemoryDynamicMinMock

func (_class VMClass) SetMemoryDynamicMinMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetMemoryDynamicRange

func (_class VMClass) SetMemoryDynamicRange(sessionID SessionRef, self VMRef, min int, max int) (_err error)

Set the minimum and maximum amounts of physical memory the VM is allowed to use.

func (VMClass) SetMemoryDynamicRangeMock

func (_class VMClass) SetMemoryDynamicRangeMock(sessionID SessionRef, self VMRef, min int, max int) (_err error)

func (VMClass) SetMemoryLimits

func (_class VMClass) SetMemoryLimits(sessionID SessionRef, self VMRef, staticMin int, staticMax int, dynamicMin int, dynamicMax int) (_err error)

Set the memory limits of this VM.

func (VMClass) SetMemoryLimitsMock

func (_class VMClass) SetMemoryLimitsMock(sessionID SessionRef, self VMRef, staticMin int, staticMax int, dynamicMin int, dynamicMax int) (_err error)

func (VMClass) SetMemoryMock

func (_class VMClass) SetMemoryMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetMemoryStaticMax

func (_class VMClass) SetMemoryStaticMax(sessionID SessionRef, self VMRef, value int) (_err error)

Set the value of the memory_static_max field

Errors:

HA_OPERATION_WOULD_BREAK_FAILOVER_PLAN - This operation cannot be performed because it would invalidate VM failover planning such that the system would be unable to guarantee to restart protected VMs after a Host failure.

func (VMClass) SetMemoryStaticMaxMock

func (_class VMClass) SetMemoryStaticMaxMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetMemoryStaticMin

func (_class VMClass) SetMemoryStaticMin(sessionID SessionRef, self VMRef, value int) (_err error)

Set the value of the memory_static_min field

func (VMClass) SetMemoryStaticMinMock

func (_class VMClass) SetMemoryStaticMinMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetMemoryStaticRange

func (_class VMClass) SetMemoryStaticRange(sessionID SessionRef, self VMRef, min int, max int) (_err error)

Set the static (ie boot-time) range of virtual memory that the VM is allowed to use.

func (VMClass) SetMemoryStaticRangeMock

func (_class VMClass) SetMemoryStaticRangeMock(sessionID SessionRef, self VMRef, min int, max int) (_err error)

func (VMClass) SetMemoryTargetLive

func (_class VMClass) SetMemoryTargetLive(sessionID SessionRef, self VMRef, target int) (_err error)

Set the memory target for a running VM

func (VMClass) SetMemoryTargetLiveMock

func (_class VMClass) SetMemoryTargetLiveMock(sessionID SessionRef, self VMRef, target int) (_err error)

func (VMClass) SetNameDescription

func (_class VMClass) SetNameDescription(sessionID SessionRef, self VMRef, value string) (_err error)

Set the name/description field of the given VM.

func (VMClass) SetNameDescriptionMock

func (_class VMClass) SetNameDescriptionMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetNameLabel

func (_class VMClass) SetNameLabel(sessionID SessionRef, self VMRef, value string) (_err error)

Set the name/label field of the given VM.

func (VMClass) SetNameLabelMock

func (_class VMClass) SetNameLabelMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetOrder

func (_class VMClass) SetOrder(sessionID SessionRef, self VMRef, value int) (_err error)

Set this VM's boot order

func (VMClass) SetOrderMock

func (_class VMClass) SetOrderMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetOtherConfig

func (_class VMClass) SetOtherConfig(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set the other_config field of the given VM.

func (VMClass) SetOtherConfigMock

func (_class VMClass) SetOtherConfigMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) SetPCIBus

func (_class VMClass) SetPCIBus(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PCI_bus field of the given VM.

func (VMClass) SetPCIBusMock

func (_class VMClass) SetPCIBusMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVArgs

func (_class VMClass) SetPVArgs(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/args field of the given VM.

func (VMClass) SetPVArgsMock

func (_class VMClass) SetPVArgsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVBootloader

func (_class VMClass) SetPVBootloader(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/bootloader field of the given VM.

func (VMClass) SetPVBootloaderArgs

func (_class VMClass) SetPVBootloaderArgs(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/bootloader_args field of the given VM.

func (VMClass) SetPVBootloaderArgsMock

func (_class VMClass) SetPVBootloaderArgsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVBootloaderMock

func (_class VMClass) SetPVBootloaderMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVKernel

func (_class VMClass) SetPVKernel(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/kernel field of the given VM.

func (VMClass) SetPVKernelMock

func (_class VMClass) SetPVKernelMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVLegacyArgs

func (_class VMClass) SetPVLegacyArgs(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/legacy_args field of the given VM.

func (VMClass) SetPVLegacyArgsMock

func (_class VMClass) SetPVLegacyArgsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPVRamdisk

func (_class VMClass) SetPVRamdisk(sessionID SessionRef, self VMRef, value string) (_err error)

Set the PV/ramdisk field of the given VM.

func (VMClass) SetPVRamdiskMock

func (_class VMClass) SetPVRamdiskMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetPlatform

func (_class VMClass) SetPlatform(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set the platform field of the given VM.

func (VMClass) SetPlatformMock

func (_class VMClass) SetPlatformMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) SetProtectionPolicy

func (_class VMClass) SetProtectionPolicy(sessionID SessionRef, self VMRef, value VMPPRef) (_err error)

Set the value of the protection_policy field

func (VMClass) SetProtectionPolicyMock

func (_class VMClass) SetProtectionPolicyMock(sessionID SessionRef, self VMRef, value VMPPRef) (_err error)

func (VMClass) SetRecommendations

func (_class VMClass) SetRecommendations(sessionID SessionRef, self VMRef, value string) (_err error)

Set the recommendations field of the given VM.

func (VMClass) SetRecommendationsMock

func (_class VMClass) SetRecommendationsMock(sessionID SessionRef, self VMRef, value string) (_err error)

func (VMClass) SetShadowMultiplierLive

func (_class VMClass) SetShadowMultiplierLive(sessionID SessionRef, self VMRef, multiplier float64) (_err error)

Set the shadow memory multiplier on a running VM

func (VMClass) SetShadowMultiplierLiveMock

func (_class VMClass) SetShadowMultiplierLiveMock(sessionID SessionRef, self VMRef, multiplier float64) (_err error)

func (VMClass) SetShutdownDelay

func (_class VMClass) SetShutdownDelay(sessionID SessionRef, self VMRef, value int) (_err error)

Set this VM's shutdown delay in seconds

func (VMClass) SetShutdownDelayMock

func (_class VMClass) SetShutdownDelayMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetSnapshotSchedule

func (_class VMClass) SetSnapshotSchedule(sessionID SessionRef, self VMRef, value VMSSRef) (_err error)

Set the value of the snapshot schedule field

func (VMClass) SetSnapshotScheduleMock

func (_class VMClass) SetSnapshotScheduleMock(sessionID SessionRef, self VMRef, value VMSSRef) (_err error)

func (VMClass) SetStartDelay

func (_class VMClass) SetStartDelay(sessionID SessionRef, self VMRef, value int) (_err error)

Set this VM's start delay in seconds

func (VMClass) SetStartDelayMock

func (_class VMClass) SetStartDelayMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetSuspendSR

func (_class VMClass) SetSuspendSR(sessionID SessionRef, self VMRef, value SRRef) (_err error)

Set the suspend_SR field of the given VM.

func (VMClass) SetSuspendSRMock

func (_class VMClass) SetSuspendSRMock(sessionID SessionRef, self VMRef, value SRRef) (_err error)

func (VMClass) SetSuspendVDI

func (_class VMClass) SetSuspendVDI(sessionID SessionRef, self VMRef, value VDIRef) (_err error)

Set this VM's suspend VDI, which must be indentical to its current one

func (VMClass) SetSuspendVDIMock

func (_class VMClass) SetSuspendVDIMock(sessionID SessionRef, self VMRef, value VDIRef) (_err error)

func (VMClass) SetTags

func (_class VMClass) SetTags(sessionID SessionRef, self VMRef, value []string) (_err error)

Set the tags field of the given VM.

func (VMClass) SetTagsMock

func (_class VMClass) SetTagsMock(sessionID SessionRef, self VMRef, value []string) (_err error)

func (VMClass) SetUserVersion

func (_class VMClass) SetUserVersion(sessionID SessionRef, self VMRef, value int) (_err error)

Set the user_version field of the given VM.

func (VMClass) SetUserVersionMock

func (_class VMClass) SetUserVersionMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetVCPUsAtStartup

func (_class VMClass) SetVCPUsAtStartup(sessionID SessionRef, self VMRef, value int) (_err error)

Set the number of startup VCPUs for a halted VM

func (VMClass) SetVCPUsAtStartupMock

func (_class VMClass) SetVCPUsAtStartupMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetVCPUsMax

func (_class VMClass) SetVCPUsMax(sessionID SessionRef, self VMRef, value int) (_err error)

Set the maximum number of VCPUs for a halted VM

func (VMClass) SetVCPUsMaxMock

func (_class VMClass) SetVCPUsMaxMock(sessionID SessionRef, self VMRef, value int) (_err error)

func (VMClass) SetVCPUsNumberLive

func (_class VMClass) SetVCPUsNumberLive(sessionID SessionRef, self VMRef, nvcpu int) (_err error)

Set the number of VCPUs for a running VM

Errors:

OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) SetVCPUsNumberLiveMock

func (_class VMClass) SetVCPUsNumberLiveMock(sessionID SessionRef, self VMRef, nvcpu int) (_err error)

func (VMClass) SetVCPUsParams

func (_class VMClass) SetVCPUsParams(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set the VCPUs/params field of the given VM.

func (VMClass) SetVCPUsParamsMock

func (_class VMClass) SetVCPUsParamsMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) SetXenstoreData

func (_class VMClass) SetXenstoreData(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

Set the xenstore_data field of the given VM.

func (VMClass) SetXenstoreDataMock

func (_class VMClass) SetXenstoreDataMock(sessionID SessionRef, self VMRef, value map[string]string) (_err error)

func (VMClass) Shutdown

func (_class VMClass) Shutdown(sessionID SessionRef, vm VMRef) (_err error)

Attempts to first clean shutdown a VM and if it should fail then perform a hard shutdown on it.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) ShutdownMock

func (_class VMClass) ShutdownMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) Snapshot

func (_class VMClass) Snapshot(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

Snapshots the specified VM, making a new VM. Snapshot automatically exploits the capabilities of the underlying storage repository in which the VM's disk images are stored (e.g. Copy on Write).

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.

func (VMClass) SnapshotMock

func (_class VMClass) SnapshotMock(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func (VMClass) SnapshotWithQuiesce

func (_class VMClass) SnapshotWithQuiesce(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

Snapshots the specified VM with quiesce, making a new VM. Snapshot automatically exploits the capabilities of the underlying storage repository in which the VM's disk images are stored (e.g. Copy on Write).

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
SR_FULL - The SR is full. Requested new size exceeds the maximum size
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_SNAPSHOT_WITH_QUIESCE_FAILED - The quiesced-snapshot operation failed for an unexpected reason
VM_SNAPSHOT_WITH_QUIESCE_TIMEOUT - The VSS plug-in has timed out
VM_SNAPSHOT_WITH_QUIESCE_PLUGIN_DEOS_NOT_RESPOND - The VSS plug-in cannot be contacted
VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED - The VSS plug-in is not installed on this virtual machine

func (VMClass) SnapshotWithQuiesceMock

func (_class VMClass) SnapshotWithQuiesceMock(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func (VMClass) Start

func (_class VMClass) Start(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

Start the specified VM. This function can only be called with the VM is in the Halted State.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
VM_HVM_REQUIRED - HVM is required for this operation
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
BOOTLOADER_FAILED - The bootloader returned an error
UNKNOWN_BOOTLOADER - The requested bootloader is unknown
NO_HOSTS_AVAILABLE - There were no hosts available to complete the specified operation.
LICENCE_RESTRICTION - This operation is not allowed because your license lacks a needed feature.  Please contact your support representative.

func (VMClass) StartMock

func (_class VMClass) StartMock(sessionID SessionRef, vm VMRef, startPaused bool, force bool) (_err error)

func (VMClass) StartOn

func (_class VMClass) StartOn(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

Start the specified VM on a particular host. This function can only be called with the VM is in the Halted State.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
BOOTLOADER_FAILED - The bootloader returned an error
UNKNOWN_BOOTLOADER - The requested bootloader is unknown

func (VMClass) StartOnMock

func (_class VMClass) StartOnMock(sessionID SessionRef, vm VMRef, host HostRef, startPaused bool, force bool) (_err error)

func (VMClass) Suspend

func (_class VMClass) Suspend(sessionID SessionRef, vm VMRef) (_err error)

Suspend the specified VM to disk. This can only be called when the specified VM is in the Running state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OTHER_OPERATION_IN_PROGRESS - Another operation involving the object is currently in progress
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) SuspendMock

func (_class VMClass) SuspendMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) Unpause

func (_class VMClass) Unpause(sessionID SessionRef, vm VMRef) (_err error)

Resume the specified VM. This can only be called when the specified VM is in the Paused state.

Errors:

VM_BAD_POWER_STATE - You attempted an operation on a VM that was not in an appropriate power state at the time; for example, you attempted to start a VM that was already running.  The parameters returned are the VM's handle, and the expected and actual VM state at the time of the call.
OPERATION_NOT_ALLOWED - You attempted an operation that was not allowed.
VM_IS_TEMPLATE - The operation attempted is not valid for a template VM

func (VMClass) UnpauseMock

func (_class VMClass) UnpauseMock(sessionID SessionRef, vm VMRef) (_err error)

func (VMClass) UpdateAllowedOperations

func (_class VMClass) UpdateAllowedOperations(sessionID SessionRef, self VMRef) (_err error)

Recomputes the list of acceptable operations

func (VMClass) UpdateAllowedOperationsMock

func (_class VMClass) UpdateAllowedOperationsMock(sessionID SessionRef, self VMRef) (_err error)

func (VMClass) WaitMemoryTargetLive

func (_class VMClass) WaitMemoryTargetLive(sessionID SessionRef, self VMRef) (_err error)

Wait for a running VM to reach its current memory target

func (VMClass) WaitMemoryTargetLiveMock

func (_class VMClass) WaitMemoryTargetLiveMock(sessionID SessionRef, self VMRef) (_err error)

type VMGuestMetricsClass

type VMGuestMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics reported by the guest (as opposed to inferred from outside)

func (VMGuestMetricsClass) AddToOtherConfig

func (_class VMGuestMetricsClass) AddToOtherConfig(sessionID SessionRef, self VMGuestMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VM_guest_metrics.

func (VMGuestMetricsClass) AddToOtherConfigMock

func (_class VMGuestMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self VMGuestMetricsRef, key string, value string) (_err error)

func (VMGuestMetricsClass) GetAll

func (_class VMGuestMetricsClass) GetAll(sessionID SessionRef) (_retval []VMGuestMetricsRef, _err error)

Return a list of all the VM_guest_metrics instances known to the system.

func (VMGuestMetricsClass) GetAllMock

func (_class VMGuestMetricsClass) GetAllMock(sessionID SessionRef) (_retval []VMGuestMetricsRef, _err error)

func (VMGuestMetricsClass) GetAllRecords

func (_class VMGuestMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[VMGuestMetricsRef]VMGuestMetricsRecord, _err error)

Return a map of VM_guest_metrics references to VM_guest_metrics records for all VM_guest_metrics instances known to the system.

func (VMGuestMetricsClass) GetAllRecordsMock

func (_class VMGuestMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMGuestMetricsRef]VMGuestMetricsRecord, _err error)

func (VMGuestMetricsClass) GetByUUID

func (_class VMGuestMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMGuestMetricsRef, _err error)

Get a reference to the VM_guest_metrics instance with the specified UUID.

func (VMGuestMetricsClass) GetByUUIDMock

func (_class VMGuestMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMGuestMetricsRef, _err error)

func (VMGuestMetricsClass) GetCanUseHotplugVbd

func (_class VMGuestMetricsClass) GetCanUseHotplugVbd(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

Get the can_use_hotplug_vbd field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetCanUseHotplugVbdMock

func (_class VMGuestMetricsClass) GetCanUseHotplugVbdMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

func (VMGuestMetricsClass) GetCanUseHotplugVif

func (_class VMGuestMetricsClass) GetCanUseHotplugVif(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

Get the can_use_hotplug_vif field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetCanUseHotplugVifMock

func (_class VMGuestMetricsClass) GetCanUseHotplugVifMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval TristateType, _err error)

func (VMGuestMetricsClass) GetDisks

func (_class VMGuestMetricsClass) GetDisks(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the disks field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetDisksMock

func (_class VMGuestMetricsClass) GetDisksMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetLastUpdated

func (_class VMGuestMetricsClass) GetLastUpdated(sessionID SessionRef, self VMGuestMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetLastUpdatedMock

func (_class VMGuestMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval time.Time, _err error)

func (VMGuestMetricsClass) GetLive

func (_class VMGuestMetricsClass) GetLive(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

Get the live field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetLiveMock

func (_class VMGuestMetricsClass) GetLiveMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func (VMGuestMetricsClass) GetMemory

func (_class VMGuestMetricsClass) GetMemory(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the memory field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetMemoryMock

func (_class VMGuestMetricsClass) GetMemoryMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetNetworks

func (_class VMGuestMetricsClass) GetNetworks(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the networks field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetNetworksMock

func (_class VMGuestMetricsClass) GetNetworksMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetOSVersion

func (_class VMGuestMetricsClass) GetOSVersion(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the os_version field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetOSVersionMock

func (_class VMGuestMetricsClass) GetOSVersionMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetOther

func (_class VMGuestMetricsClass) GetOther(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the other field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetOtherConfig

func (_class VMGuestMetricsClass) GetOtherConfig(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetOtherConfigMock

func (_class VMGuestMetricsClass) GetOtherConfigMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetOtherMock

func (_class VMGuestMetricsClass) GetOtherMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetPVDriversDetected

func (_class VMGuestMetricsClass) GetPVDriversDetected(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

Get the PV_drivers_detected field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetPVDriversDetectedMock

func (_class VMGuestMetricsClass) GetPVDriversDetectedMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func (VMGuestMetricsClass) GetPVDriversUpToDate

func (_class VMGuestMetricsClass) GetPVDriversUpToDate(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

Get the PV_drivers_up_to_date field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetPVDriversUpToDateMock

func (_class VMGuestMetricsClass) GetPVDriversUpToDateMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval bool, _err error)

func (VMGuestMetricsClass) GetPVDriversVersion

func (_class VMGuestMetricsClass) GetPVDriversVersion(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

Get the PV_drivers_version field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetPVDriversVersionMock

func (_class VMGuestMetricsClass) GetPVDriversVersionMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval map[string]string, _err error)

func (VMGuestMetricsClass) GetRecord

func (_class VMGuestMetricsClass) GetRecord(sessionID SessionRef, self VMGuestMetricsRef) (_retval VMGuestMetricsRecord, _err error)

Get a record containing the current state of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetRecordMock

func (_class VMGuestMetricsClass) GetRecordMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval VMGuestMetricsRecord, _err error)

func (VMGuestMetricsClass) GetUUID

func (_class VMGuestMetricsClass) GetUUID(sessionID SessionRef, self VMGuestMetricsRef) (_retval string, _err error)

Get the uuid field of the given VM_guest_metrics.

func (VMGuestMetricsClass) GetUUIDMock

func (_class VMGuestMetricsClass) GetUUIDMock(sessionID SessionRef, self VMGuestMetricsRef) (_retval string, _err error)

func (VMGuestMetricsClass) RemoveFromOtherConfig

func (_class VMGuestMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self VMGuestMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VM_guest_metrics. If the key is not in that Map, then do nothing.

func (VMGuestMetricsClass) RemoveFromOtherConfigMock

func (_class VMGuestMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VMGuestMetricsRef, key string) (_err error)

func (VMGuestMetricsClass) SetOtherConfig

func (_class VMGuestMetricsClass) SetOtherConfig(sessionID SessionRef, self VMGuestMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given VM_guest_metrics.

func (VMGuestMetricsClass) SetOtherConfigMock

func (_class VMGuestMetricsClass) SetOtherConfigMock(sessionID SessionRef, self VMGuestMetricsRef, value map[string]string) (_err error)

type VMGuestMetricsRecord

type VMGuestMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// version of the OS
	OSVersion map[string]string
	// version of the PV drivers
	PVDriversVersion map[string]string
	// Logically equivalent to PV_drivers_detected
	PVDriversUpToDate bool
	// This field exists but has no data. Use the memory and memory_internal_free RRD data-sources instead.
	Memory map[string]string
	// This field exists but has no data.
	Disks map[string]string
	// network configuration
	Networks map[string]string
	// anything else
	Other map[string]string
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
	// True if the guest is sending heartbeat messages via the guest agent
	Live bool
	// The guest's statement of whether it supports VBD hotplug, i.e. whether it is capable of responding immediately to instantiation of a new VBD by bringing online a new PV block device. If the guest states that it is not capable, then the VBD plug and unplug operations will not be allowed while the guest is running.
	CanUseHotplugVbd TristateType
	// The guest's statement of whether it supports VIF hotplug, i.e. whether it is capable of responding immediately to instantiation of a new VIF by bringing online a new PV network device. If the guest states that it is not capable, then the VIF plug and unplug operations will not be allowed while the guest is running.
	CanUseHotplugVif TristateType
	// At least one of the guest's devices has successfully connected to the backend.
	PVDriversDetected bool
}

func VMGuestMetricsClassGetRecordMockDefault

func VMGuestMetricsClassGetRecordMockDefault(sessionID SessionRef, self VMGuestMetricsRef) (_retval VMGuestMetricsRecord, _err error)

type VMGuestMetricsRef

type VMGuestMetricsRef string

func VMClassGetGuestMetricsMockDefault

func VMClassGetGuestMetricsMockDefault(sessionID SessionRef, self VMRef) (_retval VMGuestMetricsRef, _err error)

func VMGuestMetricsClassGetAllMockDefault

func VMGuestMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []VMGuestMetricsRef, _err error)

func VMGuestMetricsClassGetByUUIDMockDefault

func VMGuestMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMGuestMetricsRef, _err error)

type VMMetricsClass

type VMMetricsClass struct {
	// contains filtered or unexported fields
}

The metrics associated with a VM

func (VMMetricsClass) AddToOtherConfig

func (_class VMMetricsClass) AddToOtherConfig(sessionID SessionRef, self VMMetricsRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VM_metrics.

func (VMMetricsClass) AddToOtherConfigMock

func (_class VMMetricsClass) AddToOtherConfigMock(sessionID SessionRef, self VMMetricsRef, key string, value string) (_err error)

func (VMMetricsClass) GetAll

func (_class VMMetricsClass) GetAll(sessionID SessionRef) (_retval []VMMetricsRef, _err error)

Return a list of all the VM_metrics instances known to the system.

func (VMMetricsClass) GetAllMock

func (_class VMMetricsClass) GetAllMock(sessionID SessionRef) (_retval []VMMetricsRef, _err error)

func (VMMetricsClass) GetAllRecords

func (_class VMMetricsClass) GetAllRecords(sessionID SessionRef) (_retval map[VMMetricsRef]VMMetricsRecord, _err error)

Return a map of VM_metrics references to VM_metrics records for all VM_metrics instances known to the system.

func (VMMetricsClass) GetAllRecordsMock

func (_class VMMetricsClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMMetricsRef]VMMetricsRecord, _err error)

func (VMMetricsClass) GetByUUID

func (_class VMMetricsClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMMetricsRef, _err error)

Get a reference to the VM_metrics instance with the specified UUID.

func (VMMetricsClass) GetByUUIDMock

func (_class VMMetricsClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMMetricsRef, _err error)

func (VMMetricsClass) GetHvm

func (_class VMMetricsClass) GetHvm(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

Get the hvm field of the given VM_metrics.

func (VMMetricsClass) GetHvmMock

func (_class VMMetricsClass) GetHvmMock(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func (VMMetricsClass) GetInstallTime

func (_class VMMetricsClass) GetInstallTime(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

Get the install_time field of the given VM_metrics.

func (VMMetricsClass) GetInstallTimeMock

func (_class VMMetricsClass) GetInstallTimeMock(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func (VMMetricsClass) GetLastUpdated

func (_class VMMetricsClass) GetLastUpdated(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

Get the last_updated field of the given VM_metrics.

func (VMMetricsClass) GetLastUpdatedMock

func (_class VMMetricsClass) GetLastUpdatedMock(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func (VMMetricsClass) GetMemoryActual

func (_class VMMetricsClass) GetMemoryActual(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

Get the memory/actual field of the given VM_metrics.

func (VMMetricsClass) GetMemoryActualMock

func (_class VMMetricsClass) GetMemoryActualMock(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

func (VMMetricsClass) GetNestedVirt

func (_class VMMetricsClass) GetNestedVirt(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

Get the nested_virt field of the given VM_metrics.

func (VMMetricsClass) GetNestedVirtMock

func (_class VMMetricsClass) GetNestedVirtMock(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func (VMMetricsClass) GetNomigrate

func (_class VMMetricsClass) GetNomigrate(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

Get the nomigrate field of the given VM_metrics.

func (VMMetricsClass) GetNomigrateMock

func (_class VMMetricsClass) GetNomigrateMock(sessionID SessionRef, self VMMetricsRef) (_retval bool, _err error)

func (VMMetricsClass) GetOtherConfig

func (_class VMMetricsClass) GetOtherConfig(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

Get the other_config field of the given VM_metrics.

func (VMMetricsClass) GetOtherConfigMock

func (_class VMMetricsClass) GetOtherConfigMock(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

func (VMMetricsClass) GetRecord

func (_class VMMetricsClass) GetRecord(sessionID SessionRef, self VMMetricsRef) (_retval VMMetricsRecord, _err error)

Get a record containing the current state of the given VM_metrics.

func (VMMetricsClass) GetRecordMock

func (_class VMMetricsClass) GetRecordMock(sessionID SessionRef, self VMMetricsRef) (_retval VMMetricsRecord, _err error)

func (VMMetricsClass) GetStartTime

func (_class VMMetricsClass) GetStartTime(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

Get the start_time field of the given VM_metrics.

func (VMMetricsClass) GetStartTimeMock

func (_class VMMetricsClass) GetStartTimeMock(sessionID SessionRef, self VMMetricsRef) (_retval time.Time, _err error)

func (VMMetricsClass) GetState

func (_class VMMetricsClass) GetState(sessionID SessionRef, self VMMetricsRef) (_retval []string, _err error)

Get the state field of the given VM_metrics.

func (VMMetricsClass) GetStateMock

func (_class VMMetricsClass) GetStateMock(sessionID SessionRef, self VMMetricsRef) (_retval []string, _err error)

func (VMMetricsClass) GetUUID

func (_class VMMetricsClass) GetUUID(sessionID SessionRef, self VMMetricsRef) (_retval string, _err error)

Get the uuid field of the given VM_metrics.

func (VMMetricsClass) GetUUIDMock

func (_class VMMetricsClass) GetUUIDMock(sessionID SessionRef, self VMMetricsRef) (_retval string, _err error)

func (VMMetricsClass) GetVCPUsCPU

func (_class VMMetricsClass) GetVCPUsCPU(sessionID SessionRef, self VMMetricsRef) (_retval map[int]int, _err error)

Get the VCPUs/CPU field of the given VM_metrics.

func (VMMetricsClass) GetVCPUsCPUMock

func (_class VMMetricsClass) GetVCPUsCPUMock(sessionID SessionRef, self VMMetricsRef) (_retval map[int]int, _err error)

func (VMMetricsClass) GetVCPUsFlags

func (_class VMMetricsClass) GetVCPUsFlags(sessionID SessionRef, self VMMetricsRef) (_retval map[int][]string, _err error)

Get the VCPUs/flags field of the given VM_metrics.

func (VMMetricsClass) GetVCPUsFlagsMock

func (_class VMMetricsClass) GetVCPUsFlagsMock(sessionID SessionRef, self VMMetricsRef) (_retval map[int][]string, _err error)

func (VMMetricsClass) GetVCPUsNumber

func (_class VMMetricsClass) GetVCPUsNumber(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

Get the VCPUs/number field of the given VM_metrics.

func (VMMetricsClass) GetVCPUsNumberMock

func (_class VMMetricsClass) GetVCPUsNumberMock(sessionID SessionRef, self VMMetricsRef) (_retval int, _err error)

func (VMMetricsClass) GetVCPUsParams

func (_class VMMetricsClass) GetVCPUsParams(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

Get the VCPUs/params field of the given VM_metrics.

func (VMMetricsClass) GetVCPUsParamsMock

func (_class VMMetricsClass) GetVCPUsParamsMock(sessionID SessionRef, self VMMetricsRef) (_retval map[string]string, _err error)

func (VMMetricsClass) GetVCPUsUtilisation

func (_class VMMetricsClass) GetVCPUsUtilisation(sessionID SessionRef, self VMMetricsRef) (_retval map[int]float64, _err error)

Get the VCPUs/utilisation field of the given VM_metrics.

func (VMMetricsClass) GetVCPUsUtilisationMock

func (_class VMMetricsClass) GetVCPUsUtilisationMock(sessionID SessionRef, self VMMetricsRef) (_retval map[int]float64, _err error)

func (VMMetricsClass) RemoveFromOtherConfig

func (_class VMMetricsClass) RemoveFromOtherConfig(sessionID SessionRef, self VMMetricsRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VM_metrics. If the key is not in that Map, then do nothing.

func (VMMetricsClass) RemoveFromOtherConfigMock

func (_class VMMetricsClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VMMetricsRef, key string) (_err error)

func (VMMetricsClass) SetOtherConfig

func (_class VMMetricsClass) SetOtherConfig(sessionID SessionRef, self VMMetricsRef, value map[string]string) (_err error)

Set the other_config field of the given VM_metrics.

func (VMMetricsClass) SetOtherConfigMock

func (_class VMMetricsClass) SetOtherConfigMock(sessionID SessionRef, self VMMetricsRef, value map[string]string) (_err error)

type VMMetricsRecord

type VMMetricsRecord struct {
	// Unique identifier/object reference
	UUID string
	// Guest's actual memory (bytes)
	MemoryActual int
	// Current number of VCPUs
	VCPUsNumber int
	// Utilisation for all of guest's current VCPUs
	VCPUsUtilisation map[int]float64
	// VCPU to PCPU map
	VCPUsCPU map[int]int
	// The live equivalent to VM.VCPUs_params
	VCPUsParams map[string]string
	// CPU flags (blocked,online,running)
	VCPUsFlags map[int][]string
	// The state of the guest, eg blocked, dying etc
	State []string
	// Time at which this VM was last booted
	StartTime time.Time
	// Time at which the VM was installed
	InstallTime time.Time
	// Time at which this information was last updated
	LastUpdated time.Time
	// additional configuration
	OtherConfig map[string]string
	// hardware virtual machine
	Hvm bool
	// VM supports nested virtualisation
	NestedVirt bool
	// VM is immobile and can't migrate between hosts
	Nomigrate bool
}

func VMMetricsClassGetRecordMockDefault

func VMMetricsClassGetRecordMockDefault(sessionID SessionRef, self VMMetricsRef) (_retval VMMetricsRecord, _err error)

type VMMetricsRef

type VMMetricsRef string

func VMClassGetMetricsMockDefault

func VMClassGetMetricsMockDefault(sessionID SessionRef, self VMRef) (_retval VMMetricsRef, _err error)

func VMMetricsClassGetAllMockDefault

func VMMetricsClassGetAllMockDefault(sessionID SessionRef) (_retval []VMMetricsRef, _err error)

func VMMetricsClassGetByUUIDMockDefault

func VMMetricsClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMMetricsRef, _err error)

type VMOperations

type VMOperations string
const (
	// refers to the operation "snapshot"
	VMOperationsSnapshot VMOperations = "snapshot"
	// refers to the operation "clone"
	VMOperationsClone VMOperations = "clone"
	// refers to the operation "copy"
	VMOperationsCopy VMOperations = "copy"
	// refers to the operation "create_template"
	VMOperationsCreateTemplate VMOperations = "create_template"
	// refers to the operation "revert"
	VMOperationsRevert VMOperations = "revert"
	// refers to the operation "checkpoint"
	VMOperationsCheckpoint VMOperations = "checkpoint"
	// refers to the operation "snapshot_with_quiesce"
	VMOperationsSnapshotWithQuiesce VMOperations = "snapshot_with_quiesce"
	// refers to the operation "provision"
	VMOperationsProvision VMOperations = "provision"
	// refers to the operation "start"
	VMOperationsStart VMOperations = "start"
	// refers to the operation "start_on"
	VMOperationsStartOn VMOperations = "start_on"
	// refers to the operation "pause"
	VMOperationsPause VMOperations = "pause"
	// refers to the operation "unpause"
	VMOperationsUnpause VMOperations = "unpause"
	// refers to the operation "clean_shutdown"
	VMOperationsCleanShutdown VMOperations = "clean_shutdown"
	// refers to the operation "clean_reboot"
	VMOperationsCleanReboot VMOperations = "clean_reboot"
	// refers to the operation "hard_shutdown"
	VMOperationsHardShutdown VMOperations = "hard_shutdown"
	// refers to the operation "power_state_reset"
	VMOperationsPowerStateReset VMOperations = "power_state_reset"
	// refers to the operation "hard_reboot"
	VMOperationsHardReboot VMOperations = "hard_reboot"
	// refers to the operation "suspend"
	VMOperationsSuspend VMOperations = "suspend"
	// refers to the operation "csvm"
	VMOperationsCsvm VMOperations = "csvm"
	// refers to the operation "resume"
	VMOperationsResume VMOperations = "resume"
	// refers to the operation "resume_on"
	VMOperationsResumeOn VMOperations = "resume_on"
	// refers to the operation "pool_migrate"
	VMOperationsPoolMigrate VMOperations = "pool_migrate"
	// refers to the operation "migrate_send"
	VMOperationsMigrateSend VMOperations = "migrate_send"
	// refers to the operation "get_boot_record"
	VMOperationsGetBootRecord VMOperations = "get_boot_record"
	// refers to the operation "send_sysrq"
	VMOperationsSendSysrq VMOperations = "send_sysrq"
	// refers to the operation "send_trigger"
	VMOperationsSendTrigger VMOperations = "send_trigger"
	// refers to the operation "query_services"
	VMOperationsQueryServices VMOperations = "query_services"
	// refers to the operation "shutdown"
	VMOperationsShutdown VMOperations = "shutdown"
	// refers to the operation "call_plugin"
	VMOperationsCallPlugin VMOperations = "call_plugin"
	// Changing the memory settings
	VMOperationsChangingMemoryLive VMOperations = "changing_memory_live"
	// Waiting for the memory settings to change
	VMOperationsAwaitingMemoryLive VMOperations = "awaiting_memory_live"
	// Changing the memory dynamic range
	VMOperationsChangingDynamicRange VMOperations = "changing_dynamic_range"
	// Changing the memory static range
	VMOperationsChangingStaticRange VMOperations = "changing_static_range"
	// Changing the memory limits
	VMOperationsChangingMemoryLimits VMOperations = "changing_memory_limits"
	// Changing the shadow memory for a halted VM.
	VMOperationsChangingShadowMemory VMOperations = "changing_shadow_memory"
	// Changing the shadow memory for a running VM.
	VMOperationsChangingShadowMemoryLive VMOperations = "changing_shadow_memory_live"
	// Changing VCPU settings for a halted VM.
	VMOperationsChangingVCPUs VMOperations = "changing_VCPUs"
	// Changing VCPU settings for a running VM.
	VMOperationsChangingVCPUsLive VMOperations = "changing_VCPUs_live"
	//
	VMOperationsAssertOperationValid VMOperations = "assert_operation_valid"
	// Add, remove, query or list data sources
	VMOperationsDataSourceOp VMOperations = "data_source_op"
	//
	VMOperationsUpdateAllowedOperations VMOperations = "update_allowed_operations"
	// Turning this VM into a template
	VMOperationsMakeIntoTemplate VMOperations = "make_into_template"
	// importing a VM from a network stream
	VMOperationsImport VMOperations = "import"
	// exporting a VM to a network stream
	VMOperationsExport VMOperations = "export"
	// exporting VM metadata to a network stream
	VMOperationsMetadataExport VMOperations = "metadata_export"
	// Reverting the VM to a previous snapshotted state
	VMOperationsReverting VMOperations = "reverting"
	// refers to the act of uninstalling the VM
	VMOperationsDestroy VMOperations = "destroy"
)

func VMClassGetAllowedOperationsMockDefault

func VMClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VMRef) (_retval []VMOperations, _err error)

type VMPPClass

type VMPPClass struct {
	// contains filtered or unexported fields
}

VM Protection Policy

func (VMPPClass) AddToAlarmConfig

func (_class VMPPClass) AddToAlarmConfig(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToAlarmConfigMock

func (_class VMPPClass) AddToAlarmConfigMock(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToArchiveSchedule

func (_class VMPPClass) AddToArchiveSchedule(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToArchiveScheduleMock

func (_class VMPPClass) AddToArchiveScheduleMock(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToArchiveTargetConfig

func (_class VMPPClass) AddToArchiveTargetConfig(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToArchiveTargetConfigMock

func (_class VMPPClass) AddToArchiveTargetConfigMock(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToBackupSchedule

func (_class VMPPClass) AddToBackupSchedule(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) AddToBackupScheduleMock

func (_class VMPPClass) AddToBackupScheduleMock(sessionID SessionRef, self VMPPRef, key string, value string) (_err error)

func (VMPPClass) ArchiveNow

func (_class VMPPClass) ArchiveNow(sessionID SessionRef, snapshot VMRef) (_retval string, _err error)

This call archives the snapshot provided as a parameter

func (VMPPClass) ArchiveNowMock

func (_class VMPPClass) ArchiveNowMock(sessionID SessionRef, snapshot VMRef) (_retval string, _err error)

func (VMPPClass) Create

func (_class VMPPClass) Create(sessionID SessionRef, args VMPPRecord) (_retval VMPPRef, _err error)

Create a new VMPP instance, and return its handle. The constructor args are: name_label, name_description, is_policy_enabled, backup_type, backup_retention_value, backup_frequency, backup_schedule, archive_target_type, archive_target_config, archive_frequency, archive_schedule, is_alarm_enabled, alarm_config (* = non-optional).

func (VMPPClass) CreateMock

func (_class VMPPClass) CreateMock(sessionID SessionRef, args VMPPRecord) (_retval VMPPRef, _err error)

func (VMPPClass) Destroy

func (_class VMPPClass) Destroy(sessionID SessionRef, self VMPPRef) (_err error)

Destroy the specified VMPP instance.

func (VMPPClass) DestroyMock

func (_class VMPPClass) DestroyMock(sessionID SessionRef, self VMPPRef) (_err error)

func (VMPPClass) GetAlarmConfig

func (_class VMPPClass) GetAlarmConfig(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

Get the alarm_config field of the given VMPP.

func (VMPPClass) GetAlarmConfigMock

func (_class VMPPClass) GetAlarmConfigMock(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func (VMPPClass) GetAlerts

func (_class VMPPClass) GetAlerts(sessionID SessionRef, vmpp VMPPRef, hoursFromNow int) (_retval []string, _err error)

This call fetches a history of alerts for a given protection policy

func (VMPPClass) GetAlertsMock

func (_class VMPPClass) GetAlertsMock(sessionID SessionRef, vmpp VMPPRef, hoursFromNow int) (_retval []string, _err error)

func (VMPPClass) GetAll

func (_class VMPPClass) GetAll(sessionID SessionRef) (_retval []VMPPRef, _err error)

Return a list of all the VMPPs known to the system.

func (VMPPClass) GetAllMock

func (_class VMPPClass) GetAllMock(sessionID SessionRef) (_retval []VMPPRef, _err error)

func (VMPPClass) GetAllRecords

func (_class VMPPClass) GetAllRecords(sessionID SessionRef) (_retval map[VMPPRef]VMPPRecord, _err error)

Return a map of VMPP references to VMPP records for all VMPPs known to the system.

func (VMPPClass) GetAllRecordsMock

func (_class VMPPClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMPPRef]VMPPRecord, _err error)

func (VMPPClass) GetArchiveFrequency

func (_class VMPPClass) GetArchiveFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveFrequency, _err error)

Get the archive_frequency field of the given VMPP.

func (VMPPClass) GetArchiveFrequencyMock

func (_class VMPPClass) GetArchiveFrequencyMock(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveFrequency, _err error)

func (VMPPClass) GetArchiveLastRunTime

func (_class VMPPClass) GetArchiveLastRunTime(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

Get the archive_last_run_time field of the given VMPP.

func (VMPPClass) GetArchiveLastRunTimeMock

func (_class VMPPClass) GetArchiveLastRunTimeMock(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

func (VMPPClass) GetArchiveSchedule

func (_class VMPPClass) GetArchiveSchedule(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

Get the archive_schedule field of the given VMPP.

func (VMPPClass) GetArchiveScheduleMock

func (_class VMPPClass) GetArchiveScheduleMock(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func (VMPPClass) GetArchiveTargetConfig

func (_class VMPPClass) GetArchiveTargetConfig(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

Get the archive_target_config field of the given VMPP.

func (VMPPClass) GetArchiveTargetConfigMock

func (_class VMPPClass) GetArchiveTargetConfigMock(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func (VMPPClass) GetArchiveTargetType

func (_class VMPPClass) GetArchiveTargetType(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveTargetType, _err error)

Get the archive_target_type field of the given VMPP.

func (VMPPClass) GetArchiveTargetTypeMock

func (_class VMPPClass) GetArchiveTargetTypeMock(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveTargetType, _err error)

func (VMPPClass) GetBackupFrequency

func (_class VMPPClass) GetBackupFrequency(sessionID SessionRef, self VMPPRef) (_retval VmppBackupFrequency, _err error)

Get the backup_frequency field of the given VMPP.

func (VMPPClass) GetBackupFrequencyMock

func (_class VMPPClass) GetBackupFrequencyMock(sessionID SessionRef, self VMPPRef) (_retval VmppBackupFrequency, _err error)

func (VMPPClass) GetBackupLastRunTime

func (_class VMPPClass) GetBackupLastRunTime(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

Get the backup_last_run_time field of the given VMPP.

func (VMPPClass) GetBackupLastRunTimeMock

func (_class VMPPClass) GetBackupLastRunTimeMock(sessionID SessionRef, self VMPPRef) (_retval time.Time, _err error)

func (VMPPClass) GetBackupRetentionValue

func (_class VMPPClass) GetBackupRetentionValue(sessionID SessionRef, self VMPPRef) (_retval int, _err error)

Get the backup_retention_value field of the given VMPP.

func (VMPPClass) GetBackupRetentionValueMock

func (_class VMPPClass) GetBackupRetentionValueMock(sessionID SessionRef, self VMPPRef) (_retval int, _err error)

func (VMPPClass) GetBackupSchedule

func (_class VMPPClass) GetBackupSchedule(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

Get the backup_schedule field of the given VMPP.

func (VMPPClass) GetBackupScheduleMock

func (_class VMPPClass) GetBackupScheduleMock(sessionID SessionRef, self VMPPRef) (_retval map[string]string, _err error)

func (VMPPClass) GetBackupType

func (_class VMPPClass) GetBackupType(sessionID SessionRef, self VMPPRef) (_retval VmppBackupType, _err error)

Get the backup_type field of the given VMPP.

func (VMPPClass) GetBackupTypeMock

func (_class VMPPClass) GetBackupTypeMock(sessionID SessionRef, self VMPPRef) (_retval VmppBackupType, _err error)

func (VMPPClass) GetByNameLabel

func (_class VMPPClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMPPRef, _err error)

Get all the VMPP instances with the given label.

func (VMPPClass) GetByNameLabelMock

func (_class VMPPClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []VMPPRef, _err error)

func (VMPPClass) GetByUUID

func (_class VMPPClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMPPRef, _err error)

Get a reference to the VMPP instance with the specified UUID.

func (VMPPClass) GetByUUIDMock

func (_class VMPPClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMPPRef, _err error)

func (VMPPClass) GetIsAlarmEnabled

func (_class VMPPClass) GetIsAlarmEnabled(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

Get the is_alarm_enabled field of the given VMPP.

func (VMPPClass) GetIsAlarmEnabledMock

func (_class VMPPClass) GetIsAlarmEnabledMock(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func (VMPPClass) GetIsArchiveRunning

func (_class VMPPClass) GetIsArchiveRunning(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

Get the is_archive_running field of the given VMPP.

func (VMPPClass) GetIsArchiveRunningMock

func (_class VMPPClass) GetIsArchiveRunningMock(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func (VMPPClass) GetIsBackupRunning

func (_class VMPPClass) GetIsBackupRunning(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

Get the is_backup_running field of the given VMPP.

func (VMPPClass) GetIsBackupRunningMock

func (_class VMPPClass) GetIsBackupRunningMock(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func (VMPPClass) GetIsPolicyEnabled

func (_class VMPPClass) GetIsPolicyEnabled(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

Get the is_policy_enabled field of the given VMPP.

func (VMPPClass) GetIsPolicyEnabledMock

func (_class VMPPClass) GetIsPolicyEnabledMock(sessionID SessionRef, self VMPPRef) (_retval bool, _err error)

func (VMPPClass) GetNameDescription

func (_class VMPPClass) GetNameDescription(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

Get the name/description field of the given VMPP.

func (VMPPClass) GetNameDescriptionMock

func (_class VMPPClass) GetNameDescriptionMock(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func (VMPPClass) GetNameLabel

func (_class VMPPClass) GetNameLabel(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

Get the name/label field of the given VMPP.

func (VMPPClass) GetNameLabelMock

func (_class VMPPClass) GetNameLabelMock(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func (VMPPClass) GetRecentAlerts

func (_class VMPPClass) GetRecentAlerts(sessionID SessionRef, self VMPPRef) (_retval []string, _err error)

Get the recent_alerts field of the given VMPP.

func (VMPPClass) GetRecentAlertsMock

func (_class VMPPClass) GetRecentAlertsMock(sessionID SessionRef, self VMPPRef) (_retval []string, _err error)

func (VMPPClass) GetRecord

func (_class VMPPClass) GetRecord(sessionID SessionRef, self VMPPRef) (_retval VMPPRecord, _err error)

Get a record containing the current state of the given VMPP.

func (VMPPClass) GetRecordMock

func (_class VMPPClass) GetRecordMock(sessionID SessionRef, self VMPPRef) (_retval VMPPRecord, _err error)

func (VMPPClass) GetUUID

func (_class VMPPClass) GetUUID(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

Get the uuid field of the given VMPP.

func (VMPPClass) GetUUIDMock

func (_class VMPPClass) GetUUIDMock(sessionID SessionRef, self VMPPRef) (_retval string, _err error)

func (VMPPClass) GetVMs

func (_class VMPPClass) GetVMs(sessionID SessionRef, self VMPPRef) (_retval []VMRef, _err error)

Get the VMs field of the given VMPP.

func (VMPPClass) GetVMsMock

func (_class VMPPClass) GetVMsMock(sessionID SessionRef, self VMPPRef) (_retval []VMRef, _err error)

func (VMPPClass) ProtectNow

func (_class VMPPClass) ProtectNow(sessionID SessionRef, vmpp VMPPRef) (_retval string, _err error)

This call executes the protection policy immediately

func (VMPPClass) ProtectNowMock

func (_class VMPPClass) ProtectNowMock(sessionID SessionRef, vmpp VMPPRef) (_retval string, _err error)

func (VMPPClass) RemoveFromAlarmConfig

func (_class VMPPClass) RemoveFromAlarmConfig(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromAlarmConfigMock

func (_class VMPPClass) RemoveFromAlarmConfigMock(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromArchiveSchedule

func (_class VMPPClass) RemoveFromArchiveSchedule(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromArchiveScheduleMock

func (_class VMPPClass) RemoveFromArchiveScheduleMock(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromArchiveTargetConfig

func (_class VMPPClass) RemoveFromArchiveTargetConfig(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromArchiveTargetConfigMock

func (_class VMPPClass) RemoveFromArchiveTargetConfigMock(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromBackupSchedule

func (_class VMPPClass) RemoveFromBackupSchedule(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) RemoveFromBackupScheduleMock

func (_class VMPPClass) RemoveFromBackupScheduleMock(sessionID SessionRef, self VMPPRef, key string) (_err error)

func (VMPPClass) SetAlarmConfig

func (_class VMPPClass) SetAlarmConfig(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetAlarmConfigMock

func (_class VMPPClass) SetAlarmConfigMock(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetArchiveFrequency

func (_class VMPPClass) SetArchiveFrequency(sessionID SessionRef, self VMPPRef, value VmppArchiveFrequency) (_err error)

Set the value of the archive_frequency field

func (VMPPClass) SetArchiveFrequencyMock

func (_class VMPPClass) SetArchiveFrequencyMock(sessionID SessionRef, self VMPPRef, value VmppArchiveFrequency) (_err error)

func (VMPPClass) SetArchiveLastRunTime

func (_class VMPPClass) SetArchiveLastRunTime(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func (VMPPClass) SetArchiveLastRunTimeMock

func (_class VMPPClass) SetArchiveLastRunTimeMock(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func (VMPPClass) SetArchiveSchedule

func (_class VMPPClass) SetArchiveSchedule(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetArchiveScheduleMock

func (_class VMPPClass) SetArchiveScheduleMock(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetArchiveTargetConfig

func (_class VMPPClass) SetArchiveTargetConfig(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetArchiveTargetConfigMock

func (_class VMPPClass) SetArchiveTargetConfigMock(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetArchiveTargetType

func (_class VMPPClass) SetArchiveTargetType(sessionID SessionRef, self VMPPRef, value VmppArchiveTargetType) (_err error)

Set the value of the archive_target_config_type field

func (VMPPClass) SetArchiveTargetTypeMock

func (_class VMPPClass) SetArchiveTargetTypeMock(sessionID SessionRef, self VMPPRef, value VmppArchiveTargetType) (_err error)

func (VMPPClass) SetBackupFrequency

func (_class VMPPClass) SetBackupFrequency(sessionID SessionRef, self VMPPRef, value VmppBackupFrequency) (_err error)

Set the value of the backup_frequency field

func (VMPPClass) SetBackupFrequencyMock

func (_class VMPPClass) SetBackupFrequencyMock(sessionID SessionRef, self VMPPRef, value VmppBackupFrequency) (_err error)

func (VMPPClass) SetBackupLastRunTime

func (_class VMPPClass) SetBackupLastRunTime(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func (VMPPClass) SetBackupLastRunTimeMock

func (_class VMPPClass) SetBackupLastRunTimeMock(sessionID SessionRef, self VMPPRef, value time.Time) (_err error)

func (VMPPClass) SetBackupRetentionValue

func (_class VMPPClass) SetBackupRetentionValue(sessionID SessionRef, self VMPPRef, value int) (_err error)

func (VMPPClass) SetBackupRetentionValueMock

func (_class VMPPClass) SetBackupRetentionValueMock(sessionID SessionRef, self VMPPRef, value int) (_err error)

func (VMPPClass) SetBackupSchedule

func (_class VMPPClass) SetBackupSchedule(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetBackupScheduleMock

func (_class VMPPClass) SetBackupScheduleMock(sessionID SessionRef, self VMPPRef, value map[string]string) (_err error)

func (VMPPClass) SetBackupType

func (_class VMPPClass) SetBackupType(sessionID SessionRef, self VMPPRef, value VmppBackupType) (_err error)

Set the backup_type field of the given VMPP.

func (VMPPClass) SetBackupTypeMock

func (_class VMPPClass) SetBackupTypeMock(sessionID SessionRef, self VMPPRef, value VmppBackupType) (_err error)

func (VMPPClass) SetIsAlarmEnabled

func (_class VMPPClass) SetIsAlarmEnabled(sessionID SessionRef, self VMPPRef, value bool) (_err error)

Set the value of the is_alarm_enabled field

func (VMPPClass) SetIsAlarmEnabledMock

func (_class VMPPClass) SetIsAlarmEnabledMock(sessionID SessionRef, self VMPPRef, value bool) (_err error)

func (VMPPClass) SetIsPolicyEnabled

func (_class VMPPClass) SetIsPolicyEnabled(sessionID SessionRef, self VMPPRef, value bool) (_err error)

Set the is_policy_enabled field of the given VMPP.

func (VMPPClass) SetIsPolicyEnabledMock

func (_class VMPPClass) SetIsPolicyEnabledMock(sessionID SessionRef, self VMPPRef, value bool) (_err error)

func (VMPPClass) SetNameDescription

func (_class VMPPClass) SetNameDescription(sessionID SessionRef, self VMPPRef, value string) (_err error)

Set the name/description field of the given VMPP.

func (VMPPClass) SetNameDescriptionMock

func (_class VMPPClass) SetNameDescriptionMock(sessionID SessionRef, self VMPPRef, value string) (_err error)

func (VMPPClass) SetNameLabel

func (_class VMPPClass) SetNameLabel(sessionID SessionRef, self VMPPRef, value string) (_err error)

Set the name/label field of the given VMPP.

func (VMPPClass) SetNameLabelMock

func (_class VMPPClass) SetNameLabelMock(sessionID SessionRef, self VMPPRef, value string) (_err error)

type VMPPRecord

type VMPPRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// enable or disable this policy
	IsPolicyEnabled bool
	// type of the backup sub-policy
	BackupType VmppBackupType
	// maximum number of backups that should be stored at any time
	BackupRetentionValue int
	// frequency of the backup schedule
	BackupFrequency VmppBackupFrequency
	// schedule of the backup containing 'hour', 'min', 'days'. Date/time-related information is in Local Timezone
	BackupSchedule map[string]string
	// true if this protection policy's backup is running
	IsBackupRunning bool
	// time of the last backup
	BackupLastRunTime time.Time
	// type of the archive target config
	ArchiveTargetType VmppArchiveTargetType
	// configuration for the archive, including its 'location', 'username', 'password'
	ArchiveTargetConfig map[string]string
	// frequency of the archive schedule
	ArchiveFrequency VmppArchiveFrequency
	// schedule of the archive containing 'hour', 'min', 'days'. Date/time-related information is in Local Timezone
	ArchiveSchedule map[string]string
	// true if this protection policy's archive is running
	IsArchiveRunning bool
	// time of the last archive
	ArchiveLastRunTime time.Time
	// all VMs attached to this protection policy
	VMs []VMRef
	// true if alarm is enabled for this policy
	IsAlarmEnabled bool
	// configuration for the alarm
	AlarmConfig map[string]string
	// recent alerts
	RecentAlerts []string
}

func VMPPClassGetRecordMockDefault

func VMPPClassGetRecordMockDefault(sessionID SessionRef, self VMPPRef) (_retval VMPPRecord, _err error)

type VMPPRef

type VMPPRef string

func VMClassGetProtectionPolicyMockDefault

func VMClassGetProtectionPolicyMockDefault(sessionID SessionRef, self VMRef) (_retval VMPPRef, _err error)

func VMPPClassCreateMockDefault

func VMPPClassCreateMockDefault(sessionID SessionRef, args VMPPRecord) (_retval VMPPRef, _err error)

func VMPPClassGetAllMockDefault

func VMPPClassGetAllMockDefault(sessionID SessionRef) (_retval []VMPPRef, _err error)

func VMPPClassGetByNameLabelMockDefault

func VMPPClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []VMPPRef, _err error)

func VMPPClassGetByUUIDMockDefault

func VMPPClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMPPRef, _err error)

type VMPowerState

type VMPowerState string
const (
	// VM is offline and not using any resources
	VMPowerStateHalted VMPowerState = "Halted"
	// All resources have been allocated but the VM itself is paused and its vCPUs are not running
	VMPowerStatePaused VMPowerState = "Paused"
	// Running
	VMPowerStateRunning VMPowerState = "Running"
	// VM state has been saved to disk and it is nolonger running. Note that disks remain in-use while the VM is suspended.
	VMPowerStateSuspended VMPowerState = "Suspended"
)

func VMClassGetPowerStateMockDefault

func VMClassGetPowerStateMockDefault(sessionID SessionRef, self VMRef) (_retval VMPowerState, _err error)

type VMRecord

type VMRecord struct {
	// Unique identifier/object reference
	UUID string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VMOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VMOperations
	// Current power state of the machine
	PowerState VMPowerState
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// Creators of VMs and templates may store version information here.
	UserVersion int
	// true if this is a template. Template VMs can never be started, they are used only for cloning other VMs
	IsATemplate bool
	// true if this is a default template. Default template VMs can never be started or migrated, they are used only for cloning other VMs
	IsDefaultTemplate bool
	// The VDI that a suspend image is stored on. (Only has meaning if VM is currently suspended)
	SuspendVDI VDIRef
	// the host the VM is currently resident on
	ResidentOn HostRef
	// A host which the VM has some affinity for (or NULL). This is used as a hint to the start call when it decides where to run the VM. Resource constraints may cause the VM to be started elsewhere.
	Affinity HostRef
	// Virtualization memory overhead (bytes).
	MemoryOverhead int
	// Dynamically-set memory target (bytes). The value of this field indicates the current target for memory available to this VM.
	MemoryTarget int
	// Statically-set (i.e. absolute) maximum (bytes). The value of this field at VM start time acts as a hard limit of the amount of memory a guest can use. New values only take effect on reboot.
	MemoryStaticMax int
	// Dynamic maximum (bytes)
	MemoryDynamicMax int
	// Dynamic minimum (bytes)
	MemoryDynamicMin int
	// Statically-set (i.e. absolute) mininum (bytes). The value of this field indicates the least amount of memory this VM can boot with without crashing.
	MemoryStaticMin int
	// configuration parameters for the selected VCPU policy
	VCPUsParams map[string]string
	// Max number of VCPUs
	VCPUsMax int
	// Boot number of VCPUs
	VCPUsAtStartup int
	// action to take after the guest has shutdown itself
	ActionsAfterShutdown OnNormalExit
	// action to take after the guest has rebooted itself
	ActionsAfterReboot OnNormalExit
	// action to take if the guest crashes
	ActionsAfterCrash OnCrashBehaviour
	// virtual console devices
	Consoles []ConsoleRef
	// virtual network interfaces
	VIFs []VIFRef
	// virtual block devices
	VBDs []VBDRef
	// vitual usb devices
	VUSBs []VUSBRef
	// crash dumps associated with this VM
	CrashDumps []CrashdumpRef
	// virtual TPMs
	VTPMs []VTPMRef
	// name of or path to bootloader
	PVBootloader string
	// path to the kernel
	PVKernel string
	// path to the initrd
	PVRamdisk string
	// kernel command-line arguments
	PVArgs string
	// miscellaneous arguments for the bootloader
	PVBootloaderArgs string
	// to make Zurich guests boot
	PVLegacyArgs string
	// HVM boot policy
	HVMBootPolicy string
	// HVM boot params
	HVMBootParams map[string]string
	// multiplier applied to the amount of shadow that will be made available to the guest
	HVMShadowMultiplier float64
	// platform-specific configuration
	Platform map[string]string
	// PCI bus path for pass-through devices
	PCIBus string
	// additional configuration
	OtherConfig map[string]string
	// domain ID (if available, -1 otherwise)
	Domid int
	// Domain architecture (if available, null string otherwise)
	Domarch string
	// describes the CPU flags on which the VM was last booted
	LastBootCPUFlags map[string]string
	// true if this is a control domain (domain 0 or a driver domain)
	IsControlDomain bool
	// metrics associated with this VM
	Metrics VMMetricsRef
	// metrics associated with the running guest
	GuestMetrics VMGuestMetricsRef
	// marshalled value containing VM record at time of last boot, updated dynamically to reflect the runtime state of the domain
	LastBootedRecord string
	// An XML specification of recommended values and ranges for properties of this VM
	Recommendations string
	// data to be inserted into the xenstore tree (/local/domain/<domid>/vm-data) after the VM is created.
	XenstoreData map[string]string
	// if true then the system will attempt to keep the VM running as much as possible.
	HaAlwaysRun bool
	// has possible values: "best-effort" meaning "try to restart this VM if possible but don't consider the Pool to be overcommitted if this is not possible"; "restart" meaning "this VM should be restarted"; "" meaning "do not try to restart this VM"
	HaRestartPriority string
	// true if this is a snapshot. Snapshotted VMs can never be started, they are used only for cloning other VMs
	IsASnapshot bool
	// Ref pointing to the VM this snapshot is of.
	SnapshotOf VMRef
	// List pointing to all the VM snapshots.
	Snapshots []VMRef
	// Date/time when this snapshot was created.
	SnapshotTime time.Time
	// Transportable ID of the snapshot VM
	TransportableSnapshotID string
	// Binary blobs associated with this VM
	Blobs map[string]BlobRef
	// user-specified tags for categorization purposes
	Tags []string
	// List of operations which have been explicitly blocked and an error code
	BlockedOperations map[VMOperations]string
	// Human-readable information concerning this snapshot
	SnapshotInfo map[string]string
	// Encoded information about the VM's metadata this is a snapshot of
	SnapshotMetadata string
	// Ref pointing to the parent of this VM
	Parent VMRef
	// List pointing to all the children of this VM
	Children []VMRef
	// BIOS strings
	BiosStrings map[string]string
	// Ref pointing to a protection policy for this VM
	ProtectionPolicy VMPPRef
	// true if this snapshot was created by the protection policy
	IsSnapshotFromVmpp bool
	// Ref pointing to a snapshot schedule for this VM
	SnapshotSchedule VMSSRef
	// true if this snapshot was created by the snapshot schedule
	IsVmssSnapshot bool
	// the appliance to which this VM belongs
	Appliance VMApplianceRef
	// The delay to wait before proceeding to the next order in the startup sequence (seconds)
	StartDelay int
	// The delay to wait before proceeding to the next order in the shutdown sequence (seconds)
	ShutdownDelay int
	// The point in the startup or shutdown sequence at which this VM will be started
	Order int
	// Virtual GPUs
	VGPUs []VGPURef
	// Currently passed-through PCI devices
	AttachedPCIs []PCIRef
	// The SR on which a suspend image is stored
	SuspendSR SRRef
	// The number of times this VM has been recovered
	Version int
	// Generation ID of the VM
	GenerationID string
	// The host virtual hardware platform version the VM can run on
	HardwarePlatformVersion int
	// When an HVM guest starts, this controls the presence of the emulated C000 PCI device which triggers Windows Update to fetch or update PV drivers.
	HasVendorDevice bool
	// Indicates whether a VM requires a reboot in order to update its configuration, e.g. its memory allocation.
	RequiresReboot bool
	// Textual reference to the template used to create a VM. This can be used by clients in need of an immutable reference to the template since the latter's uuid and name_label may change, for example, after a package installation or upgrade.
	ReferenceLabel string
}

func VMClassGetBootRecordMockDefault

func VMClassGetBootRecordMockDefault(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

func VMClassGetRecordMockDefault

func VMClassGetRecordMockDefault(sessionID SessionRef, self VMRef) (_retval VMRecord, _err error)

type VMRef

type VMRef string

func ConsoleClassGetVMMockDefault

func ConsoleClassGetVMMockDefault(sessionID SessionRef, self ConsoleRef) (_retval VMRef, _err error)

func CrashdumpClassGetVMMockDefault

func CrashdumpClassGetVMMockDefault(sessionID SessionRef, self CrashdumpRef) (_retval VMRef, _err error)

func HostClassGetControlDomainMockDefault

func HostClassGetControlDomainMockDefault(sessionID SessionRef, self HostRef) (_retval VMRef, _err error)

func HostClassGetResidentVMsMockDefault

func HostClassGetResidentVMsMockDefault(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

func HostClassGetUncooperativeResidentVMsMockDefault

func HostClassGetUncooperativeResidentVMsMockDefault(sessionID SessionRef, self HostRef) (_retval []VMRef, _err error)

func VBDClassGetVMMockDefault

func VBDClassGetVMMockDefault(sessionID SessionRef, self VBDRef) (_retval VMRef, _err error)

func VGPUClassGetVMMockDefault

func VGPUClassGetVMMockDefault(sessionID SessionRef, self VGPURef) (_retval VMRef, _err error)

func VIFClassGetVMMockDefault

func VIFClassGetVMMockDefault(sessionID SessionRef, self VIFRef) (_retval VMRef, _err error)

func VMApplianceClassGetVMsMockDefault

func VMApplianceClassGetVMsMockDefault(sessionID SessionRef, self VMApplianceRef) (_retval []VMRef, _err error)

func VMClassCheckpointMockDefault

func VMClassCheckpointMockDefault(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func VMClassCloneMockDefault

func VMClassCloneMockDefault(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func VMClassCopyMockDefault

func VMClassCopyMockDefault(sessionID SessionRef, vm VMRef, newName string, sr SRRef) (_retval VMRef, _err error)

func VMClassCreateMockDefault

func VMClassCreateMockDefault(sessionID SessionRef, args VMRecord) (_retval VMRef, _err error)

func VMClassGetAllMockDefault

func VMClassGetAllMockDefault(sessionID SessionRef) (_retval []VMRef, _err error)

func VMClassGetByNameLabelMockDefault

func VMClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []VMRef, _err error)

func VMClassGetByUUIDMockDefault

func VMClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMRef, _err error)

func VMClassGetChildrenMockDefault

func VMClassGetChildrenMockDefault(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

func VMClassGetParentMockDefault

func VMClassGetParentMockDefault(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

func VMClassGetSnapshotOfMockDefault

func VMClassGetSnapshotOfMockDefault(sessionID SessionRef, self VMRef) (_retval VMRef, _err error)

func VMClassGetSnapshotsMockDefault

func VMClassGetSnapshotsMockDefault(sessionID SessionRef, self VMRef) (_retval []VMRef, _err error)

func VMClassImportMockDefault

func VMClassImportMockDefault(sessionID SessionRef, url string, sr SRRef, fullRestore bool, force bool) (_retval []VMRef, _err error)

func VMClassMigrateSendMockDefault

func VMClassMigrateSendMockDefault(sessionID SessionRef, vm VMRef, dest map[string]string, live bool, vdiMap map[VDIRef]SRRef, vifMap map[VIFRef]NetworkRef, options map[string]string, vgpuMap map[VGPURef]GPUGroupRef) (_retval VMRef, _err error)

func VMClassSnapshotMockDefault

func VMClassSnapshotMockDefault(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func VMClassSnapshotWithQuiesceMockDefault

func VMClassSnapshotWithQuiesceMockDefault(sessionID SessionRef, vm VMRef, newName string) (_retval VMRef, _err error)

func VMPPClassGetVMsMockDefault

func VMPPClassGetVMsMockDefault(sessionID SessionRef, self VMPPRef) (_retval []VMRef, _err error)

func VMSSClassGetVMsMockDefault

func VMSSClassGetVMsMockDefault(sessionID SessionRef, self VMSSRef) (_retval []VMRef, _err error)

func VTPMClassGetBackendMockDefault

func VTPMClassGetBackendMockDefault(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

func VTPMClassGetVMMockDefault

func VTPMClassGetVMMockDefault(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

func VUSBClassGetVMMockDefault

func VUSBClassGetVMMockDefault(sessionID SessionRef, self VUSBRef) (_retval VMRef, _err error)

type VMSSClass

type VMSSClass struct {
	// contains filtered or unexported fields
}

VM Snapshot Schedule

func (VMSSClass) AddToSchedule

func (_class VMSSClass) AddToSchedule(sessionID SessionRef, self VMSSRef, key string, value string) (_err error)

func (VMSSClass) AddToScheduleMock

func (_class VMSSClass) AddToScheduleMock(sessionID SessionRef, self VMSSRef, key string, value string) (_err error)

func (VMSSClass) Create

func (_class VMSSClass) Create(sessionID SessionRef, args VMSSRecord) (_retval VMSSRef, _err error)

Create a new VMSS instance, and return its handle. The constructor args are: name_label, name_description, enabled, type*, retained_snapshots, frequency*, schedule (* = non-optional).

func (VMSSClass) CreateMock

func (_class VMSSClass) CreateMock(sessionID SessionRef, args VMSSRecord) (_retval VMSSRef, _err error)

func (VMSSClass) Destroy

func (_class VMSSClass) Destroy(sessionID SessionRef, self VMSSRef) (_err error)

Destroy the specified VMSS instance.

func (VMSSClass) DestroyMock

func (_class VMSSClass) DestroyMock(sessionID SessionRef, self VMSSRef) (_err error)

func (VMSSClass) GetAll

func (_class VMSSClass) GetAll(sessionID SessionRef) (_retval []VMSSRef, _err error)

Return a list of all the VMSSs known to the system.

func (VMSSClass) GetAllMock

func (_class VMSSClass) GetAllMock(sessionID SessionRef) (_retval []VMSSRef, _err error)

func (VMSSClass) GetAllRecords

func (_class VMSSClass) GetAllRecords(sessionID SessionRef) (_retval map[VMSSRef]VMSSRecord, _err error)

Return a map of VMSS references to VMSS records for all VMSSs known to the system.

func (VMSSClass) GetAllRecordsMock

func (_class VMSSClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VMSSRef]VMSSRecord, _err error)

func (VMSSClass) GetByNameLabel

func (_class VMSSClass) GetByNameLabel(sessionID SessionRef, label string) (_retval []VMSSRef, _err error)

Get all the VMSS instances with the given label.

func (VMSSClass) GetByNameLabelMock

func (_class VMSSClass) GetByNameLabelMock(sessionID SessionRef, label string) (_retval []VMSSRef, _err error)

func (VMSSClass) GetByUUID

func (_class VMSSClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VMSSRef, _err error)

Get a reference to the VMSS instance with the specified UUID.

func (VMSSClass) GetByUUIDMock

func (_class VMSSClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VMSSRef, _err error)

func (VMSSClass) GetEnabled

func (_class VMSSClass) GetEnabled(sessionID SessionRef, self VMSSRef) (_retval bool, _err error)

Get the enabled field of the given VMSS.

func (VMSSClass) GetEnabledMock

func (_class VMSSClass) GetEnabledMock(sessionID SessionRef, self VMSSRef) (_retval bool, _err error)

func (VMSSClass) GetFrequency

func (_class VMSSClass) GetFrequency(sessionID SessionRef, self VMSSRef) (_retval VmssFrequency, _err error)

Get the frequency field of the given VMSS.

func (VMSSClass) GetFrequencyMock

func (_class VMSSClass) GetFrequencyMock(sessionID SessionRef, self VMSSRef) (_retval VmssFrequency, _err error)

func (VMSSClass) GetLastRunTime

func (_class VMSSClass) GetLastRunTime(sessionID SessionRef, self VMSSRef) (_retval time.Time, _err error)

Get the last_run_time field of the given VMSS.

func (VMSSClass) GetLastRunTimeMock

func (_class VMSSClass) GetLastRunTimeMock(sessionID SessionRef, self VMSSRef) (_retval time.Time, _err error)

func (VMSSClass) GetNameDescription

func (_class VMSSClass) GetNameDescription(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

Get the name/description field of the given VMSS.

func (VMSSClass) GetNameDescriptionMock

func (_class VMSSClass) GetNameDescriptionMock(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func (VMSSClass) GetNameLabel

func (_class VMSSClass) GetNameLabel(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

Get the name/label field of the given VMSS.

func (VMSSClass) GetNameLabelMock

func (_class VMSSClass) GetNameLabelMock(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func (VMSSClass) GetRecord

func (_class VMSSClass) GetRecord(sessionID SessionRef, self VMSSRef) (_retval VMSSRecord, _err error)

Get a record containing the current state of the given VMSS.

func (VMSSClass) GetRecordMock

func (_class VMSSClass) GetRecordMock(sessionID SessionRef, self VMSSRef) (_retval VMSSRecord, _err error)

func (VMSSClass) GetRetainedSnapshots

func (_class VMSSClass) GetRetainedSnapshots(sessionID SessionRef, self VMSSRef) (_retval int, _err error)

Get the retained_snapshots field of the given VMSS.

func (VMSSClass) GetRetainedSnapshotsMock

func (_class VMSSClass) GetRetainedSnapshotsMock(sessionID SessionRef, self VMSSRef) (_retval int, _err error)

func (VMSSClass) GetSchedule

func (_class VMSSClass) GetSchedule(sessionID SessionRef, self VMSSRef) (_retval map[string]string, _err error)

Get the schedule field of the given VMSS.

func (VMSSClass) GetScheduleMock

func (_class VMSSClass) GetScheduleMock(sessionID SessionRef, self VMSSRef) (_retval map[string]string, _err error)

func (VMSSClass) GetType

func (_class VMSSClass) GetType(sessionID SessionRef, self VMSSRef) (_retval VmssType, _err error)

Get the type field of the given VMSS.

func (VMSSClass) GetTypeMock

func (_class VMSSClass) GetTypeMock(sessionID SessionRef, self VMSSRef) (_retval VmssType, _err error)

func (VMSSClass) GetUUID

func (_class VMSSClass) GetUUID(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

Get the uuid field of the given VMSS.

func (VMSSClass) GetUUIDMock

func (_class VMSSClass) GetUUIDMock(sessionID SessionRef, self VMSSRef) (_retval string, _err error)

func (VMSSClass) GetVMs

func (_class VMSSClass) GetVMs(sessionID SessionRef, self VMSSRef) (_retval []VMRef, _err error)

Get the VMs field of the given VMSS.

func (VMSSClass) GetVMsMock

func (_class VMSSClass) GetVMsMock(sessionID SessionRef, self VMSSRef) (_retval []VMRef, _err error)

func (VMSSClass) RemoveFromSchedule

func (_class VMSSClass) RemoveFromSchedule(sessionID SessionRef, self VMSSRef, key string) (_err error)

func (VMSSClass) RemoveFromScheduleMock

func (_class VMSSClass) RemoveFromScheduleMock(sessionID SessionRef, self VMSSRef, key string) (_err error)

func (VMSSClass) SetEnabled

func (_class VMSSClass) SetEnabled(sessionID SessionRef, self VMSSRef, value bool) (_err error)

Set the enabled field of the given VMSS.

func (VMSSClass) SetEnabledMock

func (_class VMSSClass) SetEnabledMock(sessionID SessionRef, self VMSSRef, value bool) (_err error)

func (VMSSClass) SetFrequency

func (_class VMSSClass) SetFrequency(sessionID SessionRef, self VMSSRef, value VmssFrequency) (_err error)

Set the value of the frequency field

func (VMSSClass) SetFrequencyMock

func (_class VMSSClass) SetFrequencyMock(sessionID SessionRef, self VMSSRef, value VmssFrequency) (_err error)

func (VMSSClass) SetLastRunTime

func (_class VMSSClass) SetLastRunTime(sessionID SessionRef, self VMSSRef, value time.Time) (_err error)

func (VMSSClass) SetLastRunTimeMock

func (_class VMSSClass) SetLastRunTimeMock(sessionID SessionRef, self VMSSRef, value time.Time) (_err error)

func (VMSSClass) SetNameDescription

func (_class VMSSClass) SetNameDescription(sessionID SessionRef, self VMSSRef, value string) (_err error)

Set the name/description field of the given VMSS.

func (VMSSClass) SetNameDescriptionMock

func (_class VMSSClass) SetNameDescriptionMock(sessionID SessionRef, self VMSSRef, value string) (_err error)

func (VMSSClass) SetNameLabel

func (_class VMSSClass) SetNameLabel(sessionID SessionRef, self VMSSRef, value string) (_err error)

Set the name/label field of the given VMSS.

func (VMSSClass) SetNameLabelMock

func (_class VMSSClass) SetNameLabelMock(sessionID SessionRef, self VMSSRef, value string) (_err error)

func (VMSSClass) SetRetainedSnapshots

func (_class VMSSClass) SetRetainedSnapshots(sessionID SessionRef, self VMSSRef, value int) (_err error)

func (VMSSClass) SetRetainedSnapshotsMock

func (_class VMSSClass) SetRetainedSnapshotsMock(sessionID SessionRef, self VMSSRef, value int) (_err error)

func (VMSSClass) SetSchedule

func (_class VMSSClass) SetSchedule(sessionID SessionRef, self VMSSRef, value map[string]string) (_err error)

func (VMSSClass) SetScheduleMock

func (_class VMSSClass) SetScheduleMock(sessionID SessionRef, self VMSSRef, value map[string]string) (_err error)

func (VMSSClass) SetType

func (_class VMSSClass) SetType(sessionID SessionRef, self VMSSRef, value VmssType) (_err error)

func (VMSSClass) SetTypeMock

func (_class VMSSClass) SetTypeMock(sessionID SessionRef, self VMSSRef, value VmssType) (_err error)

func (VMSSClass) SnapshotNow

func (_class VMSSClass) SnapshotNow(sessionID SessionRef, vmss VMSSRef) (_retval string, _err error)

This call executes the snapshot schedule immediately

func (VMSSClass) SnapshotNowMock

func (_class VMSSClass) SnapshotNowMock(sessionID SessionRef, vmss VMSSRef) (_retval string, _err error)

type VMSSRecord

type VMSSRecord struct {
	// Unique identifier/object reference
	UUID string
	// a human-readable name
	NameLabel string
	// a notes field containing human-readable description
	NameDescription string
	// enable or disable this snapshot schedule
	Enabled bool
	// type of the snapshot schedule
	Type VmssType
	// maximum number of snapshots that should be stored at any time
	RetainedSnapshots int
	// frequency of taking snapshot from snapshot schedule
	Frequency VmssFrequency
	// schedule of the snapshot containing 'hour', 'min', 'days'. Date/time-related information is in Local Timezone
	Schedule map[string]string
	// time of the last snapshot
	LastRunTime time.Time
	// all VMs attached to this snapshot schedule
	VMs []VMRef
}

func VMSSClassGetRecordMockDefault

func VMSSClassGetRecordMockDefault(sessionID SessionRef, self VMSSRef) (_retval VMSSRecord, _err error)

type VMSSRef

type VMSSRef string

func VMClassGetSnapshotScheduleMockDefault

func VMClassGetSnapshotScheduleMockDefault(sessionID SessionRef, self VMRef) (_retval VMSSRef, _err error)

func VMSSClassCreateMockDefault

func VMSSClassCreateMockDefault(sessionID SessionRef, args VMSSRecord) (_retval VMSSRef, _err error)

func VMSSClassGetAllMockDefault

func VMSSClassGetAllMockDefault(sessionID SessionRef) (_retval []VMSSRef, _err error)

func VMSSClassGetByNameLabelMockDefault

func VMSSClassGetByNameLabelMockDefault(sessionID SessionRef, label string) (_retval []VMSSRef, _err error)

func VMSSClassGetByUUIDMockDefault

func VMSSClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VMSSRef, _err error)

type VTPMClass

type VTPMClass struct {
	// contains filtered or unexported fields
}

A virtual TPM device

func (VTPMClass) Create

func (_class VTPMClass) Create(sessionID SessionRef, args VTPMRecord) (_retval VTPMRef, _err error)

Create a new VTPM instance, and return its handle. The constructor args are: VM*, backend* (* = non-optional).

func (VTPMClass) CreateMock

func (_class VTPMClass) CreateMock(sessionID SessionRef, args VTPMRecord) (_retval VTPMRef, _err error)

func (VTPMClass) Destroy

func (_class VTPMClass) Destroy(sessionID SessionRef, self VTPMRef) (_err error)

Destroy the specified VTPM instance.

func (VTPMClass) DestroyMock

func (_class VTPMClass) DestroyMock(sessionID SessionRef, self VTPMRef) (_err error)

func (VTPMClass) GetBackend

func (_class VTPMClass) GetBackend(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

Get the backend field of the given VTPM.

func (VTPMClass) GetBackendMock

func (_class VTPMClass) GetBackendMock(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

func (VTPMClass) GetByUUID

func (_class VTPMClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VTPMRef, _err error)

Get a reference to the VTPM instance with the specified UUID.

func (VTPMClass) GetByUUIDMock

func (_class VTPMClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VTPMRef, _err error)

func (VTPMClass) GetRecord

func (_class VTPMClass) GetRecord(sessionID SessionRef, self VTPMRef) (_retval VTPMRecord, _err error)

Get a record containing the current state of the given VTPM.

func (VTPMClass) GetRecordMock

func (_class VTPMClass) GetRecordMock(sessionID SessionRef, self VTPMRef) (_retval VTPMRecord, _err error)

func (VTPMClass) GetUUID

func (_class VTPMClass) GetUUID(sessionID SessionRef, self VTPMRef) (_retval string, _err error)

Get the uuid field of the given VTPM.

func (VTPMClass) GetUUIDMock

func (_class VTPMClass) GetUUIDMock(sessionID SessionRef, self VTPMRef) (_retval string, _err error)

func (VTPMClass) GetVM

func (_class VTPMClass) GetVM(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

Get the VM field of the given VTPM.

func (VTPMClass) GetVMMock

func (_class VTPMClass) GetVMMock(sessionID SessionRef, self VTPMRef) (_retval VMRef, _err error)

type VTPMRecord

type VTPMRecord struct {
	// Unique identifier/object reference
	UUID string
	// the virtual machine
	VM VMRef
	// the domain where the backend is located
	Backend VMRef
}

func VTPMClassGetRecordMockDefault

func VTPMClassGetRecordMockDefault(sessionID SessionRef, self VTPMRef) (_retval VTPMRecord, _err error)

type VTPMRef

type VTPMRef string

func VMClassGetVTPMsMockDefault

func VMClassGetVTPMsMockDefault(sessionID SessionRef, self VMRef) (_retval []VTPMRef, _err error)

func VTPMClassCreateMockDefault

func VTPMClassCreateMockDefault(sessionID SessionRef, args VTPMRecord) (_retval VTPMRef, _err error)

func VTPMClassGetByUUIDMockDefault

func VTPMClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VTPMRef, _err error)

type VUSBClass

type VUSBClass struct {
	// contains filtered or unexported fields
}

Describes the vusb device

func (VUSBClass) AddToOtherConfig

func (_class VUSBClass) AddToOtherConfig(sessionID SessionRef, self VUSBRef, key string, value string) (_err error)

Add the given key-value pair to the other_config field of the given VUSB.

func (VUSBClass) AddToOtherConfigMock

func (_class VUSBClass) AddToOtherConfigMock(sessionID SessionRef, self VUSBRef, key string, value string) (_err error)

func (VUSBClass) Create

func (_class VUSBClass) Create(sessionID SessionRef, vm VMRef, usbGroup USBGroupRef, otherConfig map[string]string) (_retval VUSBRef, _err error)

Create a new VUSB record in the database only

func (VUSBClass) CreateMock

func (_class VUSBClass) CreateMock(sessionID SessionRef, vm VMRef, usbGroup USBGroupRef, otherConfig map[string]string) (_retval VUSBRef, _err error)

func (VUSBClass) Destroy

func (_class VUSBClass) Destroy(sessionID SessionRef, self VUSBRef) (_err error)

Removes a VUSB record from the database

func (VUSBClass) DestroyMock

func (_class VUSBClass) DestroyMock(sessionID SessionRef, self VUSBRef) (_err error)

func (VUSBClass) GetAll

func (_class VUSBClass) GetAll(sessionID SessionRef) (_retval []VUSBRef, _err error)

Return a list of all the VUSBs known to the system.

func (VUSBClass) GetAllMock

func (_class VUSBClass) GetAllMock(sessionID SessionRef) (_retval []VUSBRef, _err error)

func (VUSBClass) GetAllRecords

func (_class VUSBClass) GetAllRecords(sessionID SessionRef) (_retval map[VUSBRef]VUSBRecord, _err error)

Return a map of VUSB references to VUSB records for all VUSBs known to the system.

func (VUSBClass) GetAllRecordsMock

func (_class VUSBClass) GetAllRecordsMock(sessionID SessionRef) (_retval map[VUSBRef]VUSBRecord, _err error)

func (VUSBClass) GetAllowedOperations

func (_class VUSBClass) GetAllowedOperations(sessionID SessionRef, self VUSBRef) (_retval []VusbOperations, _err error)

Get the allowed_operations field of the given VUSB.

func (VUSBClass) GetAllowedOperationsMock

func (_class VUSBClass) GetAllowedOperationsMock(sessionID SessionRef, self VUSBRef) (_retval []VusbOperations, _err error)

func (VUSBClass) GetByUUID

func (_class VUSBClass) GetByUUID(sessionID SessionRef, uuid string) (_retval VUSBRef, _err error)

Get a reference to the VUSB instance with the specified UUID.

func (VUSBClass) GetByUUIDMock

func (_class VUSBClass) GetByUUIDMock(sessionID SessionRef, uuid string) (_retval VUSBRef, _err error)

func (VUSBClass) GetCurrentOperations

func (_class VUSBClass) GetCurrentOperations(sessionID SessionRef, self VUSBRef) (_retval map[string]VusbOperations, _err error)

Get the current_operations field of the given VUSB.

func (VUSBClass) GetCurrentOperationsMock

func (_class VUSBClass) GetCurrentOperationsMock(sessionID SessionRef, self VUSBRef) (_retval map[string]VusbOperations, _err error)

func (VUSBClass) GetCurrentlyAttached

func (_class VUSBClass) GetCurrentlyAttached(sessionID SessionRef, self VUSBRef) (_retval bool, _err error)

Get the currently_attached field of the given VUSB.

func (VUSBClass) GetCurrentlyAttachedMock

func (_class VUSBClass) GetCurrentlyAttachedMock(sessionID SessionRef, self VUSBRef) (_retval bool, _err error)

func (VUSBClass) GetOtherConfig

func (_class VUSBClass) GetOtherConfig(sessionID SessionRef, self VUSBRef) (_retval map[string]string, _err error)

Get the other_config field of the given VUSB.

func (VUSBClass) GetOtherConfigMock

func (_class VUSBClass) GetOtherConfigMock(sessionID SessionRef, self VUSBRef) (_retval map[string]string, _err error)

func (VUSBClass) GetRecord

func (_class VUSBClass) GetRecord(sessionID SessionRef, self VUSBRef) (_retval VUSBRecord, _err error)

Get a record containing the current state of the given VUSB.

func (VUSBClass) GetRecordMock

func (_class VUSBClass) GetRecordMock(sessionID SessionRef, self VUSBRef) (_retval VUSBRecord, _err error)

func (VUSBClass) GetUSBGroup

func (_class VUSBClass) GetUSBGroup(sessionID SessionRef, self VUSBRef) (_retval USBGroupRef, _err error)

Get the USB_group field of the given VUSB.

func (VUSBClass) GetUSBGroupMock

func (_class VUSBClass) GetUSBGroupMock(sessionID SessionRef, self VUSBRef) (_retval USBGroupRef, _err error)

func (VUSBClass) GetUUID

func (_class VUSBClass) GetUUID(sessionID SessionRef, self VUSBRef) (_retval string, _err error)

Get the uuid field of the given VUSB.

func (VUSBClass) GetUUIDMock

func (_class VUSBClass) GetUUIDMock(sessionID SessionRef, self VUSBRef) (_retval string, _err error)

func (VUSBClass) GetVM

func (_class VUSBClass) GetVM(sessionID SessionRef, self VUSBRef) (_retval VMRef, _err error)

Get the VM field of the given VUSB.

func (VUSBClass) GetVMMock

func (_class VUSBClass) GetVMMock(sessionID SessionRef, self VUSBRef) (_retval VMRef, _err error)

func (VUSBClass) RemoveFromOtherConfig

func (_class VUSBClass) RemoveFromOtherConfig(sessionID SessionRef, self VUSBRef, key string) (_err error)

Remove the given key and its corresponding value from the other_config field of the given VUSB. If the key is not in that Map, then do nothing.

func (VUSBClass) RemoveFromOtherConfigMock

func (_class VUSBClass) RemoveFromOtherConfigMock(sessionID SessionRef, self VUSBRef, key string) (_err error)

func (VUSBClass) SetOtherConfig

func (_class VUSBClass) SetOtherConfig(sessionID SessionRef, self VUSBRef, value map[string]string) (_err error)

Set the other_config field of the given VUSB.

func (VUSBClass) SetOtherConfigMock

func (_class VUSBClass) SetOtherConfigMock(sessionID SessionRef, self VUSBRef, value map[string]string) (_err error)

func (VUSBClass) Unplug

func (_class VUSBClass) Unplug(sessionID SessionRef, self VUSBRef) (_err error)

Unplug the vusb device from the vm.

func (VUSBClass) UnplugMock

func (_class VUSBClass) UnplugMock(sessionID SessionRef, self VUSBRef) (_err error)

type VUSBRecord

type VUSBRecord struct {
	// Unique identifier/object reference
	UUID string
	// list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
	AllowedOperations []VusbOperations
	// links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
	CurrentOperations map[string]VusbOperations
	// VM that owns the VUSB
	VM VMRef
	// USB group used by the VUSB
	USBGroup USBGroupRef
	// Additional configuration
	OtherConfig map[string]string
	// is the device currently attached
	CurrentlyAttached bool
}

func VUSBClassGetRecordMockDefault

func VUSBClassGetRecordMockDefault(sessionID SessionRef, self VUSBRef) (_retval VUSBRecord, _err error)

type VUSBRef

type VUSBRef string

func USBGroupClassGetVUSBsMockDefault

func USBGroupClassGetVUSBsMockDefault(sessionID SessionRef, self USBGroupRef) (_retval []VUSBRef, _err error)

func VMClassGetVUSBsMockDefault

func VMClassGetVUSBsMockDefault(sessionID SessionRef, self VMRef) (_retval []VUSBRef, _err error)

func VUSBClassCreateMockDefault

func VUSBClassCreateMockDefault(sessionID SessionRef, vm VMRef, usbGroup USBGroupRef, otherConfig map[string]string) (_retval VUSBRef, _err error)

func VUSBClassGetAllMockDefault

func VUSBClassGetAllMockDefault(sessionID SessionRef) (_retval []VUSBRef, _err error)

func VUSBClassGetByUUIDMockDefault

func VUSBClassGetByUUIDMockDefault(sessionID SessionRef, uuid string) (_retval VUSBRef, _err error)

type VbdMode

type VbdMode string
const (
	// only read-only access will be allowed
	VbdModeRO VbdMode = "RO"
	// read-write access will be allowed
	VbdModeRW VbdMode = "RW"
)

func VBDClassGetModeMockDefault

func VBDClassGetModeMockDefault(sessionID SessionRef, self VBDRef) (_retval VbdMode, _err error)

type VbdOperations

type VbdOperations string
const (
	// Attempting to attach this VBD to a VM
	VbdOperationsAttach VbdOperations = "attach"
	// Attempting to eject the media from this VBD
	VbdOperationsEject VbdOperations = "eject"
	// Attempting to insert new media into this VBD
	VbdOperationsInsert VbdOperations = "insert"
	// Attempting to hotplug this VBD
	VbdOperationsPlug VbdOperations = "plug"
	// Attempting to hot unplug this VBD
	VbdOperationsUnplug VbdOperations = "unplug"
	// Attempting to forcibly unplug this VBD
	VbdOperationsUnplugForce VbdOperations = "unplug_force"
	// Attempting to pause a block device backend
	VbdOperationsPause VbdOperations = "pause"
	// Attempting to unpause a block device backend
	VbdOperationsUnpause VbdOperations = "unpause"
)

func VBDClassGetAllowedOperationsMockDefault

func VBDClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VBDRef) (_retval []VbdOperations, _err error)

type VbdType

type VbdType string
const (
	// VBD will appear to guest as CD
	VbdTypeCD VbdType = "CD"
	// VBD will appear to guest as disk
	VbdTypeDisk VbdType = "Disk"
	// VBD will appear as a floppy
	VbdTypeFloppy VbdType = "Floppy"
)

func VBDClassGetTypeMockDefault

func VBDClassGetTypeMockDefault(sessionID SessionRef, self VBDRef) (_retval VbdType, _err error)

type VdiNbdServerInfoClass

type VdiNbdServerInfoClass struct {
	// contains filtered or unexported fields
}

Details for connecting to a VDI using the Network Block Device protocol

type VdiNbdServerInfoRecord

type VdiNbdServerInfoRecord struct {
	// The exportname to request over NBD. This holds details including an authentication token, so it must be protected appropriately. Clients should regard the exportname as an opaque string or token.
	Exportname string
	// An address on which the server can be reached; this can be IPv4, IPv6, or a DNS name.
	Address string
	// The TCP port
	Port int
	// The TLS certificate of the server
	Cert string
	// For convenience, this redundant field holds a DNS (hostname) subject of the certificate. This can be a wildcard, but only for a certificate that has a wildcard subject and no concrete hostname subjects.
	Subject string
}

func VDIClassGetNbdInfoMockDefault

func VDIClassGetNbdInfoMockDefault(sessionID SessionRef, self VDIRef) (_retval []VdiNbdServerInfoRecord, _err error)

type VdiNbdServerInfoRef

type VdiNbdServerInfoRef string

type VdiOperations

type VdiOperations string
const (
	// Cloning the VDI
	VdiOperationsClone VdiOperations = "clone"
	// Copying the VDI
	VdiOperationsCopy VdiOperations = "copy"
	// Resizing the VDI
	VdiOperationsResize VdiOperations = "resize"
	// Resizing the VDI which may or may not be online
	VdiOperationsResizeOnline VdiOperations = "resize_online"
	// Snapshotting the VDI
	VdiOperationsSnapshot VdiOperations = "snapshot"
	// Mirroring the VDI
	VdiOperationsMirror VdiOperations = "mirror"
	// Destroying the VDI
	VdiOperationsDestroy VdiOperations = "destroy"
	// Forget about the VDI
	VdiOperationsForget VdiOperations = "forget"
	// Refreshing the fields of the VDI
	VdiOperationsUpdate VdiOperations = "update"
	// Forcibly unlocking the VDI
	VdiOperationsForceUnlock VdiOperations = "force_unlock"
	// Generating static configuration
	VdiOperationsGenerateConfig VdiOperations = "generate_config"
	// Enabling changed block tracking for a VDI
	VdiOperationsEnableCbt VdiOperations = "enable_cbt"
	// Disabling changed block tracking for a VDI
	VdiOperationsDisableCbt VdiOperations = "disable_cbt"
	// Deleting the data of the VDI
	VdiOperationsDataDestroy VdiOperations = "data_destroy"
	// Exporting a bitmap that shows the changed blocks between two VDIs
	VdiOperationsListChangedBlocks VdiOperations = "list_changed_blocks"
	// Setting the on_boot field of the VDI
	VdiOperationsSetOnBoot VdiOperations = "set_on_boot"
	// Operations on this VDI are temporarily blocked
	VdiOperationsBlocked VdiOperations = "blocked"
)

func VDIClassGetAllowedOperationsMockDefault

func VDIClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VDIRef) (_retval []VdiOperations, _err error)

type VdiType

type VdiType string
const (
	// a disk that may be replaced on upgrade
	VdiTypeSystem VdiType = "system"
	// a disk that is always preserved on upgrade
	VdiTypeUser VdiType = "user"
	// a disk that may be reformatted on upgrade
	VdiTypeEphemeral VdiType = "ephemeral"
	// a disk that stores a suspend image
	VdiTypeSuspend VdiType = "suspend"
	// a disk that stores VM crashdump information
	VdiTypeCrashdump VdiType = "crashdump"
	// a disk used for HA storage heartbeating
	VdiTypeHaStatefile VdiType = "ha_statefile"
	// a disk used for HA Pool metadata
	VdiTypeMetadata VdiType = "metadata"
	// a disk used for a general metadata redo-log
	VdiTypeRedoLog VdiType = "redo_log"
	// a disk that stores SR-level RRDs
	VdiTypeRrd VdiType = "rrd"
	// a disk that stores PVS cache data
	VdiTypePvsCache VdiType = "pvs_cache"
	// Metadata about a snapshot VDI that has been deleted: the set of blocks that changed between some previous version of the disk and the version tracked by the snapshot.
	VdiTypeCbtMetadata VdiType = "cbt_metadata"
)

func VDIClassGetTypeMockDefault

func VDIClassGetTypeMockDefault(sessionID SessionRef, self VDIRef) (_retval VdiType, _err error)

type VgpuTypeImplementation

type VgpuTypeImplementation string
const (
	// Pass through an entire physical GPU to a guest
	VgpuTypeImplementationPassthrough VgpuTypeImplementation = "passthrough"
	// vGPU using NVIDIA hardware
	VgpuTypeImplementationNvidia VgpuTypeImplementation = "nvidia"
	// vGPU using Intel GVT-g
	VgpuTypeImplementationGvtG VgpuTypeImplementation = "gvt_g"
	// vGPU using AMD MxGPU
	VgpuTypeImplementationMxgpu VgpuTypeImplementation = "mxgpu"
)

func VGPUTypeClassGetImplementationMockDefault

func VGPUTypeClassGetImplementationMockDefault(sessionID SessionRef, self VGPUTypeRef) (_retval VgpuTypeImplementation, _err error)

type VifIpv4ConfigurationMode

type VifIpv4ConfigurationMode string
const (
	// Follow the default IPv4 configuration of the guest (this is guest-dependent)
	VifIpv4ConfigurationModeNone VifIpv4ConfigurationMode = "None"
	// Static IPv4 address configuration
	VifIpv4ConfigurationModeStatic VifIpv4ConfigurationMode = "Static"
)

func VIFClassGetIpv4ConfigurationModeMockDefault

func VIFClassGetIpv4ConfigurationModeMockDefault(sessionID SessionRef, self VIFRef) (_retval VifIpv4ConfigurationMode, _err error)

type VifIpv6ConfigurationMode

type VifIpv6ConfigurationMode string
const (
	// Follow the default IPv6 configuration of the guest (this is guest-dependent)
	VifIpv6ConfigurationModeNone VifIpv6ConfigurationMode = "None"
	// Static IPv6 address configuration
	VifIpv6ConfigurationModeStatic VifIpv6ConfigurationMode = "Static"
)

func VIFClassGetIpv6ConfigurationModeMockDefault

func VIFClassGetIpv6ConfigurationModeMockDefault(sessionID SessionRef, self VIFRef) (_retval VifIpv6ConfigurationMode, _err error)

type VifLockingMode

type VifLockingMode string
const (
	// No specific configuration set - default network policy applies
	VifLockingModeNetworkDefault VifLockingMode = "network_default"
	// Only traffic to a specific MAC and a list of IPv4 or IPv6 addresses is permitted
	VifLockingModeLocked VifLockingMode = "locked"
	// All traffic is permitted
	VifLockingModeUnlocked VifLockingMode = "unlocked"
	// No traffic is permitted
	VifLockingModeDisabled VifLockingMode = "disabled"
)

func VIFClassGetLockingModeMockDefault

func VIFClassGetLockingModeMockDefault(sessionID SessionRef, self VIFRef) (_retval VifLockingMode, _err error)

type VifOperations

type VifOperations string
const (
	// Attempting to attach this VIF to a VM
	VifOperationsAttach VifOperations = "attach"
	// Attempting to hotplug this VIF
	VifOperationsPlug VifOperations = "plug"
	// Attempting to hot unplug this VIF
	VifOperationsUnplug VifOperations = "unplug"
)

func VIFClassGetAllowedOperationsMockDefault

func VIFClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VIFRef) (_retval []VifOperations, _err error)

type VmppArchiveFrequency

type VmppArchiveFrequency string
const (
	// Never archive
	VmppArchiveFrequencyNever VmppArchiveFrequency = "never"
	// Archive after backup
	VmppArchiveFrequencyAlwaysAfterBackup VmppArchiveFrequency = "always_after_backup"
	// Daily archives
	VmppArchiveFrequencyDaily VmppArchiveFrequency = "daily"
	// Weekly backups
	VmppArchiveFrequencyWeekly VmppArchiveFrequency = "weekly"
)

func VMPPClassGetArchiveFrequencyMockDefault

func VMPPClassGetArchiveFrequencyMockDefault(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveFrequency, _err error)

type VmppArchiveTargetType

type VmppArchiveTargetType string
const (
	// No target config
	VmppArchiveTargetTypeNone VmppArchiveTargetType = "none"
	// CIFS target config
	VmppArchiveTargetTypeCifs VmppArchiveTargetType = "cifs"
	// NFS target config
	VmppArchiveTargetTypeNfs VmppArchiveTargetType = "nfs"
)

func VMPPClassGetArchiveTargetTypeMockDefault

func VMPPClassGetArchiveTargetTypeMockDefault(sessionID SessionRef, self VMPPRef) (_retval VmppArchiveTargetType, _err error)

type VmppBackupFrequency

type VmppBackupFrequency string
const (
	// Hourly backups
	VmppBackupFrequencyHourly VmppBackupFrequency = "hourly"
	// Daily backups
	VmppBackupFrequencyDaily VmppBackupFrequency = "daily"
	// Weekly backups
	VmppBackupFrequencyWeekly VmppBackupFrequency = "weekly"
)

func VMPPClassGetBackupFrequencyMockDefault

func VMPPClassGetBackupFrequencyMockDefault(sessionID SessionRef, self VMPPRef) (_retval VmppBackupFrequency, _err error)

type VmppBackupType

type VmppBackupType string
const (
	// The backup is a snapshot
	VmppBackupTypeSnapshot VmppBackupType = "snapshot"
	// The backup is a checkpoint
	VmppBackupTypeCheckpoint VmppBackupType = "checkpoint"
)

func VMPPClassGetBackupTypeMockDefault

func VMPPClassGetBackupTypeMockDefault(sessionID SessionRef, self VMPPRef) (_retval VmppBackupType, _err error)

type VmssFrequency

type VmssFrequency string
const (
	// Hourly snapshots
	VmssFrequencyHourly VmssFrequency = "hourly"
	// Daily snapshots
	VmssFrequencyDaily VmssFrequency = "daily"
	// Weekly snapshots
	VmssFrequencyWeekly VmssFrequency = "weekly"
)

func VMSSClassGetFrequencyMockDefault

func VMSSClassGetFrequencyMockDefault(sessionID SessionRef, self VMSSRef) (_retval VmssFrequency, _err error)

type VmssType

type VmssType string
const (
	// The snapshot is a disk snapshot
	VmssTypeSnapshot VmssType = "snapshot"
	// The snapshot is a checkpoint
	VmssTypeCheckpoint VmssType = "checkpoint"
	// The snapshot is a VSS
	VmssTypeSnapshotWithQuiesce VmssType = "snapshot_with_quiesce"
)

func VMSSClassGetTypeMockDefault

func VMSSClassGetTypeMockDefault(sessionID SessionRef, self VMSSRef) (_retval VmssType, _err error)

type VusbOperations

type VusbOperations string
const (
	// Attempting to attach this VUSB to a VM
	VusbOperationsAttach VusbOperations = "attach"
	// Attempting to plug this VUSB into a VM
	VusbOperationsPlug VusbOperations = "plug"
	// Attempting to hot unplug this VUSB
	VusbOperationsUnplug VusbOperations = "unplug"
)

func VUSBClassGetAllowedOperationsMockDefault

func VUSBClassGetAllowedOperationsMockDefault(sessionID SessionRef, self VUSBRef) (_retval []VusbOperations, _err error)

Jump to

Keyboard shortcuts

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