Class: OracleZFS::Client
- Inherits:
-
Object
- Object
- OracleZFS::Client
- Includes:
- MintLogger
- Defined in:
- src/oracle-zfs-client/lib/oracle-zfs/client.rb
Properties (Read/Write)
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary collapse
-
#api_url ⇒ Object
readonly
Returns the value of attribute api_url.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
- #authenticate! ⇒ Object
- #authenticated? ⇒ Boolean
- #full_url(path) ⇒ Object
- #hardware_services ⇒ Object
- #http_delete(path) ⇒ Object
- #http_get(url) ⇒ Object
- #http_post(path, payload) ⇒ Object
- #http_put(path, payload = nil) ⇒ Object
-
#initialize(opts = nil) ⇒ Client
constructor
A new instance of Client.
- #raise_http_exception(caught_exception, path) ⇒ Object
- #replication_services ⇒ Object
- #request_headers(opts = {}) ⇒ Object
-
#storage_services ⇒ Object
methods to other API objects.
- #system_commands ⇒ Object
- #user_services ⇒ Object
- #valid_uri?(uri) ⇒ Boolean
-
#validate_client_options! ⇒ Object
client methods.
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Constructor Details
#initialize(opts = nil) ⇒ Client
Returns a new instance of Client.
Instance Attribute Details
#api_url ⇒ Object (readonly)
Returns the value of attribute api_url.
#password ⇒ Object (readonly)
Returns the value of attribute password.
#username ⇒ Object (readonly)
Returns the value of attribute username.
Instance Method Details
#authenticate! ⇒ Object
#authenticated? ⇒ Boolean
#full_url(path) ⇒ Object
#hardware_services ⇒ Object
#http_delete(path) ⇒ Object
#http_get(url) ⇒ Object
#http_post(path, payload) ⇒ Object
#http_put(path, payload = nil) ⇒ Object
#raise_http_exception(caught_exception, path) ⇒ Object
#replication_services ⇒ Object
#request_headers(opts = {}) ⇒ Object
#storage_services ⇒ Object
methods to other API objects
#system_commands ⇒ Object
#user_services ⇒ Object
#valid_uri?(uri) ⇒ Boolean
#validate_client_options! ⇒ Object
client methods