Sha256: a3c0017048ab95f7e1d6319a53c3fcbbb4137ba4aa50d9b2a699f10cb0c949ec
Contents?: true
Size: 894 Bytes
Versions: 58
Compression:
Stored size: 894 Bytes
Contents
# frozen_string_literal: true module Krane class FatalDeploymentError < StandardError; end class FatalKubeAPIError < FatalDeploymentError; end class KubectlError < StandardError; end class TaskConfigurationError < FatalDeploymentError; end class InvalidTemplateError < FatalDeploymentError attr_reader :content attr_accessor :filename def initialize(err, filename: nil, content: nil) @filename = filename @content = content super(err) end end class DeploymentTimeoutError < FatalDeploymentError; end class EjsonPrunableError < FatalDeploymentError def initialize super("Found #{KubernetesResource::LAST_APPLIED_ANNOTATION} annotation on " \ "#{EjsonSecretProvisioner::EJSON_KEYS_SECRET} secret. " \ "krane will not continue since it is extremely unlikely that this secret should be pruned.") end end end
Version data entries
58 entries across 58 versions & 3 rubygems