broker

package
v0.0.0-...-48ffbf1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: CC0-1.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MAX_HEADER_COUNT = 10
)

Functions

This section is empty.

Types

type DomainBroker

type DomainBroker struct {
	// contains filtered or unexported fields
}

func New

func New(
	manager models.RouteManagerIface,
	cfclient cf.Client,
	settings config.Settings,
	logger lager.Logger,
) *DomainBroker

func (*DomainBroker) Bind

func (b *DomainBroker) Bind(
	context context.Context,
	instanceID, bindingID string,
	details brokerapi.BindDetails,
	asyncAllowed bool,
) (brokerapi.Binding, error)

func (*DomainBroker) Deprovision

func (b *DomainBroker) Deprovision(
	context context.Context,
	instanceID string,
	details brokerapi.DeprovisionDetails,
	asyncAllowed bool,
) (brokerapi.DeprovisionServiceSpec, error)

func (*DomainBroker) GetBinding

func (b *DomainBroker) GetBinding(
	context context.Context,
	instanceID, bindingID string,
) (brokerapi.GetBindingSpec, error)

func (*DomainBroker) LastBindingOperation

func (b *DomainBroker) LastBindingOperation(
	context context.Context,
	instanceID, bindingID string,
	details brokerapi.PollDetails,
) (brokerapi.LastOperation, error)

func (*DomainBroker) LastOperation

func (b *DomainBroker) LastOperation(
	context context.Context,
	instanceID string,
	details brokerapi.PollDetails,
) (brokerapi.LastOperation, error)

func (*DomainBroker) Provision

func (b *DomainBroker) Provision(
	context context.Context,
	instanceID string,
	details brokerapi.ProvisionDetails,
	asyncAllowed bool,
) (brokerapi.ProvisionedServiceSpec, error)

func (*DomainBroker) Services

func (*DomainBroker) Services(context context.Context) ([]brokerapi.Service, error)

func (*DomainBroker) Unbind

func (b *DomainBroker) Unbind(
	context context.Context,
	instanceID, bindingID string,
	details brokerapi.UnbindDetails,
	asyncAllowed bool,
) (brokerapi.UnbindSpec, error)

func (*DomainBroker) Update

func (b *DomainBroker) Update(
	context context.Context,
	instanceID string,
	details brokerapi.UpdateDetails,
	asyncAllowed bool,
) (brokerapi.UpdateServiceSpec, error)

type Options

type Options struct {
	Domains []string `json:"domains"`
}

Jump to

Keyboard shortcuts

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