2018-07-19 18:43:13 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-10-03 21:21:54 +00:00
|
|
|
class ClusterEntity < Grape::Entity
|
|
|
|
include RequestAwareEntity
|
|
|
|
|
2017-10-04 20:13:10 +00:00
|
|
|
expose :status_name, as: :status
|
2017-10-03 21:21:54 +00:00
|
|
|
expose :status_reason
|
2017-11-06 16:02:28 +00:00
|
|
|
expose :applications, using: ClusterApplicationEntity
|
2017-10-03 21:21:54 +00:00
|
|
|
end
|