示例#1
0
func (this *OpenStack) VmDelete(vm *lobster.VirtualMachine) error {
	return servers.Delete(this.ComputeClient, vm.Identification).ExtractErr()
}
示例#2
0
func (os *OpenStack) DeleteInstance(instanceID string) error {
	return servers.Delete(os.ComputeClient, instanceID).ExtractErr()
}