Documentation ¶
Index ¶
- Constants
- func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
- type CFHosting
- func (ch *CFHosting) EchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc
- func (ch *CFHosting) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
- func (ch *CFHosting) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
- func (ch *CFHosting) GetRoutePlugin() (interfaces.RoutePlugin, error)
- func (ch *CFHosting) Init() error
- func (ch *CFHosting) SessionEchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc
Constants ¶
View Source
const ( VCapApplication = "VCAP_APPLICATION" CFApiURLOverride = "CF_API_URL" CFApiForceSecure = "CF_API_FORCE_SECURE" ForceEndpointDashboard = "FORCE_ENDPOINT_DASHBOARD" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
Types ¶
type CFHosting ¶
type CFHosting struct {
// contains filtered or unexported fields
}
func (*CFHosting) EchoMiddleware ¶
func (ch *CFHosting) EchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc
func (*CFHosting) GetEndpointPlugin ¶
func (ch *CFHosting) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
func (*CFHosting) GetMiddlewarePlugin ¶
func (ch *CFHosting) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
func (*CFHosting) GetRoutePlugin ¶
func (ch *CFHosting) GetRoutePlugin() (interfaces.RoutePlugin, error)
func (*CFHosting) SessionEchoMiddleware ¶
func (ch *CFHosting) SessionEchoMiddleware(h echo.HandlerFunc) echo.HandlerFunc
For cloud foundry session affinity Ensure we add a cookie named "JSESSIONID" for Cloud Foundry session affinity
Click to show internal directories.
Click to hide internal directories.