Documentation ¶
Index ¶
- type BrokerBase
- func (b *BrokerBase) Bind(instanceID, bindingID string, details models.BindDetails) (models.ServiceBindingCredentials, error)
- func (b *BrokerBase) BuildInstanceCredentials(bindDetails map[string]string, instanceDetails map[string]string) map[string]string
- func (b *BrokerBase) DeprovisionsAsync() bool
- func (b *BrokerBase) LastOperationWasDelete(instanceId string) (bool, error)
- func (b *BrokerBase) PollInstance(instanceID string) (bool, error)
- func (b *BrokerBase) ProvisionsAsync() bool
- func (b *BrokerBase) Unbind(creds models.ServiceBindingCredentials) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerBase ¶
type BrokerBase struct {
AccountManager models.AccountManager
}
func (*BrokerBase) Bind ¶
func (b *BrokerBase) Bind(instanceID, bindingID string, details models.BindDetails) (models.ServiceBindingCredentials, error)
func (*BrokerBase) BuildInstanceCredentials ¶
func (*BrokerBase) DeprovisionsAsync ¶
func (b *BrokerBase) DeprovisionsAsync() bool
func (*BrokerBase) LastOperationWasDelete ¶
func (b *BrokerBase) LastOperationWasDelete(instanceId string) (bool, error)
used during polling of async operations to determine if the workflow is a provision or deprovision flow based off the type of the most recent operation
func (*BrokerBase) PollInstance ¶
func (b *BrokerBase) PollInstance(instanceID string) (bool, error)
Does nothing but return an error because Base services are provisioned synchronously so this method should not be called
func (*BrokerBase) ProvisionsAsync ¶
func (b *BrokerBase) ProvisionsAsync() bool
Indicates provisioning is done synchronously
func (*BrokerBase) Unbind ¶
func (b *BrokerBase) Unbind(creds models.ServiceBindingCredentials) error
Click to show internal directories.
Click to hide internal directories.