reasoncode

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package reasoncode ...

Index

Constants

View Source
const (

	// ErrorUnclassified indicates a generic unclassified error
	ErrorUnclassified = ReasonCode("ErrorUnclassified")

	// ErrorPanic indicates recovery from a panic
	ErrorPanic = ReasonCode("ErrorPanic")

	// ErrorTemporaryConnectionProblem indicates an *AMBIGUOUS RESPONSE* due to IaaS API timeout or reset
	// (Caller can continue to retry indefinitely)
	ErrorTemporaryConnectionProblem = ReasonCode("ErrorTemporaryConnectionProblem")

	// ErrorRateLimitExceeded indicates IaaS API rate limit has been exceeded
	// (Caller can continue to retry indefinitely)
	ErrorRateLimitExceeded = ReasonCode("ErrorRateLimitExceeded")
)
View Source
const (

	// ErrorBadRequest indicates a generic bad request to the Provider API
	// (Caller can treat this as a fatal failure)
	ErrorBadRequest = ReasonCode("ErrorBadRequest")

	// ErrorRequiredFieldMissing indicates the required field is missing from the request
	// (Caller can treat this as a fatal failure)
	ErrorRequiredFieldMissing = ReasonCode("ErrorRequiredFieldMissing")

	// ErrorUnsupportedAuthType indicates the requested Auth-Type is not supported
	// (Caller can treat this as a fatal failure)
	ErrorUnsupportedAuthType = ReasonCode("ErrorUnsupportedAuthType")

	// ErrorUnsupportedMethod indicates the requested Provider API method is not supported
	// (Caller can treat this as a fatal failure)
	ErrorUnsupportedMethod = ReasonCode("ErrorUnsupportedMethod")
)
View Source
const (

	//Timeout indicates that there was timeout reaching token exchange endpoint
	Timeout = ReasonCode("Timeout")

	//EndpointNotReachable indicates that token exchange endpoint is incorrect
	EndpointNotReachable = ReasonCode("EndpointNotReachable")

	// ErrorUnknownProvider indicates the named provider is not known
	ErrorUnknownProvider = ReasonCode("ErrorUnknownProvider")

	// ErrorUnauthorised indicates an IaaS authorisation error
	ErrorUnauthorised = ReasonCode("ErrorUnauthorised")

	// ErrorFailedTokenExchange indicates an IAM token exchange problem
	ErrorFailedTokenExchange = ReasonCode("ErrorFailedTokenExchange")

	// ErrorProviderAccountTemporarilyLocked indicates the IaaS account as it has been temporarily locked
	ErrorProviderAccountTemporarilyLocked = ReasonCode("ErrorProviderAccountTemporarilyLocked")

	// ErrorInsufficientPermissions indicates an operation failed due to a confirmed problem with IaaS user permissions
	// (Caller can retry later, but not indefinitely)
	ErrorInsufficientPermissions = ReasonCode("ErrorInsufficientPermissions")
)
View Source
const (
	//ErrorVolumeAttachFailed indicates if volume attach to instance is failed
	ErrorVolumeAttachFailed = ReasonCode("ErrorVolumeAttachFailed")
	//ErrorVolumeDetachFailed indicates if volume detach from instance is failed
	ErrorVolumeDetachFailed = ReasonCode("ErrorVolumeDetachFailed")
)

Attach / Detach problems

Variables

This section is empty.

Functions

This section is empty.

Types

type ReasonCode

type ReasonCode string

ReasonCode ...

Jump to

Keyboard shortcuts

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