errors

package
v0.0.0-...-ec4eabd Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClusterInstalled = errors.New("ClusterInstalled")

ErrClusterInstalled indicates the cluster is already installed

View Source
var ErrInactiveProject = errors.New("InactiveProject")

ErrInactiveProject indicates that the project lifecycleState is not active

View Source
var ErrMissingProjectID = errors.New("MissingProjectID")

ErrMissingProjectID indicates that the cluster deployment is missing the field ProjectID

View Source
var ErrMissingRegion = errors.New("MissingRegion")

ErrMissingRegion indicates that the cluster deployment is missing the field Region

View Source
var ErrNotGCPCluster = errors.New("NotGCPCluster")

ErrNotGCPCluster indicates that the cluster is not a gcp cluster

View Source
var ErrNotManagedCluster = errors.New("NotManagedCluster")

ErrNotManagedCluster indicates this is not an OSD managed cluster

View Source
var ErrRegionNotSupported = errors.New("RegionNotSupported")

ErrRegionNotSupported indicates the region is not supported by OSD on GCP.

View Source
var ErrUnexpectedLifecycleState = errors.New("UnexpectedLifecycleState")

ErrUnexpectedLifecycleState indicates that the project is in an unexpacted LifecycleState

Functions

func New

func New(err string) error

func Wrap

func Wrap(err error, message string) error

Wrap allows you to wrap the error message with file,line,caller informations which can be useful for reporting. Nested errors will be wrapped as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

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