Documentation ¶
Index ¶
- Constants
- func NewAPI(broker domain.ServiceBroker, logger lager.Logger, config Config) http.Handler
- type API
- type Broker
- func (b *Broker) Bind(ctx context.Context, instanceID, bindingID string, details domain.BindDetails, ...) (domain.Binding, error)
- func (b *Broker) Deprovision(ctx context.Context, instanceID string, details domain.DeprovisionDetails, ...) (domain.DeprovisionServiceSpec, error)
- func (b *Broker) GetBinding(ctx context.Context, first, second string) (domain.GetBindingSpec, error)
- func (b *Broker) GetInstance(ctx context.Context, first string) (domain.GetInstanceDetailsSpec, error)
- func (b *Broker) LastBindingOperation(ctx context.Context, first, second string, pollDetails domain.PollDetails) (domain.LastOperation, error)
- func (b *Broker) LastOperation(ctx context.Context, instanceID string, pollDetails domain.PollDetails) (domain.LastOperation, error)
- func (b *Broker) Provision(ctx context.Context, instanceID string, details domain.ProvisionDetails, ...) (domain.ProvisionedServiceSpec, error)
- func (b *Broker) Services(ctx context.Context) ([]domain.Service, error)
- func (b *Broker) Unbind(ctx context.Context, instanceID, bindingID string, ...) (domain.UnbindSpec, error)
- func (b *Broker) Update(ctx context.Context, instanceID string, details domain.UpdateDetails, ...) (domain.UpdateServiceSpec, error)
- type Catalog
- type Config
Constants ¶
View Source
const ( DefaultPort = "3000" DefaultLogLevel = "debug" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type Broker ¶
type Broker struct { Provider provider.ServiceProvider // contains filtered or unexported fields }
func (*Broker) Deprovision ¶
func (b *Broker) Deprovision( ctx context.Context, instanceID string, details domain.DeprovisionDetails, asyncAllowed bool, ) (domain.DeprovisionServiceSpec, error)
func (*Broker) GetBinding ¶ added in v0.24.0
func (*Broker) GetInstance ¶ added in v0.24.0
func (*Broker) LastBindingOperation ¶ added in v0.24.0
func (b *Broker) LastBindingOperation(ctx context.Context, first, second string, pollDetails domain.PollDetails) (domain.LastOperation, error)
func (*Broker) LastOperation ¶
func (b *Broker) LastOperation( ctx context.Context, instanceID string, pollDetails domain.PollDetails, ) (domain.LastOperation, error)
func (*Broker) Provision ¶
func (b *Broker) Provision( ctx context.Context, instanceID string, details domain.ProvisionDetails, asyncAllowed bool, ) (domain.ProvisionedServiceSpec, error)
type Catalog ¶
type Catalog struct {
Catalog apiresponses.CatalogResponse `json:"catalog"`
}
Click to show internal directories.
Click to hide internal directories.