errors

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 2 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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)
	ErrNoRoCERailNetworks        = fmt.Errorf("%w: no RoCE rail NetworkAttachmentDefinitions found", 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