brokerserver

package
v0.0.0-...-81a4f0c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDashboardURL

func GetDashboardURL(conf *config.Config, instanceId string) string

func NewBrokerServer

func NewBrokerServer(logger lager.Logger, conf *config.Config, bindingdb db.BindingDB, policydb db.PolicyDB, httpStatusCollector healthendpoint.HTTPStatusCollector, cfClient cf.CFClient, credentials cred_helper.Credentials) (ifrit.Runner, error)

Types

type BrokerHandler

type BrokerHandler struct {
	// contains filtered or unexported fields
}

func NewBrokerHandler

func NewBrokerHandler(logger lager.Logger, conf *config.Config, bindingdb db.BindingDB, policydb db.PolicyDB, catalog []domain.Service, cfClient cf.CFClient, credentials cred_helper.Credentials) *BrokerHandler

func (*BrokerHandler) BindServiceInstance

func (h *BrokerHandler) BindServiceInstance(w http.ResponseWriter, r *http.Request, vars map[string]string)

func (*BrokerHandler) CreateServiceInstance

func (h *BrokerHandler) CreateServiceInstance(w http.ResponseWriter, r *http.Request, vars map[string]string)

func (*BrokerHandler) DeleteServiceInstance

func (h *BrokerHandler) DeleteServiceInstance(w http.ResponseWriter, _ *http.Request, vars map[string]string)

func (*BrokerHandler) GetBrokerCatalog

func (h *BrokerHandler) GetBrokerCatalog(w http.ResponseWriter, _ *http.Request, _ map[string]string)

func (*BrokerHandler) GetHealth

func (h *BrokerHandler) GetHealth(w http.ResponseWriter, r *http.Request, vars map[string]string)

func (*BrokerHandler) UnbindServiceInstance

func (h *BrokerHandler) UnbindServiceInstance(w http.ResponseWriter, _ *http.Request, vars map[string]string)

func (*BrokerHandler) UpdateServiceInstance

func (h *BrokerHandler) UpdateServiceInstance(w http.ResponseWriter, r *http.Request, vars map[string]string)

type MiddleWareBrokerCredentials

type MiddleWareBrokerCredentials struct {
	BrokerUsername     string
	BrokerUsernameHash []byte
	BrokerPassword     string
	BrokerPasswordHash []byte
}

type VarsFunc

type VarsFunc func(w http.ResponseWriter, r *http.Request, vars map[string]string)

func (VarsFunc) ServeHTTP

func (vh VarsFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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