Documentation ¶
Index ¶
- type FakeAsyncOnlyServiceBroker
- func (fakeBroker *FakeAsyncOnlyServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeAsyncOnlyServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
- type FakeAsyncServiceBroker
- func (fakeBroker *FakeAsyncServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeAsyncServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
- type FakeCredentials
- type FakeServiceBroker
- func (fakeBroker *FakeServiceBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)
- func (fakeBroker *FakeServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeServiceBroker) LastOperation(instanceID, operationData string) (brokerapi.LastOperation, error)
- func (fakeBroker *FakeServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
- func (fakeBroker *FakeServiceBroker) Services() []brokerapi.Service
- func (fakeBroker *FakeServiceBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
- func (fakeBroker *FakeServiceBroker) Update(instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAsyncOnlyServiceBroker ¶
type FakeAsyncOnlyServiceBroker struct {
FakeServiceBroker
}
func (*FakeAsyncOnlyServiceBroker) Deprovision ¶
func (fakeBroker *FakeAsyncOnlyServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeAsyncOnlyServiceBroker) Provision ¶
func (fakeBroker *FakeAsyncOnlyServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
type FakeAsyncServiceBroker ¶
type FakeAsyncServiceBroker struct { FakeServiceBroker ShouldProvisionAsync bool }
func (*FakeAsyncServiceBroker) Deprovision ¶
func (fakeBroker *FakeAsyncServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeAsyncServiceBroker) Provision ¶
func (fakeBroker *FakeAsyncServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
type FakeCredentials ¶
type FakeServiceBroker ¶
type FakeServiceBroker struct { ProvisionDetails brokerapi.ProvisionDetails UpdateDetails brokerapi.UpdateDetails DeprovisionDetails brokerapi.DeprovisionDetails ProvisionedInstanceIDs []string DeprovisionedInstanceIDs []string UpdatedInstanceIDs []string BoundInstanceIDs []string BoundBindingIDs []string BoundBindingDetails brokerapi.BindDetails SyslogDrainURL string RouteServiceURL string VolumeMounts []brokerapi.VolumeMount UnbindingDetails brokerapi.UnbindDetails InstanceLimit int ProvisionError error BindError error DeprovisionError error LastOperationError error UpdateError error BrokerCalled bool LastOperationState brokerapi.LastOperationState LastOperationDescription string AsyncAllowed bool ShouldReturnAsync bool DashboardURL string OperationDataToReturn string LastOperationInstanceID string LastOperationData string }
func (*FakeServiceBroker) Bind ¶
func (fakeBroker *FakeServiceBroker) Bind(instanceID, bindingID string, details brokerapi.BindDetails) (brokerapi.Binding, error)
func (*FakeServiceBroker) Deprovision ¶
func (fakeBroker *FakeServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeServiceBroker) LastOperation ¶
func (fakeBroker *FakeServiceBroker) LastOperation(instanceID, operationData string) (brokerapi.LastOperation, error)
func (*FakeServiceBroker) Provision ¶
func (fakeBroker *FakeServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
func (*FakeServiceBroker) Services ¶
func (fakeBroker *FakeServiceBroker) Services() []brokerapi.Service
func (*FakeServiceBroker) Unbind ¶
func (fakeBroker *FakeServiceBroker) Unbind(instanceID, bindingID string, details brokerapi.UnbindDetails) error
func (*FakeServiceBroker) Update ¶
func (fakeBroker *FakeServiceBroker) Update(instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)
Click to show internal directories.
Click to hide internal directories.