errors

package
v1.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrBackendConfigValidation added in v1.2.2

type ErrBackendConfigValidation struct {
	backendconfigv1beta1.BackendConfig
	Err error
}

ErrBackendConfigValidation is returned when there was an error validating a BackendConfig.

func (ErrBackendConfigValidation) Error added in v1.2.2

Error returns the BackendConfig's name and underlying error.

type ErrBadSvcType added in v1.2.2

type ErrBadSvcType struct {
	Service     types.NamespacedName
	ServiceType v1.ServiceType
}

ErrBadSvcType is returned when the service is not NodePort or LoadBalancer.

func (ErrBadSvcType) Error added in v1.2.2

func (e ErrBadSvcType) Error() string

Error returns the service name & type and what are acceptable types.

type ErrSvcAppProtosParsing

type ErrSvcAppProtosParsing struct {
	Service types.NamespacedName
	Err     error
}

ErrSvcAppProtosParsing is returned when the service is malformed.

func (ErrSvcAppProtosParsing) Error

func (e ErrSvcAppProtosParsing) Error() string

Error returns the annotation key, service name, and the parsing error.

type ErrSvcBackendConfig added in v1.2.2

type ErrSvcBackendConfig struct {
	utils.ServicePortID
	Err error
}

ErrSvcBackendConfig is returned when there was an error getting the BackendConfig for a service port.

func (ErrSvcBackendConfig) Error added in v1.2.2

func (e ErrSvcBackendConfig) Error() string

Error returns the port name/number, service name, and the underlying error.

type ErrSvcNotFound added in v1.2.2

type ErrSvcNotFound struct {
	Service types.NamespacedName
}

ErrSvcNotFound is returned when a service is not found.

func (ErrSvcNotFound) Error added in v1.2.2

func (e ErrSvcNotFound) Error() string

Error returns the name of the missing service.

type ErrSvcPortNotFound added in v1.2.2

type ErrSvcPortNotFound struct {
	utils.ServicePortID
}

ErrSvcPortNotFound is returned when a service's port is not found.

func (ErrSvcPortNotFound) Error added in v1.2.2

func (e ErrSvcPortNotFound) Error() string

Error returns the port name/number of the service which is not found.

Jump to

Keyboard shortcuts

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