Documentation ¶
Index ¶
- func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
- type Autoscaler
- func (a *Autoscaler) AddAdminGroupRoutes(echoGroup *echo.Group)
- func (a *Autoscaler) AddSessionGroupRoutes(echoGroup *echo.Group)
- func (a *Autoscaler) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
- func (a *Autoscaler) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
- func (a *Autoscaler) GetRoutePlugin() (interfaces.RoutePlugin, error)
- func (a *Autoscaler) Init() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
Init creates a new Autoscaler
Types ¶
type Autoscaler ¶
type Autoscaler struct {
// contains filtered or unexported fields
}
Autoscaler is a plugin to allow applications to be pushed to Cloud Foundry from Stratos
func (*Autoscaler) AddAdminGroupRoutes ¶
func (a *Autoscaler) AddAdminGroupRoutes(echoGroup *echo.Group)
AddAdminGroupRoutes adds the admin routes for this plugin to the Echo server
func (*Autoscaler) AddSessionGroupRoutes ¶
func (a *Autoscaler) AddSessionGroupRoutes(echoGroup *echo.Group)
AddSessionGroupRoutes adds the session routes for this plugin to the Echo server
func (*Autoscaler) GetEndpointPlugin ¶
func (a *Autoscaler) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
GetEndpointPlugin gets the endpoint plugin for this plugin
func (*Autoscaler) GetMiddlewarePlugin ¶
func (a *Autoscaler) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
GetMiddlewarePlugin gets the middleware plugin for this plugin
func (*Autoscaler) GetRoutePlugin ¶
func (a *Autoscaler) GetRoutePlugin() (interfaces.RoutePlugin, error)
GetRoutePlugin gets the route plugin for this plugin
Click to show internal directories.
Click to hide internal directories.