2021-09-10 12:10:27 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
module Clusters
|
|
|
|
class AgentAuthorization < Grape::Entity
|
|
|
|
expose :agent_id, as: :id
|
2021-10-08 06:11:46 +00:00
|
|
|
expose :config_project, with: Entities::ProjectIdentity
|
2021-09-10 12:10:27 +00:00
|
|
|
expose :config, as: :configuration
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|