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

runner_platform_type.rb « ci « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e481cc08bf8d7a2dbc300fc226a42124095dd17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    class RunnerPlatformType < BaseObject
      graphql_name 'RunnerPlatform'

      field :architectures,
            Types::Ci::RunnerArchitectureType.connection_type,
            null: true,
            description: 'Runner architectures supported for the platform.'
      field :human_readable_name, GraphQL::Types::String, null: false,
                                                          description: 'Human readable name of the runner platform.'
      field :name, GraphQL::Types::String, null: false,
                                           description: 'Name slug of the runner platform.'
    end
  end
end