Documentation ¶
Index ¶
- type FakeCredentials
- type FakeServiceBroker
- func (fakeBroker *FakeServiceBroker) Bind(instanceID, bindingID string) (interface{}, error)
- func (fakeBroker *FakeServiceBroker) Deprovision(instanceID string) error
- func (fakeBroker *FakeServiceBroker) Provision(instanceID string, serviceDetails brokerapi.ServiceDetails) error
- func (fakeBroker *FakeServiceBroker) Services() []brokerapi.Service
- func (fakeBroker *FakeServiceBroker) Unbind(instanceID, bindingID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCredentials ¶
type FakeServiceBroker ¶
type FakeServiceBroker struct { ServiceDetails brokerapi.ServiceDetails ProvisionedInstanceIDs []string DeprovisionedInstanceIDs []string BoundInstanceIDs []string BoundBindingIDs []string InstanceLimit int ProvisionError error BindError error DeprovisionError error BrokerCalled bool }
func (*FakeServiceBroker) Bind ¶
func (fakeBroker *FakeServiceBroker) Bind(instanceID, bindingID string) (interface{}, error)
func (*FakeServiceBroker) Deprovision ¶
func (fakeBroker *FakeServiceBroker) Deprovision(instanceID string) error
func (*FakeServiceBroker) Provision ¶
func (fakeBroker *FakeServiceBroker) Provision(instanceID string, serviceDetails brokerapi.ServiceDetails) error
func (*FakeServiceBroker) Services ¶
func (fakeBroker *FakeServiceBroker) Services() []brokerapi.Service
func (*FakeServiceBroker) Unbind ¶
func (fakeBroker *FakeServiceBroker) Unbind(instanceID, bindingID string) error
Click to show internal directories.
Click to hide internal directories.