Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricEndpoint ¶
func MetricEndpoint( servicePlansFetcher *service_plans_fetcher.ServicePlansFetcher, serviceMetricsFetcher ServiceMetricFetcher, logger lager.Logger, ) gin.HandlerFunc
Types ¶
type ServiceMetricFetcher ¶
type ServiceMetricFetcher interface { FetchMetrics( c *gin.Context, user authenticator.CFUser, serviceInstances []cfclient.ServiceInstance, servicePlans []cfclient.ServicePlan, service cfclient.Service, ) ([]Metric, error) }
Click to show internal directories.
Click to hide internal directories.