Documentation ¶
Index ¶
- type FakeAsyncOnlyServiceBroker
- func (fakeBroker *FakeAsyncOnlyServiceBroker) Deprovision(context context.Context, instanceID string, ...) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeAsyncOnlyServiceBroker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, ...) (brokerapi.ProvisionedServiceSpec, error)
- type FakeAsyncServiceBroker
- func (fakeBroker *FakeAsyncServiceBroker) Bind(context context.Context, instanceID, bindingID string, ...) (brokerapi.Binding, error)
- func (fakeBroker *FakeAsyncServiceBroker) Deprovision(context context.Context, instanceID string, ...) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeAsyncServiceBroker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, ...) (brokerapi.ProvisionedServiceSpec, error)
- type FakeCredentials
- type FakeServiceBroker
- func (fakeBroker *FakeServiceBroker) Bind(context context.Context, instanceID, bindingID string, ...) (brokerapi.Binding, error)
- func (fakeBroker *FakeServiceBroker) Deprovision(context context.Context, instanceID string, ...) (brokerapi.DeprovisionServiceSpec, error)
- func (fakeBroker *FakeServiceBroker) GetBinding(context context.Context, instanceID, bindingID string) (brokerapi.GetBindingSpec, error)
- func (fakeBroker *FakeServiceBroker) GetInstance(context context.Context, instanceID string) (brokerapi.GetInstanceDetailsSpec, error)
- func (fakeBroker *FakeServiceBroker) LastBindingOperation(context context.Context, instanceID, bindingID string, ...) (brokerapi.LastOperation, error)
- func (fakeBroker *FakeServiceBroker) LastOperation(context context.Context, instanceID string, details brokerapi.PollDetails) (brokerapi.LastOperation, error)
- func (fakeBroker *FakeServiceBroker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, ...) (brokerapi.ProvisionedServiceSpec, error)
- func (fakeBroker *FakeServiceBroker) Services(ctx context.Context) ([]brokerapi.Service, error)
- func (fakeBroker *FakeServiceBroker) Unbind(context context.Context, instanceID, bindingID string, ...) (brokerapi.UnbindSpec, error)
- func (fakeBroker *FakeServiceBroker) Update(context context.Context, instanceID string, details brokerapi.UpdateDetails, ...) (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(context context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeAsyncOnlyServiceBroker) Provision ¶
func (fakeBroker *FakeAsyncOnlyServiceBroker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
type FakeAsyncServiceBroker ¶
type FakeAsyncServiceBroker struct { FakeServiceBroker ShouldProvisionAsync bool }
func (*FakeAsyncServiceBroker) Bind ¶
func (fakeBroker *FakeAsyncServiceBroker) Bind(context context.Context, instanceID, bindingID string, details brokerapi.BindDetails, asyncAllowed bool) (brokerapi.Binding, error)
func (*FakeAsyncServiceBroker) Deprovision ¶
func (fakeBroker *FakeAsyncServiceBroker) Deprovision(context context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeAsyncServiceBroker) Provision ¶
func (fakeBroker *FakeAsyncServiceBroker) Provision(context context.Context, 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 GetInstanceIDs []string BoundInstanceIDs []string BoundBindingIDs []string BoundBindingDetails brokerapi.BindDetails SyslogDrainURL string RouteServiceURL string VolumeMounts []brokerapi.VolumeMount UnbindingDetails brokerapi.UnbindDetails InstanceLimit int ProvisionError error BindError error UnbindError error DeprovisionError error LastOperationError error UpdateError error GetInstanceError error BrokerCalled bool LastOperationState brokerapi.LastOperationState LastOperationDescription string AsyncAllowed bool ShouldReturnAsync bool DashboardURL string OperationDataToReturn string LastOperationInstanceID string LastOperationData string ReceivedContext bool ServiceID string PlanID string }
func (*FakeServiceBroker) Bind ¶
func (fakeBroker *FakeServiceBroker) Bind(context context.Context, instanceID, bindingID string, details brokerapi.BindDetails, asyncAllowed bool) (brokerapi.Binding, error)
func (*FakeServiceBroker) Deprovision ¶
func (fakeBroker *FakeServiceBroker) Deprovision(context context.Context, instanceID string, details brokerapi.DeprovisionDetails, asyncAllowed bool) (brokerapi.DeprovisionServiceSpec, error)
func (*FakeServiceBroker) GetBinding ¶
func (fakeBroker *FakeServiceBroker) GetBinding(context context.Context, instanceID, bindingID string) (brokerapi.GetBindingSpec, error)
func (*FakeServiceBroker) GetInstance ¶
func (fakeBroker *FakeServiceBroker) GetInstance(context context.Context, instanceID string) (brokerapi.GetInstanceDetailsSpec, error)
func (*FakeServiceBroker) LastBindingOperation ¶
func (fakeBroker *FakeServiceBroker) LastBindingOperation(context context.Context, instanceID, bindingID string, details brokerapi.PollDetails) (brokerapi.LastOperation, error)
func (*FakeServiceBroker) LastOperation ¶
func (fakeBroker *FakeServiceBroker) LastOperation(context context.Context, instanceID string, details brokerapi.PollDetails) (brokerapi.LastOperation, error)
func (*FakeServiceBroker) Provision ¶
func (fakeBroker *FakeServiceBroker) Provision(context context.Context, instanceID string, details brokerapi.ProvisionDetails, asyncAllowed bool) (brokerapi.ProvisionedServiceSpec, error)
func (*FakeServiceBroker) Unbind ¶
func (fakeBroker *FakeServiceBroker) Unbind(context context.Context, instanceID, bindingID string, details brokerapi.UnbindDetails, asyncAllowed bool) (brokerapi.UnbindSpec, error)
func (*FakeServiceBroker) Update ¶
func (fakeBroker *FakeServiceBroker) Update(context context.Context, instanceID string, details brokerapi.UpdateDetails, asyncAllowed bool) (brokerapi.UpdateServiceSpec, error)
Click to show internal directories.
Click to hide internal directories.