v0.0.0-...-fe161b3 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2020 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type FakeServiceBroker

type FakeServiceBroker struct {
	BrokerCalled bool

	ProvisionInstanceID        string
	ProvisionDetails           brokerapi.ProvisionDetails
	ProvisionAcceptsIncomplete bool
	ProvisionResponse          brokerapi.ProvisioningResponse
	ProvisionAsynch            bool
	ProvisionError             error

	UpdateInstanceID        string
	UpdateDetails           brokerapi.UpdateDetails
	UpdateAcceptsIncomplete bool
	UpdateAsynch            bool
	UpdateError             error

	DeprovisionInstanceID        string
	DeprovisionDetails           brokerapi.DeprovisionDetails
	DeprovisionAcceptsIncomplete bool
	DeprovisionAsynch            bool
	DeprovisionError             error

	BindInstanceID string
	BindBindingID  string
	BindDetails    brokerapi.BindDetails
	BindResponse   brokerapi.BindingResponse
	BindError      error

	UnbindInstanceID string
	UnbindBindingID  string
	UnbindDetails    brokerapi.UnbindDetails
	UnbindError      error

	LastOperationInstanceID string
	LastOperationResponse   brokerapi.LastOperationResponse
	LastOperationError      error

func (*FakeServiceBroker) Bind

func (fakeBroker *FakeServiceBroker) Bind(instanceID string, bindingID string, details brokerapi.BindDetails) (brokerapi.BindingResponse, error)

func (*FakeServiceBroker) Deprovision

func (fakeBroker *FakeServiceBroker) Deprovision(instanceID string, details brokerapi.DeprovisionDetails, acceptsIncomplete bool) (bool, error)

func (*FakeServiceBroker) LastOperation

func (fakeBroker *FakeServiceBroker) LastOperation(instanceID string) (brokerapi.LastOperationResponse, error)

func (*FakeServiceBroker) Provision

func (fakeBroker *FakeServiceBroker) Provision(instanceID string, details brokerapi.ProvisionDetails, acceptsIncomplete bool) (brokerapi.ProvisioningResponse, bool, error)

func (*FakeServiceBroker) Services

func (fakeBroker *FakeServiceBroker) Services() brokerapi.CatalogResponse

func (*FakeServiceBroker) Unbind

func (fakeBroker *FakeServiceBroker) Unbind(instanceID string, bindingID string, details brokerapi.UnbindDetails) error

func (*FakeServiceBroker) Update

func (fakeBroker *FakeServiceBroker) Update(instanceID string, details brokerapi.UpdateDetails, acceptsIncomplete bool) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL