server

package
v4.2.0-rc+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCfSharingWrapper

func NewCfSharingWrapper(wrapped brokerapi.ServiceBroker) brokerapi.ServiceBroker

NewCfSharingWrapper wraps the given servicebroker with the augmenter that sets the Shareable flag on all services.

func NewDocsHandler

func NewDocsHandler(registry broker.BrokerRegistry) http.HandlerFunc

NewDocsHandler returns a handler func that generates HTML documentation for the given registry.

Types

type CfSharingWraper

type CfSharingWraper struct {
	brokerapi.ServiceBroker
}

CfSharingWrapper enables the Shareable flag for every service provided by the broker.

func (*CfSharingWraper) Services

func (w *CfSharingWraper) Services(ctx context.Context) (services []brokerapi.Service, err error)

Services augments the response from the wrapped ServiceBroker by adding the shareable flag.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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