errors

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2025 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrParseFlag is raised when flag parsing fails.
	ErrParseFlag = errors.New("flag was unable to be parsed")

	// ErrCDDriver is raised when a CD driver is not handled.
	ErrCDDriver = errors.New("unhandled CD driver")

	// ErrInvalidContext is raised when the context is not correctly polulated.
	ErrInvalidContext = errors.New("context invalid")

	// ErrKubeconfig is raised wne the Kubeconfig isn't correct.
	ErrKubeconfig = errors.New("kubeconfig error")

	// ErrSecretFormatError is returned when a secret doesn't meet the specification.
	ErrSecretFormatError = errors.New("secret incorrectly formatted")

	// ErrAPIStatus is returned when an API status code is unexpected.
	ErrAPIStatus = errors.New("api status code unexpected")

	// ErrConsistency is returned when there is a consistency error, akin to an assert.
	ErrConsistency = errors.New("consistency error")

	// ErrUnsupportedKeyType s returned when a cryptographic key type is unsupported.
	ErrUnsupportedKeyType = errors.New("private key type is unsupported")

	// ErrKey is returned when a required map key is not defined.  This is typically
	// used when a data key in a secret is required, but missing.
	ErrKey = errors.New("key error")

	// ErrTypeConversion is thrown when a type assertion goes wrong.
	ErrTypeConversion = errors.New("type conversion error")

	// ErrResourceNotFound is thrown when a resource cannot be found.
	ErrResourceNotFound = errors.New("resource not found")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL