Welcome to mirror list, hosted at ThFree Co, Russian Federation.

agent_authorization.rb « clusters « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c533fff105ab580df3f2ad607679e4df3036558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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