clustererrors

package
v5.25.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package clustererrors provides common error types for cluster provisioners.

This package defines sentinel errors that are shared across different cluster provisioner implementations (Kind, K3d, Talos) to enable consistent error handling in command handlers.

Index

Constants

This section is empty.

Variables

View Source
var ErrClusterNotFound = errors.New("cluster not found")

ErrClusterNotFound is returned when a cluster operation is attempted on a non-existent cluster. This error is used by all provisioner implementations (Kind, K3d, Talos) when attempting to delete, start, or stop a cluster that does not exist.

View Source
var ErrMissingDistributionConfig = errors.New("missing distribution config")

ErrMissingDistributionConfig is returned when no pre-loaded distribution config is provided.

View Source
var ErrNoControlPlaneNodes = errors.New("no control-plane nodes found for cluster")

ErrNoControlPlaneNodes is returned when no control-plane nodes are found.

View Source
var ErrNoNodesFound = errors.New("no nodes found for cluster")

ErrNoNodesFound is returned when a cluster has no nodes.

View Source
var ErrNotHetznerProvider = errors.New("infrastructure provider is not a Hetzner provider")

ErrNotHetznerProvider is returned when an operation requires a Hetzner provider but a different provider is set.

View Source
var ErrProviderNotSet = errors.New("infrastructure provider not set")

ErrProviderNotSet is returned when an infrastructure provider is required but not configured.

View Source
var ErrUnsupportedDistribution = errors.New("unsupported distribution")

ErrUnsupportedDistribution is returned when an unsupported distribution is specified.

View Source
var ErrUnsupportedProvider = errors.New("unsupported provider")

ErrUnsupportedProvider is returned when an unsupported provider is specified.

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