2020-01-30 15:09:15 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class ContainerExpirationPolicy < Grape::Entity
|
|
|
|
expose :cadence
|
|
|
|
expose :enabled
|
|
|
|
expose :keep_n
|
|
|
|
expose :older_than
|
|
|
|
expose :name_regex
|
2020-04-21 15:21:10 +00:00
|
|
|
expose :name_regex_keep
|
2020-01-30 15:09:15 +00:00
|
|
|
expose :next_run_at
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|