Class: Fog::Proxmox::Identity::Mock
- Inherits:
-
Object
- Object
- Fog::Proxmox::Identity::Mock
- Defined in:
- lib/fog/identity/proxmox.rb,
lib/fog/identity/proxmox/requests/get_pool.rb,
lib/fog/identity/proxmox/requests/get_role.rb,
lib/fog/identity/proxmox/requests/get_user.rb,
lib/fog/identity/proxmox/requests/get_group.rb,
lib/fog/identity/proxmox/requests/get_domain.rb,
lib/fog/identity/proxmox/requests/list_pools.rb,
lib/fog/identity/proxmox/requests/list_roles.rb,
lib/fog/identity/proxmox/requests/list_users.rb,
lib/fog/identity/proxmox/requests/create_pool.rb,
lib/fog/identity/proxmox/requests/create_role.rb,
lib/fog/identity/proxmox/requests/create_user.rb,
lib/fog/identity/proxmox/requests/delete_pool.rb,
lib/fog/identity/proxmox/requests/delete_role.rb,
lib/fog/identity/proxmox/requests/delete_user.rb,
lib/fog/identity/proxmox/requests/list_groups.rb,
lib/fog/identity/proxmox/requests/update_pool.rb,
lib/fog/identity/proxmox/requests/update_role.rb,
lib/fog/identity/proxmox/requests/update_user.rb,
lib/fog/identity/proxmox/requests/create_group.rb,
lib/fog/identity/proxmox/requests/delete_group.rb,
lib/fog/identity/proxmox/requests/list_domains.rb,
lib/fog/identity/proxmox/requests/read_version.rb,
lib/fog/identity/proxmox/requests/update_group.rb,
lib/fog/identity/proxmox/requests/create_domain.rb,
lib/fog/identity/proxmox/requests/delete_domain.rb,
lib/fog/identity/proxmox/requests/update_domain.rb,
lib/fog/identity/proxmox/requests/change_password.rb,
lib/fog/identity/proxmox/requests/list_permissions.rb,
lib/fog/identity/proxmox/requests/check_permissions.rb,
lib/fog/identity/proxmox/requests/update_permissions.rb
Overview
class Mock update_permissions request
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #get_domain(realm) ⇒ Object
- #get_group(groupid) ⇒ Object
- #get_pool(poolid) ⇒ Object
- #get_role(roleid) ⇒ Object
- #get_user(userid) ⇒ Object
-
#initialize(options = {}) ⇒ Mock
constructor
A new instance of Mock.
- #list_domains ⇒ Object
- #list_groups ⇒ Object
- #list_permissions ⇒ Object
- #list_pools ⇒ Object
- #list_roles ⇒ Object
- #list_users(options = {}) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Mock
Returns a new instance of Mock.
95 96 97 98 99 |
# File 'lib/fog/identity/proxmox.rb', line 95 def initialize( = {}) @pve_uri = URI.parse([:pve_url]) @pve_path = @pve_uri.path @config = end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
93 94 95 |
# File 'lib/fog/identity/proxmox.rb', line 93 def config @config end |
Instance Method Details
#get_domain(realm) ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/get_domain.rb', line 37 def get_domain(realm); end |
#get_group(groupid) ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/get_group.rb', line 37 def get_group(groupid); end |
#get_pool(poolid) ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/get_pool.rb', line 37 def get_pool(poolid); end |
#get_role(roleid) ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/get_role.rb', line 37 def get_role(roleid); end |
#get_user(userid) ⇒ Object
36 |
# File 'lib/fog/identity/proxmox/requests/get_user.rb', line 36 def get_user(userid); end |
#list_domains ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/list_domains.rb', line 37 def list_domains; end |
#list_groups ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/list_groups.rb', line 37 def list_groups; end |
#list_permissions ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/list_permissions.rb', line 37 def ; end |
#list_pools ⇒ Object
37 |
# File 'lib/fog/identity/proxmox/requests/list_pools.rb', line 37 def list_pools; end |
#list_roles ⇒ Object
36 |
# File 'lib/fog/identity/proxmox/requests/list_roles.rb', line 36 def list_roles; end |
#list_users(options = {}) ⇒ Object
38 |
# File 'lib/fog/identity/proxmox/requests/list_users.rb', line 38 def list_users( = {}); end |