Sha256: 9930dd6e91d12c0fc01114eba84bb3d1eb0e435a6477a3df2e446a20a7959dde

Contents?: true

Size: 341 Bytes

Versions: 2

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true
module KubernetesDeploy
  class Role < KubernetesResource
    TIMEOUT = 30.seconds

    def status
      exists? ? "Created" : "Unknown"
    end

    def deploy_succeeded?
      exists?
    end

    def deploy_failed?
      false
    end

    def timeout_message
      UNUSUAL_FAILURE_MESSAGE
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kubernetes-deploy-0.24.0 lib/kubernetes-deploy/kubernetes_resource/role.rb
kubernetes-deploy-0.23.0 lib/kubernetes-deploy/kubernetes_resource/role.rb