errors

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package errors provides cluster error types.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternalError             = fmt.Errorf("%w: internal error", errKubeClient)
	ErrLeaseNotFound             = fmt.Errorf("%w: lease not found", errKubeClient)
	ErrNoDeploymentForLease      = fmt.Errorf("%w: no deployments for lease", errKubeClient)
	ErrNoManifestForLease        = fmt.Errorf("%w: no manifest for lease", errKubeClient)
	ErrNoServiceForLease         = fmt.Errorf("%w: no service for that lease", errKubeClient)
	ErrInvalidHostnameConnection = fmt.Errorf("%w: invalid hostname connection", errKubeClient)
	ErrNotConfiguredWithSettings = fmt.Errorf("%w: not configured with settings in the context passed to function", errKubeClient)
	ErrAlreadyExists             = fmt.Errorf("%w: resource already exists", errKubeClient)
)

Functions

func IsKubeAPIUnreachable added in v0.11.2

func IsKubeAPIUnreachable(err error) bool

IsKubeAPIUnreachable reports whether err indicates the kube API server is unreachable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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