Documentation
¶
Index ¶
- Constants
- func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
- type AuthorizedConsumer
- type CloudFoundrySpecification
- func (c *CloudFoundrySpecification) AddAdminGroupRoutes(echoGroup *echo.Group)
- func (c *CloudFoundrySpecification) AddSessionGroupRoutes(echoGroup *echo.Group)
- func (c *CloudFoundrySpecification) Connect(ec echo.Context, cnsiRecord interfaces.CNSIRecord, userId string) (*interfaces.TokenRecord, bool, error)
- func (c *CloudFoundrySpecification) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
- func (c *CloudFoundrySpecification) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
- func (c *CloudFoundrySpecification) GetRoutePlugin() (interfaces.RoutePlugin, error)
- func (c *CloudFoundrySpecification) GetType() string
- func (c *CloudFoundrySpecification) Info(apiEndpoint string, skipSSLValidation bool) (interfaces.CNSIRecord, interface{}, error)
- func (c *CloudFoundrySpecification) Init() error
- func (c *CloudFoundrySpecification) Register(echoContext echo.Context) error
- func (c *CloudFoundrySpecification) UpdateMetadata(info *interfaces.Info, userGUID string, echoContext echo.Context)
- func (c *CloudFoundrySpecification) Validate(userGUID string, cnsiRecord interfaces.CNSIRecord, ...) error
Constants ¶
View Source
const ( EndpointType = "cf" CLIENT_ID_KEY = "CF_CLIENT" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
Init creates a new CloudFoundrySpecification
Types ¶
type AuthorizedConsumer ¶
type AuthorizedConsumer struct {
// contains filtered or unexported fields
}
type CloudFoundrySpecification ¶
type CloudFoundrySpecification struct {
// contains filtered or unexported fields
}
CloudFoundrySpecification - Plugin to support Cloud Foundry endpoint type
func (*CloudFoundrySpecification) AddAdminGroupRoutes ¶
func (c *CloudFoundrySpecification) AddAdminGroupRoutes(echoGroup *echo.Group)
AddAdminGroupRoutes adds the admin routes for this plugin to the Echo server
func (*CloudFoundrySpecification) AddSessionGroupRoutes ¶
func (c *CloudFoundrySpecification) AddSessionGroupRoutes(echoGroup *echo.Group)
AddSessionGroupRoutes adds the session routes for this plugin to the Echo server
func (*CloudFoundrySpecification) Connect ¶
func (c *CloudFoundrySpecification) Connect(ec echo.Context, cnsiRecord interfaces.CNSIRecord, userId string) (*interfaces.TokenRecord, bool, error)
func (*CloudFoundrySpecification) GetEndpointPlugin ¶
func (c *CloudFoundrySpecification) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
GetEndpointPlugin gets the endpoint plugin for this plugin
func (*CloudFoundrySpecification) GetMiddlewarePlugin ¶
func (c *CloudFoundrySpecification) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
GetMiddlewarePlugin gets the middleware plugin for this plugin
func (*CloudFoundrySpecification) GetRoutePlugin ¶
func (c *CloudFoundrySpecification) GetRoutePlugin() (interfaces.RoutePlugin, error)
GetRoutePlugin gets the route plugin for this plugin
func (*CloudFoundrySpecification) GetType ¶
func (c *CloudFoundrySpecification) GetType() string
func (*CloudFoundrySpecification) Info ¶
func (c *CloudFoundrySpecification) Info(apiEndpoint string, skipSSLValidation bool) (interfaces.CNSIRecord, interface{}, error)
func (*CloudFoundrySpecification) Init ¶
func (c *CloudFoundrySpecification) Init() error
func (*CloudFoundrySpecification) Register ¶
func (c *CloudFoundrySpecification) Register(echoContext echo.Context) error
func (*CloudFoundrySpecification) UpdateMetadata ¶
func (c *CloudFoundrySpecification) UpdateMetadata(info *interfaces.Info, userGUID string, echoContext echo.Context)
func (*CloudFoundrySpecification) Validate ¶
func (c *CloudFoundrySpecification) Validate(userGUID string, cnsiRecord interfaces.CNSIRecord, tokenRecord interfaces.TokenRecord) error
Click to show internal directories.
Click to hide internal directories.