errors

package
v0.10.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClusterAlreadyExists    = errors.New("cluster already exists")
	ErrInvalidList             = errors.New("list did not return exactly 1 result")
	ErrInvalidPersistence      = errors.New("invalid persistence config")
	ErrInvalidCluster          = errors.New("invalid opensearch cluster")
	ErrClusterIDMissing        = errors.New("request does not include cluster ID")
	ErrOpensearchResponse      = errors.New("opensearch request unsuccessful")
	ErrNoOpensearchClient      = errors.New("opensearch client is not set")
	ErrLoggingCapabilityExists = errors.New("at least one cluster has logging capability installed")
)

Functions

func ErrCheckOpensearchClusterFailed

func ErrCheckOpensearchClusterFailed(clienterr error) error

func ErrCreateFailedAlreadyExists

func ErrCreateFailedAlreadyExists(id string) error

func ErrCreateNamespaceFailed

func ErrCreateNamespaceFailed(clienterr error) error

func ErrDeleteClusterInvalidList

func ErrDeleteClusterInvalidList(id string) error

func ErrGenerateCredentialsFailed

func ErrGenerateCredentialsFailed(err error) error

func ErrGetDetailsInvalidList

func ErrGetDetailsInvalidList(id string) error

func ErrInvalidRetention

func ErrInvalidRetention() error

func ErrListingClustersFaled

func ErrListingClustersFaled(clienterr error) error

func ErrMissingDataNode added in v0.8.0

func ErrMissingDataNode() error

func ErrOpensearchRequestFailed

func ErrOpensearchRequestFailed(status string) error

func ErrReplicasZero added in v0.8.0

func ErrReplicasZero(nodeType string) error

func ErrRequestGtLimits added in v0.8.0

func ErrRequestGtLimits() error

func ErrRequestMissingMemory

func ErrRequestMissingMemory() error

func ErrStoreClusterFailed

func ErrStoreClusterFailed(err error) error

func ErrStoreUserCredentialsFailed

func ErrStoreUserCredentialsFailed(err error) error

func ErrStoredClusterPersistence

func ErrStoredClusterPersistence() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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