Versions in this module Expand all Collapse all v1 v1.0.1 Sep 30, 2019 v1.0.0 Sep 29, 2019 Changes in this version + func NewRouter(c *config.Config) *mux.Router + type Broker struct + API config.API + Client *api.Client + Password string + ServiceCatalog *ServiceCatalog + Username string + func NewBroker(c *config.Config) *Broker + func (b *Broker) BasicAuth(handler http.HandlerFunc) http.HandlerFunc + func (b *Broker) Bind(rw http.ResponseWriter, req *http.Request) + func (b *Broker) Catalog(rw http.ResponseWriter, req *http.Request) + func (b *Broker) DeprovisionInstance(rw http.ResponseWriter, req *http.Request) + func (b *Broker) Error(rw http.ResponseWriter, req *http.Request, code int, err, desc string) + func (b *Broker) FetchBinding(rw http.ResponseWriter, req *http.Request) + func (b *Broker) FetchInstance(rw http.ResponseWriter, req *http.Request) + func (b *Broker) Health(rw http.ResponseWriter, req *http.Request) + func (b *Broker) ProvisionInstance(rw http.ResponseWriter, req *http.Request) + func (b *Broker) Unbind(rw http.ResponseWriter, req *http.Request) + type Service struct + Bindable bool + BindingsRetrievable bool + Description string + ID string + InstancesRetrievable bool + Metadata struct{ ... } + Name string + Plans []ServicePlan + Tags []string + type ServiceBinding struct + PlanID string + ServiceID string + type ServiceBindingResponse struct + Credentials ServiceBindingResponseCredentials + Endpoints []ServiceBindingResponseEndpoint + Parameters ServiceBindingResponseParameters + func ParseBinding(instance *api.InstanceInfo) ServiceBindingResponse + type ServiceBindingResponseCredentials struct + APIKey string + Database string + DatabaseURI string + Host string + Hostname string + Password string + Port int + Scheme string + URI string + URL string + Username string + type ServiceBindingResponseEndpoint struct + Host string + Ports []string + type ServiceBindingResponseParameters struct + ID int + Name string + Plan string + Region string + type ServiceCatalog struct + Services []Service + func LoadServiceCatalog(filename string) *ServiceCatalog + type ServiceInstanceFetchResponse struct + DashboardURL string + Parameters ServiceInstanceFetchResponseParameters + PlanID string + ServiceID string + type ServiceInstanceFetchResponseParameters struct + ID int + Name string + Plan string + Region string + type ServiceInstanceProvisioning struct + Parameters struct{ ... } + PlanID string + ServiceID string + type ServiceInstanceProvisioningResponse struct + DashboardURL string + type ServicePlan struct + Bindable bool + Description string + Free bool + ID string + Metadata struct{ ... } + Name string