Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidRouteError

type InvalidRouteError struct {
	Route string
}

func (InvalidRouteError) Error

func (e InvalidRouteError) Error() string

type MapRouteError

type MapRouteError struct {
	Route string
	Out   []byte
}

func (MapRouteError) Error

func (e MapRouteError) Error() string

type ReadFileError

type ReadFileError struct {
	Err error
}

func (ReadFileError) Error

func (e ReadFileError) Error() string

type RouteMapper

type RouteMapper struct {
	Courier    I.Courier
	FileSystem *afero.Afero
	Log        I.Logger
}

    RouteMapper will map additional routes to an application at deploy time if they are specified in the manifest.

    func (RouteMapper) OnEvent

    func (r RouteMapper) OnEvent(event S.Event) error

      OnEvent is triggered by the EventManager and maps additional routes from the manifest. It will check if the route is a domain in the foundation.