gitlab-org--gitlab-foss/app/graphql/types/metadata/kas_type.rb

19 lines
568 B
Ruby

# frozen_string_literal: true
module Types
module Metadata
class KasType < ::Types::BaseObject
graphql_name 'Kas'
authorize :read_instance_metadata
field :enabled, GraphQL::Types::Boolean, null: false,
description: 'Indicates whether the Kubernetes Agent Server is enabled.'
field :external_url, GraphQL::Types::String, null: true,
description: 'URL used by the Agents to communicate with KAS.'
field :version, GraphQL::Types::String, null: true,
description: 'KAS version.'
end
end
end