Documentation ¶
Index ¶
- Constants
- Variables
- func AddServicePlanToContext(ctx context.Context, plan *ServicePlan) context.Context
- func AddServiceToContext(ctx context.Context, service *Service) context.Context
- func AttachRoutes(router *mux.Router, serviceBroker ServiceBroker, logger lager.Logger)
- func BindableValue(v bool) *booldeprecated
- func FreeValue(v bool) *booldeprecated
- func GetJsonNames(s reflect.Value) (res []string)deprecated
- func New(serviceBroker ServiceBroker, logger lager.Logger, ...) http.Handler
- type AsyncBindResponsedeprecated
- type BindDetailsdeprecated
- type BindResourcedeprecated
- type Bindingdeprecated
- type BindingResponsedeprecated
- type BrokerCredentials
- type CatalogResponsedeprecated
- type DeprovisionDetailsdeprecated
- type DeprovisionResponsedeprecated
- type DeprovisionServiceSpecdeprecated
- type DetailsWithRawContextdeprecated
- type DetailsWithRawParametersdeprecated
- type EmptyResponsedeprecated
- type ErrorResponsedeprecated
- type ExperimentalVolumeMountdeprecated
- type ExperimentalVolumeMountBindingResponsedeprecated
- type ExperimentalVolumeMountPrivatedeprecated
- type FailureResponsedeprecated
- type FailureResponseBuilderdeprecated
- type GetBindingResponsedeprecated
- type GetBindingSpecdeprecated
- type GetInstanceDetailsSpecdeprecated
- type GetInstanceResponsedeprecated
- type LastOperationdeprecated
- type LastOperationResponsedeprecated
- type LastOperationStatedeprecated
- type MaintenanceInfodeprecated
- type PollDetailsdeprecated
- type PreviousValuesdeprecated
- type ProvisionDetailsdeprecated
- type ProvisionedServiceSpecdeprecated
- type ProvisioningResponsedeprecated
- type RequiredPermissiondeprecated
- type Schemadeprecated
- type Servicedeprecated
- type ServiceBindingSchemadeprecated
- type ServiceBrokerdeprecated
- type ServiceDashboardClientdeprecated
- type ServiceInstanceSchemadeprecated
- type ServiceMetadatadeprecated
- type ServicePlandeprecated
- type ServicePlanCostdeprecated
- type ServicePlanMetadatadeprecated
- type ServiceSchemasdeprecated
- type SharedDevicedeprecated
- type UnbindDetailsdeprecated
- type UnbindResponsedeprecated
- type UnbindSpecdeprecated
- type UpdateDetailsdeprecated
- type UpdateResponsedeprecated
- type UpdateServiceSpecdeprecated
- type VolumeMountdeprecated
Constants ¶
const ( PermissionRouteForwarding = domain.PermissionRouteForwarding PermissionSyslogDrain = domain.PermissionSyslogDrain PermissionVolumeMount = domain.PermissionVolumeMount )
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
Variables ¶
var ( ErrInstanceAlreadyExists = apiresponses.ErrInstanceAlreadyExists ErrInstanceDoesNotExist = apiresponses.ErrInstanceDoesNotExist ErrInstanceLimitMet = apiresponses.ErrInstanceLimitMet ErrBindingAlreadyExists = apiresponses.ErrBindingAlreadyExists ErrBindingDoesNotExist = apiresponses.ErrBindingDoesNotExist ErrBindingNotFound = apiresponses.ErrBindingNotFound ErrAsyncRequired = apiresponses.ErrAsyncRequired ErrPlanChangeNotSupported = apiresponses.ErrPlanChangeNotSupported ErrRawParamsInvalid = apiresponses.ErrRawParamsInvalid ErrAppGuidNotProvided = apiresponses.ErrAppGuidNotProvided ErrPlanQuotaExceeded = apiresponses.ErrPlanQuotaExceeded ErrServiceQuotaExceeded = apiresponses.ErrServiceQuotaExceeded ErrConcurrentInstanceAccess = apiresponses.ErrConcurrentInstanceAccess ErrMaintenanceInfoConflict = apiresponses.ErrMaintenanceInfoConflict ErrMaintenanceInfoNilConflict = apiresponses.ErrMaintenanceInfoNilConflict )
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
Functions ¶
func AddServicePlanToContext ¶
func AddServicePlanToContext(ctx context.Context, plan *ServicePlan) context.Context
func AddServiceToContext ¶
func AttachRoutes ¶
func AttachRoutes(router *mux.Router, serviceBroker ServiceBroker, logger lager.Logger)
func BindableValue
deprecated
func GetJsonNames
deprecated
func New ¶
func New(serviceBroker ServiceBroker, logger lager.Logger, brokerCredentials BrokerCredentials) http.Handler
Types ¶
type AsyncBindResponse
deprecated
type AsyncBindResponse = apiresponses.AsyncBindResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type BindDetails
deprecated
type BindDetails = domain.BindDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type BindResource
deprecated
type BindResource = domain.BindResource
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type BindingResponse
deprecated
type BindingResponse = apiresponses.BindingResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type BrokerCredentials ¶
type CatalogResponse
deprecated
type CatalogResponse = apiresponses.CatalogResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type DeprovisionDetails
deprecated
type DeprovisionDetails = domain.DeprovisionDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type DeprovisionResponse
deprecated
type DeprovisionResponse = apiresponses.DeprovisionResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type DeprovisionServiceSpec
deprecated
type DeprovisionServiceSpec = domain.DeprovisionServiceSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type DetailsWithRawContext
deprecated
type DetailsWithRawContext interface { domain.DetailsWithRawContext }
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type DetailsWithRawParameters
deprecated
type DetailsWithRawParameters interface { domain.DetailsWithRawParameters }
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type EmptyResponse
deprecated
type EmptyResponse = apiresponses.EmptyResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type ErrorResponse
deprecated
type ErrorResponse = apiresponses.ErrorResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type ExperimentalVolumeMount
deprecated
type ExperimentalVolumeMount = domain.ExperimentalVolumeMount
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ExperimentalVolumeMountBindingResponse
deprecated
type ExperimentalVolumeMountBindingResponse = apiresponses.ExperimentalVolumeMountBindingResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type ExperimentalVolumeMountPrivate
deprecated
type ExperimentalVolumeMountPrivate = domain.ExperimentalVolumeMountPrivate
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type FailureResponse
deprecated
type FailureResponse = apiresponses.FailureResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses FailureResponse can be returned from any of the `ServiceBroker` interface methods which allow an error to be returned. Doing so will provide greater control over the HTTP response.
func NewFailureResponse
deprecated
func NewFailureResponse(err error, statusCode int, loggerAction string) *FailureResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses NewFailureResponse returns a pointer to a new instance of FailureResponse. err will by default be used as both a logging message and HTTP response description. statusCode is the HTTP status code to be returned, must be 4xx or 5xx loggerAction is a short description which will be used as the action if the error is logged.
type FailureResponseBuilder
deprecated
type FailureResponseBuilder = apiresponses.FailureResponseBuilder
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses FailureResponseBuilder provides a fluent set of methods to build a *FailureResponse.
func NewFailureResponseBuilder
deprecated
func NewFailureResponseBuilder(err error, statusCode int, loggerAction string) *FailureResponseBuilder
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses NewFailureResponseBuilder returns a pointer to a newly instantiated FailureResponseBuilder Accepts required arguments to create a FailureResponse.
type GetBindingResponse
deprecated
type GetBindingResponse = apiresponses.GetBindingResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type GetBindingSpec
deprecated
type GetBindingSpec = domain.GetBindingSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type GetInstanceDetailsSpec
deprecated
type GetInstanceDetailsSpec = domain.GetInstanceDetailsSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type GetInstanceResponse
deprecated
type GetInstanceResponse = apiresponses.GetInstanceResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type LastOperation
deprecated
type LastOperation = domain.LastOperation
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type LastOperationResponse
deprecated
type LastOperationResponse = apiresponses.LastOperationResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type LastOperationState
deprecated
type LastOperationState = domain.LastOperationState
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
const ( InProgress LastOperationState = "in progress" Succeeded LastOperationState = "succeeded" Failed LastOperationState = "failed" )
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type MaintenanceInfo
deprecated
type MaintenanceInfo = domain.MaintenanceInfo
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type PollDetails
deprecated
type PollDetails = domain.PollDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type PreviousValues
deprecated
type PreviousValues = domain.PreviousValues
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ProvisionDetails
deprecated
type ProvisionDetails = domain.ProvisionDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ProvisionedServiceSpec
deprecated
type ProvisionedServiceSpec = domain.ProvisionedServiceSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ProvisioningResponse
deprecated
type ProvisioningResponse = apiresponses.ProvisioningResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type RequiredPermission
deprecated
type RequiredPermission = domain.RequiredPermission
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServiceBindingSchema
deprecated
type ServiceBindingSchema = domain.ServiceBindingSchema
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServiceBroker
deprecated
type ServiceBroker interface { domain.ServiceBroker }
Deprecated: Use github.com/pivotal-cf/brokerapi/domain Each method of the ServiceBroker interface maps to an individual endpoint of the Open Service Broker API.
The specification is available here: https://github.com/openservicebrokerapi/servicebroker/blob/v2.14/spec.md
The OpenAPI documentation is available here: http://petstore.swagger.io/?url=https://raw.githubusercontent.com/openservicebrokerapi/servicebroker/v2.14/openapi.yaml
type ServiceDashboardClient
deprecated
type ServiceDashboardClient = domain.ServiceDashboardClient
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServiceInstanceSchema
deprecated
type ServiceInstanceSchema = domain.ServiceInstanceSchema
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServiceMetadata
deprecated
type ServiceMetadata = domain.ServiceMetadata
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServicePlan
deprecated
type ServicePlan = domain.ServicePlan
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
func RetrieveServicePlanFromContext ¶
func RetrieveServicePlanFromContext(ctx context.Context) *ServicePlan
type ServicePlanCost
deprecated
type ServicePlanCost = domain.ServicePlanCost
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServicePlanMetadata
deprecated
type ServicePlanMetadata = domain.ServicePlanMetadata
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type ServiceSchemas
deprecated
type ServiceSchemas = domain.ServiceSchemas
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type SharedDevice
deprecated
type SharedDevice = domain.SharedDevice
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type UnbindDetails
deprecated
type UnbindDetails = domain.UnbindDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type UnbindResponse
deprecated
type UnbindResponse = apiresponses.UnbindResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type UnbindSpec
deprecated
type UnbindSpec = domain.UnbindSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type UpdateDetails
deprecated
type UpdateDetails = domain.UpdateDetails
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type UpdateResponse
deprecated
type UpdateResponse = apiresponses.UpdateResponse
Deprecated: Use github.com/pivotal-cf/brokerapi/domain/apiresponses
type UpdateServiceSpec
deprecated
type UpdateServiceSpec = domain.UpdateServiceSpec
Deprecated: Use github.com/pivotal-cf/brokerapi/domain
type VolumeMount
deprecated
type VolumeMount = domain.VolumeMount
Deprecated: Use github.com/pivotal-cf/brokerapi/domain