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 NewController ¶
func NewController(fetcher BrokerRoundTripper) web.Controller
NewController returns new OSB controller
Types ¶
type BrokerRoundTripper ¶
type BrokerRoundTripper interface {
http.RoundTripper
Broker(ctx context.Context, brokerID string) (*types.Broker, error)
}
BrokerRoundTripper is implemented by OSB handler providers
type BrokerTransport ¶
type BrokerTransport struct {
BrokerStorage storage.Broker
Encrypter security.Encrypter
Tr http.RoundTripper
}
BrokerTransport provides handler for the Service Manager OSB business logic
Click to show internal directories.
Click to hide internal directories.