broker

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2016 License: Apache-2.0 Imports: 15 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindingIdParam

type BindingIdParam struct {
	// Service binding GUID
	// in: path
	// required: true
	BindingId string `json:"binding_id"`
}

swagger:parameters bindService unbindService

type Broker

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

Broker represents a running CF Service Broker API

func New

New creates a loaded instance of the broker

func (*Broker) Start

func (b *Broker) Start(config Config)

Start the broker

type BrokerErrorResponse

type BrokerErrorResponse struct {
	// Error description
	// in: body
	Body cf.BrokerError
}

Internal Server Error swagger:response brokerErrorResponse

type CatalogExtensionResponse

type CatalogExtensionResponse struct {
	// in: body
	Body extension.CatalogExtension
}

CatalogExtensionResponse swagger:response catalogExtensionResponse

type Config

type Config struct {
	CFEnv *cfenv.App
}

Config hold the broker configuration

func (*Config) Initialize

func (c *Config) Initialize(cfEnv *cfenv.App)

Initialize config with values from environment variables

type InstanceIdParam

type InstanceIdParam struct {
	// Service instance GUID
	// in: path
	// required: true
	InstanceId string `json:"instance_id"`
}

swagger:parameters provisionServiceInstance deprovisionServiceInstance bindService unbindService

type ServiceBindingResponse

type ServiceBindingResponse struct {
	// in: body
	Body types.ServiceBindingResponse
}

ServiceBindingResponse swagger:response serviceBindingResponse

type ServiceCreationResponse

type ServiceCreationResponse struct {
	// in: body
	Body cf.ServiceCreationResponse
}

ServiceCreationResponse swagger:response serviceCreationResponse

type ServiceExtensionResponse

type ServiceExtensionResponse struct {
	// in: body
	Body extension.ServiceExtension
}

ServiceExtensionResponse swagger:response serviceExtensionResponse

type ServiceIdParam

type ServiceIdParam struct {
	// Service GUID
	// in: path
	// required: true
	ServiceId string `json:"service_id"`
}

swagger:parameters updateService deleteService

Jump to

Keyboard shortcuts

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