gitlab-org--gitlab-foss/lib/api/entities/clusters/agent_authorization.rb

13 lines
296 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Clusters
class AgentAuthorization < Grape::Entity
expose :agent_id, as: :id
expose :config_project, with: Entities::ProjectIdentity
expose :config, as: :configuration
end
end
end
end