Module: VpsbClient
- Defined in:
- lib/vpsb_client.rb,
lib/vpsb_client/config.rb,
lib/vpsb_client/manager.rb,
lib/vpsb_client/version.rb,
lib/vpsb_client/api/request.rb,
lib/vpsb_client/http_client.rb,
lib/vpsb_client/api/response.rb,
lib/vpsb_client/curl_wrapper.rb,
lib/vpsb_client/builders/trial.rb,
lib/vpsb_client/metrics/manager.rb,
lib/vpsb_client/metrics/uploader.rb,
lib/vpsb_client/api/post_sysbench_run.rb,
lib/vpsb_client/client/upload_metrics.rb,
lib/vpsb_client/datafiles/sar_manager.rb,
lib/vpsb_client/api/close_trial_request.rb,
lib/vpsb_client/api/get_item_id_request.rb,
lib/vpsb_client/api/post_metric_request.rb,
lib/vpsb_client/metrics/interval_config.rb,
lib/vpsb_client/api/create_trial_request.rb,
lib/vpsb_client/metrics/interval_builder.rb,
lib/vpsb_client/builders/system_info_parser.rb,
lib/vpsb_client/datafiles/timing_log_parser.rb,
lib/vpsb_client/api/get_trial_sysbench_tests.rb,
lib/vpsb_client/api/get_current_trial_request.rb,
lib/vpsb_client/datafiles/logfile_decompressor.rb,
lib/vpsb_client/api/get_trial_last_metric_request.rb,
lib/vpsb_client/datafiles/formatted_sar_log_parser.rb
Defined Under Namespace
Modules: Api, Builders, Client, Datafiles, Metrics
Classes: Config, CurlWrapper, HttpClient, Manager
Constant Summary
collapse
- VERSION =
"1.0.0"
Class Method Summary
collapse
Class Method Details
.logger ⇒ Object
28
29
30
31
32
33
34
|
# File 'lib/vpsb_client.rb', line 28
def self.logger
if defined?(@@logger)
@@logger
else
@@logger = Logger.new('/dev/null')
end
end
|
.logger=(logger) ⇒ Object
24
25
26
|
# File 'lib/vpsb_client.rb', line 24
def self.logger=(logger)
@@logger = logger
end
|