errors

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactAcquisitionError

type ArtifactAcquisitionError struct {
	Kind           string
	NamespacedName types.NamespacedName
	Err            error
}

ArtifactAcquisitionError is returned if the artifact of a source could not be acquired, it includes the Kind and NamespacedName of the source that advertised the artifact, and MAY contain an underlying Err.

func (*ArtifactAcquisitionError) Error

func (e *ArtifactAcquisitionError) Error() string

func (*ArtifactAcquisitionError) Unwrap

func (e *ArtifactAcquisitionError) Unwrap() error

type DependencyNotFoundError

type DependencyNotFoundError struct {
	Kind           string
	NamespacedName types.NamespacedName
}

DependencyNotFoundError is returned if a referred dependency resource was not found, it includes the Kind and NamespacedName of the dependency.

func (*DependencyNotFoundError) Error

func (e *DependencyNotFoundError) Error() string

type DependencyNotReadyError

type DependencyNotReadyError struct {
	Kind           string
	NamespacedName types.NamespacedName
}

DependencyNotReadyError is returned if a referred dependency resource is not in a ready condition, it includes the Kind and NamespacedName of the dependency.

func (*DependencyNotReadyError) Error

func (e *DependencyNotReadyError) Error() string

type GarbageCollectionError

type GarbageCollectionError struct {
	Kind           string
	NamespacedName types.NamespacedName
	Err            error
}

GarbageCollectionError is returned on a garbage collection failure for a resource, it includes the Kind and NamespacedName the garbage collection failed for, and the underlying Err.

func (*GarbageCollectionError) Error

func (e *GarbageCollectionError) Error() string

func (*GarbageCollectionError) Unwrap

func (e *GarbageCollectionError) Unwrap() error

type ReconciliationError

type ReconciliationError struct {
	Kind           string
	NamespacedName types.NamespacedName
	Err            error
}

ReconciliationError is returned on a reconciliation failure for a resource, it includes the Kind and NamespacedName of the resource the reconciliation was performed for, and the underlying Err.

func (*ReconciliationError) Error

func (e *ReconciliationError) Error() string

func (*ReconciliationError) Unwrap

func (e *ReconciliationError) Unwrap() error

type SourceNotFoundError

type SourceNotFoundError struct {
	Kind           string
	NamespacedName types.NamespacedName
}

SourceNotFoundError is returned if a referred source was not found, it includes the Kind and NamespacedName of the source.

func (*SourceNotFoundError) Error

func (e *SourceNotFoundError) Error() string

type SourceNotReadyError

type SourceNotReadyError struct {
	Kind           string
	NamespacedName types.NamespacedName
}

SourceNotReadyError is returned when a source is not in a ready condition during a reconciliation attempt, it includes the Kind and NamespacedName of the source.

func (*SourceNotReadyError) Error

func (e *SourceNotReadyError) Error() string

type UnsupportedSourceKindError

type UnsupportedSourceKindError struct {
	Kind           string
	NamespacedName types.NamespacedName
	SupportedKinds []string
}

UnsupportedSourceKindError is returned if a referred source is of an unsupported kind, it includes the Kind and Namespace of the source, and MAY contain a string slice of SupportedKinds.

func (*UnsupportedSourceKindError) Error

Jump to

Keyboard shortcuts

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