summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/runner_upgrade_status_type_enum.rb
blob: e3d77e485bc6b5b9f60784a78838c28f1d56bd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Types
  module Ci
    class RunnerUpgradeStatusTypeEnum < BaseEnum
      graphql_name 'CiRunnerUpgradeStatusType'

      value 'NOT_AVAILABLE',
            description: "An update is not available for the runner.",
            value: :not_available

      value 'AVAILABLE',
            description: "An update is available for the runner.",
            value: :available

      value 'RECOMMENDED',
            description: "An update is available and recommended for the runner.",
            value: :recommended
    end
  end
end