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-3.6.2 lib/krane/kubernetes_resource/role_binding.rb
krane-3.6.1 lib/krane/kubernetes_resource/role_binding.rb
krane-3.5.2 lib/krane/kubernetes_resource/role_binding.rb
krane-3.5.1 lib/krane/kubernetes_resource/role_binding.rb
krane-3.5.0 lib/krane/kubernetes_resource/role_binding.rb
krane-3.4.2 lib/krane/kubernetes_resource/role_binding.rb
krane-3.4.1 lib/krane/kubernetes_resource/role_binding.rb
krane-3.4.0 lib/krane/kubernetes_resource/role_binding.rb
krane-3.3.0 lib/krane/kubernetes_resource/role_binding.rb
krane-3.2.0 lib/krane/kubernetes_resource/role_binding.rb
krane-3.1.0 lib/krane/kubernetes_resource/role_binding.rb
krane-3.0.1 lib/krane/kubernetes_resource/role_binding.rb
krane-3.0.0 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.9 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.8 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.7 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.6 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.5 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.4 lib/krane/kubernetes_resource/role_binding.rb
krane-2.4.3 lib/krane/kubernetes_resource/role_binding.rb