Class: Fog::Compute::Proxmox::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/compute/proxmox.rb,
lib/fog/compute/proxmox/requests/get_vnc.rb,
lib/fog/compute/proxmox/requests/get_node.rb,
lib/fog/compute/proxmox/requests/get_task.rb,
lib/fog/compute/proxmox/requests/log_task.rb,
lib/fog/compute/proxmox/requests/move_disk.rb,
lib/fog/compute/proxmox/requests/next_vmid.rb,
lib/fog/compute/proxmox/requests/stop_task.rb,
lib/fog/compute/proxmox/requests/check_vmid.rb,
lib/fog/compute/proxmox/requests/create_vnc.rb,
lib/fog/compute/proxmox/requests/get_volume.rb,
lib/fog/compute/proxmox/requests/list_nodes.rb,
lib/fog/compute/proxmox/requests/list_tasks.rb,
lib/fog/compute/proxmox/requests/create_term.rb,
lib/fog/compute/proxmox/requests/get_storage.rb,
lib/fog/compute/proxmox/requests/move_volume.rb,
lib/fog/compute/proxmox/requests/status_task.rb,
lib/fog/compute/proxmox/requests/clone_server.rb,
lib/fog/compute/proxmox/requests/create_spice.rb,
lib/fog/compute/proxmox/requests/get_snapshot.rb,
lib/fog/compute/proxmox/requests/list_servers.rb,
lib/fog/compute/proxmox/requests/list_volumes.rb,
lib/fog/compute/proxmox/requests/action_server.rb,
lib/fog/compute/proxmox/requests/create_backup.rb,
lib/fog/compute/proxmox/requests/create_server.rb,
lib/fog/compute/proxmox/requests/delete_server.rb,
lib/fog/compute/proxmox/requests/delete_volume.rb,
lib/fog/compute/proxmox/requests/list_storages.rb,
lib/fog/compute/proxmox/requests/resize_server.rb,
lib/fog/compute/proxmox/requests/update_server.rb,
lib/fog/compute/proxmox/requests/list_snapshots.rb,
lib/fog/compute/proxmox/requests/migrate_server.rb,
lib/fog/compute/proxmox/requests/create_snapshot.rb,
lib/fog/compute/proxmox/requests/delete_snapshot.rb,
lib/fog/compute/proxmox/requests/template_server.rb,
lib/fog/compute/proxmox/requests/update_snapshot.rb,
lib/fog/compute/proxmox/requests/resize_container.rb,
lib/fog/compute/proxmox/requests/get_server_config.rb,
lib/fog/compute/proxmox/requests/get_server_status.rb,
lib/fog/compute/proxmox/requests/rollback_snapshot.rb,
lib/fog/compute/proxmox/requests/get_node_statistics.rb

Overview

class Mock get_statistics request

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock


110
111
112
113
114
# File 'lib/fog/compute/proxmox.rb', line 110

def initialize(options = {})
  @pve_uri = URI.parse(options[:pve_url])
  @pve_path = @pve_uri.path
  @config = options
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config


108
109
110
# File 'lib/fog/compute/proxmox.rb', line 108

def config
  @config
end

Instance Method Details

#create_snapshotObject


43
# File 'lib/fog/compute/proxmox/requests/create_snapshot.rb', line 43

def create_snapshot; end

#delete_snapshotObject


44
# File 'lib/fog/compute/proxmox/requests/delete_snapshot.rb', line 44

def delete_snapshot; end

#delete_volumeObject


36
# File 'lib/fog/compute/proxmox/requests/delete_volume.rb', line 36

def delete_volume; end

#get_nodeObject


40
# File 'lib/fog/compute/proxmox/requests/get_node.rb', line 40

def get_node; end

#get_node_statisticsObject


43
# File 'lib/fog/compute/proxmox/requests/get_node_statistics.rb', line 43

def get_node_statistics; end

#get_snapshotObject


43
# File 'lib/fog/compute/proxmox/requests/get_snapshot.rb', line 43

def get_snapshot; end

#get_storageObject


40
# File 'lib/fog/compute/proxmox/requests/get_storage.rb', line 40

def get_storage; end

#get_task(node, upid) ⇒ Object


40
# File 'lib/fog/compute/proxmox/requests/get_task.rb', line 40

def get_task(node, upid); end

#get_volumeObject


38
# File 'lib/fog/compute/proxmox/requests/get_volume.rb', line 38

def get_volume; end

#list_nodesObject


38
# File 'lib/fog/compute/proxmox/requests/list_nodes.rb', line 38

def list_nodes; end

#list_serversObject


38
# File 'lib/fog/compute/proxmox/requests/list_servers.rb', line 38

def list_servers; end

#list_snapshotsObject


39
# File 'lib/fog/compute/proxmox/requests/list_snapshots.rb', line 39

def list_snapshots; end

#list_storagesObject


38
# File 'lib/fog/compute/proxmox/requests/list_storages.rb', line 38

def list_storages; end

#list_tasksObject


38
# File 'lib/fog/compute/proxmox/requests/list_tasks.rb', line 38

def list_tasks; end

#list_volumesObject


38
# File 'lib/fog/compute/proxmox/requests/list_volumes.rb', line 38

def list_volumes; end

#log_task(node, upid) ⇒ Object


41
# File 'lib/fog/compute/proxmox/requests/log_task.rb', line 41

def log_task(node, upid); end

#migrate_serverObject


40
# File 'lib/fog/compute/proxmox/requests/migrate_server.rb', line 40

def migrate_server; end

#move_diskObject


42
# File 'lib/fog/compute/proxmox/requests/move_disk.rb', line 42

def move_disk; end

#move_volumeObject


42
# File 'lib/fog/compute/proxmox/requests/move_volume.rb', line 42

def move_volume; end

#resize_containerObject


42
# File 'lib/fog/compute/proxmox/requests/resize_container.rb', line 42

def resize_container; end

#resize_serverObject


39
# File 'lib/fog/compute/proxmox/requests/resize_server.rb', line 39

def resize_server; end

#rollback_snapshotObject


42
# File 'lib/fog/compute/proxmox/requests/rollback_snapshot.rb', line 42

def rollback_snapshot; end

#status_task(node, upid) ⇒ Object


40
# File 'lib/fog/compute/proxmox/requests/status_task.rb', line 40

def status_task(node, upid); end

#stop_task(taskid) ⇒ Object


37
# File 'lib/fog/compute/proxmox/requests/stop_task.rb', line 37

def stop_task(taskid); end

#update_snapshotObject


41
# File 'lib/fog/compute/proxmox/requests/update_snapshot.rb', line 41

def update_snapshot; end