Documentation ¶
Index ¶
- Constants
- type Broker
- func (b *Broker) Bind(context context.Context, instanceID string, bindingID string, ...) (_ domain.Binding, e error)
- func (b *Broker) Deprovision(context context.Context, instanceID string, details domain.DeprovisionDetails, ...) (_ domain.DeprovisionServiceSpec, e error)
- func (b *Broker) GetBinding(ctx context.Context, instanceID, bindingID string) (domain.GetBindingSpec, error)
- func (b *Broker) GetInstance(ctx context.Context, instanceID string) (domain.GetInstanceDetailsSpec, error)
- func (b *Broker) LastBindingOperation(ctx context.Context, instanceID, bindingID string, details domain.PollDetails) (domain.LastOperation, error)
- func (b *Broker) LastOperation(_ context.Context, instanceID string, _ domain.PollDetails) (domain.LastOperation, error)
- func (b *Broker) Provision(context context.Context, instanceID string, details domain.ProvisionDetails, ...) (_ domain.ProvisionedServiceSpec, e error)
- func (b *Broker) Services(_ context.Context) ([]domain.Service, error)
- func (b *Broker) Unbind(context context.Context, instanceID string, bindingID string, ...) (_ domain.UnbindSpec, e error)
- func (b *Broker) Update(context context.Context, instanceID string, details domain.UpdateDetails, ...) (domain.UpdateServiceSpec, error)
- type BrokerType
- type Services
Constants ¶
View Source
const ( DEFAULT_CONTAINER_PATH = "/var/vcap/data" SHARE_KEY = "share" SOURCE_KEY = "source" VERSION_KEY = "version" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct { DisallowedBindOverrides []string // contains filtered or unexported fields }
func New ¶
func New( brokerType BrokerType, logger lager.Logger, services Services, os osshim.Os, clock clock.Clock, store brokerstore.Store, configMask vmo.MountOptsMask, ) *Broker
func (*Broker) Deprovision ¶
func (b *Broker) Deprovision(context context.Context, instanceID string, details domain.DeprovisionDetails, _ bool) (_ domain.DeprovisionServiceSpec, e error)
func (*Broker) GetBinding ¶ added in v0.6.0
func (*Broker) GetInstance ¶ added in v0.6.0
func (*Broker) LastBindingOperation ¶ added in v0.6.0
func (b *Broker) LastBindingOperation(ctx context.Context, instanceID, bindingID string, details domain.PollDetails) (domain.LastOperation, error)
func (*Broker) LastOperation ¶
func (b *Broker) LastOperation(_ context.Context, instanceID string, _ domain.PollDetails) (domain.LastOperation, error)
func (*Broker) Provision ¶
func (b *Broker) Provision(context context.Context, instanceID string, details domain.ProvisionDetails, _ bool) (_ domain.ProvisionedServiceSpec, e error)
Click to show internal directories.
Click to hide internal directories.