Sha256: e126d53dc050f4527d2b1d9668d273135afe5135453aa393b25c71be1077b186

Contents?: true

Size: 274 Bytes

Versions: 57

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true
module Krane
  class CronJob < KubernetesResource
    TIMEOUT = 30.seconds

    def deploy_succeeded?
      exists?
    end

    def deploy_failed?
      !exists?
    end

    def timeout_message
      UNUSUAL_FAILURE_MESSAGE
    end
  end
end

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
krane-3.6.2 lib/krane/kubernetes_resource/cron_job.rb
krane-3.6.1 lib/krane/kubernetes_resource/cron_job.rb
krane-3.5.2 lib/krane/kubernetes_resource/cron_job.rb
krane-3.5.1 lib/krane/kubernetes_resource/cron_job.rb
krane-3.5.0 lib/krane/kubernetes_resource/cron_job.rb
krane-3.4.2 lib/krane/kubernetes_resource/cron_job.rb
krane-3.4.1 lib/krane/kubernetes_resource/cron_job.rb
krane-3.4.0 lib/krane/kubernetes_resource/cron_job.rb
krane-3.3.0 lib/krane/kubernetes_resource/cron_job.rb
krane-3.2.0 lib/krane/kubernetes_resource/cron_job.rb
krane-3.1.0 lib/krane/kubernetes_resource/cron_job.rb
krane-3.0.1 lib/krane/kubernetes_resource/cron_job.rb
krane-3.0.0 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.9 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.8 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.7 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.6 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.5 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.4 lib/krane/kubernetes_resource/cron_job.rb
krane-2.4.3 lib/krane/kubernetes_resource/cron_job.rb