Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENDPOINT = "endpoint" USERID = "userid" CURRENTUSER = "username" PASSWORD = "password" TEMPLATE = "template" IMAGE = "image" ONEZONE = "region" VCPU_PERCENTAGE = "vcpu_percentage" CLUSTER = "cluster" // user action methods ONE_USER_CREATE = "one.user.allocate" // virtual network action methods VNET_CREATE = "one.vn.allocate" VNET_ADDIP = "one.vn.add_ar" VNET_SHOW = "one.vn.info" VNET_LIST = "one.vnpool.info" VNET_HOLD = "one.vn.hold" VNET_RELEASE = "one.vn.release" // host action methods ONE_HOST_INFO = "one.host.info" ONE_HOST_POOL = "one.hostpool.info" ONE_HOST_ALLOCATE = "one.host.allocate" ONE_HOST_DELETE = "one.host.delete" // datastore action methods ONE_DATASTORE_INFO = "one.datastore.info" ONE_DATASTOREPOOL_INFO = "one.datastorepool.info" ONE_DATASTORE_ALLOCATE = "one.datastore.allocate" // image action methods ONE_IMAGE_SHOW = "one.image.info" ONE_IMAGE_LIST = "one.imagepool.info" ONE_IMAGE_CREATE = "one.image.allocate" ONE_IMAGE_DELETE = "one.image.delete" ONE_IMAGE_PERSISTENT = "one.image.persistent" ONE_IMAGE_TYPECHANGE = "one.image.chtype" ONE_IMAGE_RENAME = "one.image.rename" ONE_IMAGE_ENABLE = "one.image.enable" ONE_IMAGE_REMOVE = "one.image.delete" ONE_IMAGE_UPDATE = "one.image.update" // virtualmachine action methods VM_INFO = "one.vm.info" DISK_ATTACH = "one.vm.attach" DISK_DETACH = "one.vm.detach" ONE_VM_ACTION = "one.vm.action" ONE_DISK_SNAPSHOT = "one.vm.disksaveas" ONE_RECOVER = "one.vm.recover" DISK_SNAPSHOT_CREATE = "one.vm.disksnapshotcreate" DISK_SNAPSHOT_DELETE = "one.vm.disksnapshotdelete" DISK_SNAPSHOT_REVERT = "one.vm.disksnapshotrevert" VMPOOL_ACCOUNTING = "one.vmpool.accounting" VMPOOL_INFO = "one.vmpool.info" ONE_VM_ATTACHNIC = "one.vm.attachnic" ONE_VM_DETACHNIC = "one.vm.detachnic" ONE_VM_RESIZE = "one.vm.resize" // template action methods TEMPLATE_INSTANTIATE = "one.template.instantiate" TEMPLATEPOOL_INFO = "one.templatepool.info" TEMPLATE_UPDATE = "one.template.update" ONE_TEMPLATE_ALLOCATE = "one.template.allocate" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.