Documentation
¶
Index ¶
- func CreateBackup(client compose.Client, deploymentName string)
- func DoRequest(server http.Handler, req func() *http.Request, expectedCode int) *httptest.ResponseRecorder
- func MongoConnection(uri, caBase64 string) (*mgo.Session, error)
- func NewRequest(method, path string, body []byte, username, password string, ...) func() *http.Request
- func NewUUID() string
- func PollForOperationCompletion(cfg *config.Config, brokerAPI http.Handler, ...) string
- func ReadResponseBody(responseBody *bytes.Buffer) []byte
- type BindingData
- type ServiceHelper
- type UriParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackup ¶ added in v0.15.0
func MongoConnection ¶ added in v0.8.0
func NewRequest ¶
func PollForOperationCompletion ¶ added in v0.6.0
func ReadResponseBody ¶
Types ¶
type BindingData ¶ added in v0.6.0
type ServiceHelper ¶ added in v0.6.0
type ServiceHelper struct { ServiceID string PlanID string Catalog *catalog.Catalog Cfg *config.Config Logger lager.Logger BrokerInstance *broker.Broker BrokerAPI http.Handler ComposeClient compose.Client Provider dbengine.Provider }
func NewService ¶ added in v0.6.0
func NewService(serviceID string, planID string, whitelistedIPs []string) (s *ServiceHelper)
func (*ServiceHelper) Bind ¶ added in v0.6.0
func (s *ServiceHelper) Bind(instanceID, appID string) (binding *BindingData)
func (*ServiceHelper) Deprovision ¶ added in v0.6.0
func (s *ServiceHelper) Deprovision(instanceID string)
func (*ServiceHelper) Provision ¶ added in v0.6.0
func (s *ServiceHelper) Provision(params map[string]interface{}) string
func (*ServiceHelper) Unbind ¶ added in v0.6.0
func (s *ServiceHelper) Unbind(instanceID, bindingID string)
Click to show internal directories.
Click to hide internal directories.