errorfactory

package
v0.2.0-release Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t interface{}, err error, msg string, wrapArgs ...interface{}) error

New creates a new error factory error

Types

type APIFailure

type APIFailure struct {
	// contains filtered or unexported fields
}

APIFailure states that something went wrong with the api

type FatalReconcileError

type FatalReconcileError struct {
	// contains filtered or unexported fields
}

FatalReconcileError states that a fatal error happened

type GracefulUpscaleFailed

type GracefulUpscaleFailed struct {
	// contains filtered or unexported fields
}

GracefulUpscaleFailed states that the operator failed to update the cluster gracefully

type InternalError

type InternalError struct {
	// contains filtered or unexported fields
}

InternalError states that internal error happened

type NifiClusterNotReady

type NifiClusterNotReady struct {
	// contains filtered or unexported fields
}

NifiClusterNotReady states that NC is not ready to receive actions

type NifiClusterTaskFailure

type NifiClusterTaskFailure struct {
	// contains filtered or unexported fields
}

NifiClusterTaskFailure states that NC task was not found (CC restart?) or failed

type NifiClusterTaskRunning

type NifiClusterTaskRunning struct {
	// contains filtered or unexported fields
}

DecommissionTaskRunning states that NC task is still running

type NifiClusterTaskTimeout

type NifiClusterTaskTimeout struct {
	// contains filtered or unexported fields
}

NifiClusterTaskTimeout states that NC task timed out

type NodesNotReady

type NodesNotReady struct {
	// contains filtered or unexported fields
}

NodesNotReady states that the node is not ready

type NodesRequestError

type NodesRequestError struct {
	// contains filtered or unexported fields
}

NodesRequestError states that the node could not understand the request

type NodesUnreachable

type NodesUnreachable struct {
	// contains filtered or unexported fields
}

NodesUnreachable states that the given node is unreachable

type ReconcileRollingUpgrade

type ReconcileRollingUpgrade struct {
	// contains filtered or unexported fields
}

ReconcileRollingUpgrade states that rolling upgrade is reconciling

type ResourceNotReady

type ResourceNotReady struct {
	// contains filtered or unexported fields
}

ResourceNotReady states that resource is not ready

type StatusUpdateError

type StatusUpdateError struct {
	// contains filtered or unexported fields
}

StatusUpdateError states that the operator failed to update the Status

type TooManyResources

type TooManyResources struct {
	// contains filtered or unexported fields
}

TooManyResources states that too many resource found

type VaultAPIFailure

type VaultAPIFailure struct {
	// contains filtered or unexported fields
}

VaultAPIFailure states an error communicating with the configured vault server

Jump to

Keyboard shortcuts

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