cloudfoundry

package
v0.0.0-...-f34f428 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndpointType  = "cf"
	CLIENT_ID_KEY = "CF_CLIENT"
)

Variables

This section is empty.

Functions

func Init

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

Jump to

Keyboard shortcuts

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