Versions in this module Expand all Collapse all v1 v1.5.0 May 20, 2020 Changes in this version + const ErrorInstanceExists + const ErrorInstanceNotFound + const ErrorServerException + var GetServiceProviderErrorCode = map[string]int + var GetServiceProviderErrorCodeName = map[int]string + type Amount struct + Usd float32 + type BrokerError struct + Description string + type Catalog struct + Services []*Service + type Cost struct + Amount *Amount + Unit string + type Dashboard struct + ID string + Secret string + URI string + type Plan struct + Bindable bool + Description string + Free bool + ID string + Metadata *PlanMeta + Name string + type PlanMeta struct + Bullets []string + Costs string + DisplayName string + type Service struct + Bindable bool + BindingsRetrievable bool + Dashboard *Dashboard + Description string + ID string + InstancesRetrievable bool + Metadata *ServiceMeta + Name string + PlanUpdatable bool + Plans []*Plan + Requires []string + Tags []string + type ServiceBindingRequest struct + AppGUID string + BindingID string + InstanceID string + PlanID string + ServiceID string + type ServiceBindingResponse struct + Credentials map[string]string + SyslogDrainURL string + type ServiceCreationRequest struct + InstanceID string + OrganizationGUID string + Parameters map[string]string + PlanID string + ServiceID string + SpaceGUID string + type ServiceCreationResponse struct + DashboardURL string + type ServiceLastOperationResponse struct + Description string + State string + type ServiceMeta struct + Description string + DisplayName string + DocURL string + ImageURL string + ProviderDisplayName string + SupportURL string + type ServiceProvider interface + BindService func(r *ServiceBindingRequest) (*ServiceBindingResponse, *ServiceProviderError) + CreateService func(r *ServiceCreationRequest) (*ServiceCreationResponse, *ServiceProviderError) + DeleteService func(instanceID string) *ServiceProviderError + GetCatalog func() (*Catalog, *ServiceProviderError) + LastOperation func(instanceID string) (*ServiceLastOperationResponse, *ServiceProviderError) + UnbindService func(instanceID, bindingID string) *ServiceProviderError + type ServiceProviderError struct + Code int + Detail error + func NewServiceProviderError(code int, err error) *ServiceProviderError + func (e *ServiceProviderError) String() string