Class: UffizziCore::LogsService
- Inherits:
-
Object
- Object
- UffizziCore::LogsService
- Defined in:
- app/services/uffizzi_core/logs_service.rb
Constant Summary collapse
- NOT_ALLOWED_SYMBOLS_IN_NAME_REGEX =
/[^a-zA-Z0-9-]/.freeze
Class Method Summary collapse
Class Method Details
.fetch_container_logs(container, query = {}) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'app/services/uffizzi_core/logs_service.rb', line 7 def fetch_container_logs(container, query = {}) response = request_logs(container, query).result || {} response = Hashie::Mash.new(response) logs = response.logs || [] { logs: logs, } end |