Documentation ¶
Overview ¶
Package osb contains logic for building the Service Manager OSB API
Index ¶
Constants ¶
View Source
const (
// BrokerIDPathParam is a service broker ID path parameter
BrokerIDPathParam = "brokerID"
)
Variables ¶
This section is empty.
Functions ¶
func CatalogFetcher ¶ added in v0.1.6
func CatalogFetcher(doRequestFunc util.DoRequestFunc, brokerAPIVersion string) func(ctx context.Context, broker *types.ServiceBroker) ([]byte, error)
CatalogFetcher creates a broker catalog fetcher that uses the provided request function to call the specified broker's catalog endpoint
Types ¶
type BrokerFetcherFunc ¶ added in v0.3.3
BrokerFetcherFunc is implemented by OSB proxy providers
type Controller ¶ added in v0.3.3
type Controller struct {
BrokerFetcher BrokerFetcherFunc
}
Controller implements api.Controller by providing OSB API logic
func (*Controller) Routes ¶ added in v0.3.3
func (c *Controller) Routes() []web.Route
Routes implements api.Controller.Routes by providing the routes for the OSB API
Click to show internal directories.
Click to hide internal directories.