Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachRoutes ¶
func AttachRoutes(r *mux.Router, manageableBroker ManageableBroker, serviceOffering config.ServiceOffering, loggerFactory *loggerfactory.LoggerFactory)
Types ¶
type BrokerMetrics ¶ added in v0.31.0
type BrokerMetrics struct {
// contains filtered or unexported fields
}
func (BrokerMetrics) AddGlobalMetric ¶ added in v0.31.0
func (m BrokerMetrics) AddGlobalMetric(metricName string, value int) BrokerMetrics
func (BrokerMetrics) AddPlanMetric ¶ added in v0.31.0
func (m BrokerMetrics) AddPlanMetric(serviceOfferingPlanName, metricName string, value int) BrokerMetrics
type Deployment ¶
type Deployment struct {
Name string `json:"deployment_name"`
}
type ManageableBroker ¶
type ManageableBroker interface { Instances(filter map[string]string, logger *log.Logger) ([]service.Instance, error) OrphanDeployments(logger *log.Logger) ([]string, error) Upgrade(ctx context.Context, instanceID string, updateDetails domain.UpdateDetails, logger *log.Logger) (broker.OperationData, string, error) Recreate(ctx context.Context, instanceID string, updateDetails domain.UpdateDetails, logger *log.Logger) (broker.OperationData, error) CountInstancesOfPlans(logger *log.Logger) (map[cf.ServicePlan]int, error) }
Click to show internal directories.
Click to hide internal directories.