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: 3c893615b2039aee25a56e3d5a1b0ff4eb560c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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