Documentation
¶
Index ¶
- Variables
- func CheckIfPlanIDExists(serviceID, planID string) bool
- func CheckIfServiceBindingExists(serviceID, planID, instanceID, bindingID string) bool
- func CheckIfServiceBingdingExistsWithDifferentProperties(serviceID, planID, instanceID, bindingID string, params interface{}) bool
- func CheckIfServiceIDExists(serviceID string) bool
- func CheckIfServiceInstanceExists(serviceID, planID, instanceID string) bool
- func CheckIfServiceInstanceExistsWithDifferentProperties(serviceID, planID, instanceID string, params interface{}) bool
- func GetCatalogPayload() *openapi.Catalog
- func RefreshServiceInstancePayload(instanceID, planID string, params map[string]interface{})
- func RemoveServiceBindingPayload(serviceID, planID, instanceID, bindingID string)
- func RemoveServiceInstancePayload(serviceID, planID, instanceID string)
- func StoreServiceBindingPayload(payload *ServiceBindingPayload)
- func StoreServiceInstancePayload(payload *ServiceInstancePayload)
- type ServiceBindingPayload
- type ServiceInstancePayload
Constants ¶
This section is empty.
Variables ¶
View Source
var BrokerAuthCredentials = map[string]string{
"username": "username",
"password": "password",
}
View Source
var CatalogJSONPayload = `` /* 3492-byte string literal not displayed */
View Source
var CredentialsPayload = map[string]interface{}{
"uri": "mysql://mysqluser:pass@mysqlhost:3306/dbname",
"username": "mysqluser",
"password": "pass",
"host": "mysqlhost",
"port": 3306,
"database": "dbname",
}
Functions ¶
func CheckIfPlanIDExists ¶
func CheckIfServiceIDExists ¶
func GetCatalogPayload ¶
func RemoveServiceBindingPayload ¶
func RemoveServiceBindingPayload(serviceID, planID, instanceID, bindingID string)
func RemoveServiceInstancePayload ¶
func RemoveServiceInstancePayload(serviceID, planID, instanceID string)
func StoreServiceBindingPayload ¶
func StoreServiceBindingPayload(payload *ServiceBindingPayload)
func StoreServiceInstancePayload ¶
func StoreServiceInstancePayload(payload *ServiceInstancePayload)
Types ¶
type ServiceBindingPayload ¶
type ServiceBindingPayload struct {
ServiceID, PlanID string
InstanceID, BindingID string
Payload *openapi.ServiceBindingResource
}
func FindServiceBindingPayload ¶
func FindServiceBindingPayload(instanceID, bindingID string) (*ServiceBindingPayload, error)
type ServiceInstancePayload ¶
type ServiceInstancePayload struct { InstanceID string Payload *openapi.ServiceInstanceResource }
func FindServiceInstancePayload ¶
func FindServiceInstancePayload(instanceID string) (*ServiceInstancePayload, error)
Click to show internal directories.
Click to hide internal directories.