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
IsKubeAPIUnreachable reports whether err indicates the kube API server is unreachable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.