Sha256: e1cc179a76a3b52f4f7aa6313eafc6269fa8183bafb51f1790deb351f93c8e4d

Contents?: true

Size: 339 Bytes

Versions: 57

Compression:

Stored size: 339 Bytes

Contents

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

    def status
      exists? ? "Created" : "Not Found"
    end

    def deploy_succeeded?
      exists?
    end

    def deploy_failed?
      false
    end

    def timeout_message
      UNUSUAL_FAILURE_MESSAGE
    end
  end
end

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
krane-2.1.2 lib/krane/kubernetes_resource/role_binding.rb
krane-2.1.1 lib/krane/kubernetes_resource/role_binding.rb
krane-2.1.0 lib/krane/kubernetes_resource/role_binding.rb
krane-2.0.0 lib/krane/kubernetes_resource/role_binding.rb
kubernetes-deploy-1.0.0.pre.2 lib/krane/kubernetes_resource/role_binding.rb
krane-1.1.4 lib/krane/kubernetes_resource/role_binding.rb
krane-1.1.3 lib/krane/kubernetes_resource/role_binding.rb
krane-1.1.2 lib/krane/kubernetes_resource/role_binding.rb
krane-1.1.1 lib/krane/kubernetes_resource/role_binding.rb
krane-1.1.0 lib/krane/kubernetes_resource/role_binding.rb
tobsch-krane-1.0.2 lib/krane/kubernetes_resource/role_binding.rb
tobsch-krane-1.0.1 lib/krane/kubernetes_resource/role_binding.rb
tobsch-krane-1.0.0 lib/krane/kubernetes_resource/role_binding.rb
krane-1.0.0 lib/krane/kubernetes_resource/role_binding.rb
kubernetes-deploy-1.0.0.pre.1 lib/krane/kubernetes_resource/role_binding.rb
kubernetes-deploy-0.31.1 lib/krane/kubernetes_resource/role_binding.rb
kubernetes-deploy-0.31.0 lib/krane/kubernetes_resource/role_binding.rb