bridge

package
v0.0.0-...-c7aab3e Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveEndpointsError

type ActiveEndpointsError string

ActiveEndpointsError is returned when there are still active endpoints in the network being deleted.

func (ActiveEndpointsError) Error

func (aee ActiveEndpointsError) Error() string

func (ActiveEndpointsError) Forbidden

func (aee ActiveEndpointsError) Forbidden()

Forbidden denotes the type of this error

type EndpointNotFoundError

type EndpointNotFoundError string

EndpointNotFoundError is returned when the no endpoint with the passed endpoint id is found.

func (EndpointNotFoundError) Error

func (enfe EndpointNotFoundError) Error() string

func (EndpointNotFoundError) NotFound

func (enfe EndpointNotFoundError) NotFound()

NotFound denotes the type of this error

type ErrInvalidEndpointConfig

type ErrInvalidEndpointConfig struct{}

ErrInvalidEndpointConfig error is returned when an endpoint create is attempted with an invalid endpoint configuration.

func (*ErrInvalidEndpointConfig) BadRequest

func (eiec *ErrInvalidEndpointConfig) BadRequest()

BadRequest denotes the type of this error

func (*ErrInvalidEndpointConfig) Error

func (eiec *ErrInvalidEndpointConfig) Error() string

type ErrInvalidGateway

type ErrInvalidGateway struct{}

ErrInvalidGateway is returned when the user provided default gateway (v4/v6) is not not valid.

func (*ErrInvalidGateway) BadRequest

func (eig *ErrInvalidGateway) BadRequest()

BadRequest denotes the type of this error

func (*ErrInvalidGateway) Error

func (eig *ErrInvalidGateway) Error() string

type ErrInvalidMtu

type ErrInvalidMtu int

ErrInvalidMtu is returned when the user provided MTU is not valid.

func (ErrInvalidMtu) BadRequest

func (eim ErrInvalidMtu) BadRequest()

BadRequest denotes the type of this error

func (ErrInvalidMtu) Error

func (eim ErrInvalidMtu) Error() string

type ErrNoIPAddr

type ErrNoIPAddr struct{}

ErrNoIPAddr error is returned when bridge has no IPv4 address configured.

func (*ErrNoIPAddr) Error

func (enip *ErrNoIPAddr) Error() string

func (*ErrNoIPAddr) InternalError

func (enip *ErrNoIPAddr) InternalError()

InternalError denotes the type of this error

type ErrUnsupportedAddressType

type ErrUnsupportedAddressType string

ErrUnsupportedAddressType is returned when the specified address type is not supported.

func (ErrUnsupportedAddressType) BadRequest

func (uat ErrUnsupportedAddressType) BadRequest()

BadRequest denotes the type of this error

func (ErrUnsupportedAddressType) Error

func (uat ErrUnsupportedAddressType) Error() string

type InvalidEndpointIDError

type InvalidEndpointIDError string

InvalidEndpointIDError is returned when the passed endpoint id is not valid.

func (InvalidEndpointIDError) BadRequest

func (ieie InvalidEndpointIDError) BadRequest()

BadRequest denotes the type of this error

func (InvalidEndpointIDError) Error

func (ieie InvalidEndpointIDError) Error() string

type InvalidNetworkIDError

type InvalidNetworkIDError string

InvalidNetworkIDError is returned when the passed network id for an existing network is not a known id.

func (InvalidNetworkIDError) Error

func (inie InvalidNetworkIDError) Error() string

func (InvalidNetworkIDError) NotFound

func (inie InvalidNetworkIDError) NotFound()

NotFound denotes the type of this error

type NonDefaultBridgeExistError

type NonDefaultBridgeExistError string

NonDefaultBridgeExistError is returned when a non-default bridge config is passed but it does not already exist.

func (NonDefaultBridgeExistError) Error

func (ndbee NonDefaultBridgeExistError) Error() string

func (NonDefaultBridgeExistError) Forbidden

func (ndbee NonDefaultBridgeExistError) Forbidden()

Forbidden denotes the type of this error

type NonDefaultBridgeNeedsIPError

type NonDefaultBridgeNeedsIPError string

NonDefaultBridgeNeedsIPError is returned when a non-default bridge config is passed but it has no ip configured

func (NonDefaultBridgeNeedsIPError) Error

func (ndbee NonDefaultBridgeNeedsIPError) Error() string

func (NonDefaultBridgeNeedsIPError) Forbidden

func (ndbee NonDefaultBridgeNeedsIPError) Forbidden()

Forbidden denotes the type of this error

Jump to

Keyboard shortcuts

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