Module: Fog::Proxmox

Extended by:
Provider
Defined in:
lib/fog/proxmox.rb,
lib/fog/proxmox/core.rb,
lib/fog/proxmox/hash.rb,
lib/fog/proxmox/json.rb,
lib/fog/proxmox/errors.rb,
lib/fog/proxmox/string.rb,
lib/fog/proxmox/compute.rb,
lib/fog/proxmox/network.rb,
lib/fog/proxmox/storage.rb,
lib/fog/proxmox/version.rb,
lib/fog/proxmox/identity.rb,
lib/fog/proxmox/variables.rb,
lib/fog/proxmox/attributes.rb,
lib/fog/proxmox/auth/token.rb,
lib/fog/proxmox/helpers/ip_helper.rb,
lib/fog/proxmox/helpers/cpu_helper.rb,
lib/fog/proxmox/helpers/nic_helper.rb,
lib/fog/proxmox/compute/models/disk.rb,
lib/fog/proxmox/compute/models/node.rb,
lib/fog/proxmox/compute/models/task.rb,
lib/fog/proxmox/helpers/disk_helper.rb,
lib/fog/proxmox/network/models/node.rb,
lib/fog/proxmox/compute/models/disks.rb,
lib/fog/proxmox/compute/models/nodes.rb,
lib/fog/proxmox/compute/models/tasks.rb,
lib/fog/proxmox/identity/models/pool.rb,
lib/fog/proxmox/identity/models/role.rb,
lib/fog/proxmox/identity/models/user.rb,
lib/fog/proxmox/network/models/nodes.rb,
lib/fog/proxmox/auth/token/user_token.rb,
lib/fog/proxmox/compute/models/server.rb,
lib/fog/proxmox/compute/models/volume.rb,
lib/fog/proxmox/identity/models/group.rb,
lib/fog/proxmox/identity/models/pools.rb,
lib/fog/proxmox/identity/models/roles.rb,
lib/fog/proxmox/identity/models/token.rb,
lib/fog/proxmox/identity/models/users.rb,
lib/fog/proxmox/compute/models/servers.rb,
lib/fog/proxmox/compute/models/storage.rb,
lib/fog/proxmox/compute/models/volumes.rb,
lib/fog/proxmox/identity/models/domain.rb,
lib/fog/proxmox/identity/models/groups.rb,
lib/fog/proxmox/identity/models/tokens.rb,
lib/fog/proxmox/network/models/network.rb,
lib/fog/proxmox/compute/models/snapshot.rb,
lib/fog/proxmox/compute/models/storages.rb,
lib/fog/proxmox/identity/models/domains.rb,
lib/fog/proxmox/network/models/networks.rb,
lib/fog/proxmox/auth/token/access_ticket.rb,
lib/fog/proxmox/compute/models/interface.rb,
lib/fog/proxmox/compute/models/snapshots.rb,
lib/fog/proxmox/compute/requests/get_vnc.rb,
lib/fog/proxmox/compute/models/interfaces.rb,
lib/fog/proxmox/compute/requests/get_task.rb,
lib/fog/proxmox/compute/requests/log_task.rb,
lib/fog/proxmox/helpers/controller_helper.rb,
lib/fog/proxmox/identity/models/principal.rb,
lib/fog/proxmox/network/requests/get_node.rb,
lib/fog/proxmox/compute/requests/move_disk.rb,
lib/fog/proxmox/compute/requests/next_vmid.rb,
lib/fog/proxmox/compute/requests/stop_task.rb,
lib/fog/proxmox/identity/models/permission.rb,
lib/fog/proxmox/identity/models/token_info.rb,
lib/fog/proxmox/identity/requests/get_pool.rb,
lib/fog/proxmox/identity/requests/get_role.rb,
lib/fog/proxmox/identity/requests/get_user.rb,
lib/fog/proxmox/compute/requests/create_vnc.rb,
lib/fog/proxmox/compute/requests/get_volume.rb,
lib/fog/proxmox/compute/requests/list_nodes.rb,
lib/fog/proxmox/compute/requests/list_tasks.rb,
lib/fog/proxmox/identity/models/domain_type.rb,
lib/fog/proxmox/identity/models/permissions.rb,
lib/fog/proxmox/identity/requests/get_group.rb,
lib/fog/proxmox/network/requests/list_nodes.rb,
lib/fog/proxmox/network/requests/power_node.rb,
lib/fog/proxmox/compute/models/server_config.rb,
lib/fog/proxmox/compute/requests/create_term.rb,
lib/fog/proxmox/compute/requests/move_volume.rb,
lib/fog/proxmox/compute/requests/status_task.rb,
lib/fog/proxmox/identity/requests/get_domain.rb,
lib/fog/proxmox/identity/requests/list_pools.rb,
lib/fog/proxmox/identity/requests/list_roles.rb,
lib/fog/proxmox/identity/requests/list_users.rb,
lib/fog/proxmox/network/requests/get_network.rb,
lib/fog/proxmox/compute/requests/clone_server.rb,
lib/fog/proxmox/compute/requests/create_spice.rb,
lib/fog/proxmox/compute/requests/list_servers.rb,
lib/fog/proxmox/compute/requests/list_volumes.rb,
lib/fog/proxmox/identity/requests/create_pool.rb,
lib/fog/proxmox/identity/requests/create_role.rb,
lib/fog/proxmox/identity/requests/create_user.rb,
lib/fog/proxmox/identity/requests/delete_pool.rb,
lib/fog/proxmox/identity/requests/delete_role.rb,
lib/fog/proxmox/identity/requests/delete_user.rb,
lib/fog/proxmox/identity/requests/list_groups.rb,
lib/fog/proxmox/identity/requests/list_tokens.rb,
lib/fog/proxmox/identity/requests/update_pool.rb,
lib/fog/proxmox/identity/requests/update_role.rb,
lib/fog/proxmox/identity/requests/update_user.rb,
lib/fog/proxmox/compute/requests/action_server.rb,
lib/fog/proxmox/compute/requests/create_backup.rb,
lib/fog/proxmox/compute/requests/create_server.rb,
lib/fog/proxmox/compute/requests/delete_server.rb,
lib/fog/proxmox/compute/requests/delete_volume.rb,
lib/fog/proxmox/compute/requests/list_storages.rb,
lib/fog/proxmox/compute/requests/resize_server.rb,
lib/fog/proxmox/compute/requests/update_server.rb,
lib/fog/proxmox/identity/requests/create_group.rb,
lib/fog/proxmox/identity/requests/create_token.rb,
lib/fog/proxmox/identity/requests/delete_group.rb,
lib/fog/proxmox/identity/requests/delete_token.rb,
lib/fog/proxmox/identity/requests/list_domains.rb,
lib/fog/proxmox/identity/requests/read_version.rb,
lib/fog/proxmox/identity/requests/update_group.rb,
lib/fog/proxmox/identity/requests/update_token.rb,
lib/fog/proxmox/network/requests/list_networks.rb,
lib/fog/proxmox/compute/requests/list_snapshots.rb,
lib/fog/proxmox/compute/requests/migrate_server.rb,
lib/fog/proxmox/identity/requests/create_domain.rb,
lib/fog/proxmox/identity/requests/delete_domain.rb,
lib/fog/proxmox/identity/requests/update_domain.rb,
lib/fog/proxmox/network/requests/create_network.rb,
lib/fog/proxmox/network/requests/delete_network.rb,
lib/fog/proxmox/network/requests/update_network.rb,
lib/fog/proxmox/compute/requests/create_snapshot.rb,
lib/fog/proxmox/compute/requests/delete_snapshot.rb,
lib/fog/proxmox/compute/requests/template_server.rb,
lib/fog/proxmox/compute/requests/update_snapshot.rb,
lib/fog/proxmox/identity/requests/get_token_info.rb,
lib/fog/proxmox/compute/requests/resize_container.rb,
lib/fog/proxmox/identity/requests/change_password.rb,
lib/fog/proxmox/compute/requests/get_server_config.rb,
lib/fog/proxmox/compute/requests/get_server_status.rb,
lib/fog/proxmox/compute/requests/rollback_snapshot.rb,
lib/fog/proxmox/identity/requests/list_permissions.rb,
lib/fog/proxmox/identity/requests/check_permissions.rb,
lib/fog/proxmox/compute/requests/get_node_statistics.rb,
lib/fog/proxmox/compute/requests/get_snapshot_config.rb,
lib/fog/proxmox/identity/requests/update_permissions.rb,
lib/fog/proxmox/identity/requests/list_user_permissions.rb

Overview

Proxmox module

Defined Under Namespace

Modules: Attributes, Auth, ControllerHelper, Core, CpuHelper, DiskHelper, Errors, Hash, IpHelper, Json, NicHelper, String, Variables Classes: Compute, Identity, Network, Storage

Constant Summary collapse

VERSION =
'0.15.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.token_cacheObject

Returns the value of attribute token_cache.



46
47
48
# File 'lib/fog/proxmox.rb', line 46

def token_cache
  @token_cache
end

Class Method Details

.clear_token_cacheObject



49
50
51
# File 'lib/fog/proxmox.rb', line 49

def self.clear_token_cache
  Fog::Proxmox.token_cache = {}
end