debian-mirror-gitlab/lib/api/entities/ci/job_request/service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
368 B
Ruby
Raw Normal View History

2021-09-30 23:02:18 +05:30
# frozen_string_literal: true
module API
module Entities
module Ci
module JobRequest
2022-07-23 23:45:48 +05:30
class Service < Grape::Entity
expose :name, :entrypoint
expose :ports, using: Entities::Ci::JobRequest::Port
2022-10-11 01:57:18 +05:30
expose :pull_policy
2021-09-30 23:02:18 +05:30
expose :alias, :command
2021-12-11 22:18:48 +05:30
expose :variables
2021-09-30 23:02:18 +05:30
end
end
end
end
end