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 BrokerFetcher, _ http.RoundTripper) web.Controller
NewController returns new OSB controller
Types ¶
type BrokerFetcher ¶ added in v0.1.1
type BrokerFetcher interface {
FetchBroker(ctx context.Context, brokerID string) (*types.Broker, error)
}
BrokerFetcher is implemented by OSB handler providers
type StorageBrokerFetcher ¶ added in v0.1.1
StorageBrokerFetcher provides logic for fetching the broker coordinates from the storage
func (*StorageBrokerFetcher) FetchBroker ¶ added in v0.1.1
func (sbf *StorageBrokerFetcher) FetchBroker(ctx context.Context, brokerID string) (*types.Broker, error)
FetchBroker obtains the broker coordinates (auth and URL)
Click to show internal directories.
Click to hide internal directories.