errors

package
v0.0.0-...-b8e83fa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 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 ErrExecutorNotFound

type ErrExecutorNotFound struct {
	GVK schema.GroupVersionKind
}

ErrExecutorNotFound is returned if phase executor was not found in executor registry map

func (ErrExecutorNotFound) Error

func (e ErrExecutorNotFound) Error() string

type ErrExecutorRefNotDefined

type ErrExecutorRefNotDefined struct {
	PhaseName      string
	PhaseNamespace string
}

ErrExecutorRefNotDefined returned when phase has no entrypoint defined and phase needs it

func (ErrExecutorRefNotDefined) Error

func (e ErrExecutorRefNotDefined) Error() string

type ErrExecutorRegistration

type ErrExecutorRegistration struct {
	ExecutorName string
	Err          error
}

ErrExecutorRegistration is a wrapper for executor registration errors

func (ErrExecutorRegistration) Error

func (e ErrExecutorRegistration) Error() string

type ErrNilExecutorDoc

type ErrNilExecutorDoc struct {
}

ErrNilExecutorDoc returned when the executor document is nil

func (ErrNilExecutorDoc) Error

func (e ErrNilExecutorDoc) Error() string

type ErrUnableParseProvider

type ErrUnableParseProvider struct {
	Provider     string
	ProviderType string
}

ErrUnableParseProvider is returned when it's impossible to parse provider's name and version

func (ErrUnableParseProvider) Error

func (e ErrUnableParseProvider) Error() string

type ErrUnknownExecutorAction

type ErrUnknownExecutorAction struct {
	Action       string
	ExecutorName string
}

ErrUnknownExecutorAction is returned when unknown action or operation is requested from one of the executors.

func (ErrUnknownExecutorAction) Error

func (e ErrUnknownExecutorAction) Error() string

type ErrUnknownExecutorName

type ErrUnknownExecutorName struct {
	ExecutorName string
}

ErrUnknownExecutorName is returned for unknown executor name parameter received by RegisterExecutor function

func (ErrUnknownExecutorName) Error

func (e ErrUnknownExecutorName) Error() string

Jump to

Keyboard shortcuts

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