Documentation
¶
Index ¶
- func BoolToFloat(val *bool) float64
- func NullIntToFloat(val *types.NullInt) float64
- type ApplicationsCollector
- type BuildpacksCollector
- type Collector
- type DomainsCollector
- type EventsCollector
- type IsolationSegmentsCollector
- type ObjectCollector
- type OrganizationsCollector
- type RouteBindingsCollector
- type RoutesCollector
- type SecurityGroupsCollector
- type ServiceBindingsCollector
- type ServiceInstancesCollector
- type ServicePlansCollector
- type ServicesCollector
- type SpacesCollector
- type StacksCollector
- type TasksCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToFloat ¶
func NullIntToFloat ¶
Types ¶
type ApplicationsCollector ¶
type ApplicationsCollector struct {
// contains filtered or unexported fields
}
func NewApplicationsCollector ¶
func NewApplicationsCollector( namespace string, environment string, deployment string, ) *ApplicationsCollector
func (ApplicationsCollector) Collect ¶
func (c ApplicationsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ApplicationsCollector) Describe ¶
func (c ApplicationsCollector) Describe(ch chan<- *prometheus.Desc)
type BuildpacksCollector ¶
type BuildpacksCollector struct {
// contains filtered or unexported fields
}
func NewBuildpacksCollector ¶
func NewBuildpacksCollector( namespace string, environment string, deployment string, ) *BuildpacksCollector
func (BuildpacksCollector) Collect ¶
func (c BuildpacksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (BuildpacksCollector) Describe ¶
func (c BuildpacksCollector) Describe(ch chan<- *prometheus.Desc)
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type DomainsCollector ¶
type DomainsCollector struct {
// contains filtered or unexported fields
}
func NewDomainsCollector ¶
func NewDomainsCollector(namespace string, environment string, deployment string) *DomainsCollector
func (*DomainsCollector) Collect ¶
func (c *DomainsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (*DomainsCollector) Describe ¶
func (c *DomainsCollector) Describe(ch chan<- *prometheus.Desc)
type EventsCollector ¶
type EventsCollector struct {
// contains filtered or unexported fields
}
func NewEventsCollector ¶
func NewEventsCollector( namespace string, environment string, deployment string, ) *EventsCollector
func (*EventsCollector) Collect ¶
func (c *EventsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (*EventsCollector) Describe ¶
func (c *EventsCollector) Describe(ch chan<- *prometheus.Desc)
type IsolationSegmentsCollector ¶
type IsolationSegmentsCollector struct {
// contains filtered or unexported fields
}
func NewIsolationSegmentsCollector ¶
func NewIsolationSegmentsCollector( namespace string, environment string, deployment string, ) *IsolationSegmentsCollector
func (IsolationSegmentsCollector) Collect ¶
func (c IsolationSegmentsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (IsolationSegmentsCollector) Describe ¶
func (c IsolationSegmentsCollector) Describe(ch chan<- *prometheus.Desc)
type ObjectCollector ¶
type ObjectCollector interface {
Collect(*models.CFObjects, chan<- prometheus.Metric)
Describe(ch chan<- *prometheus.Desc)
}
type OrganizationsCollector ¶
type OrganizationsCollector struct {
// contains filtered or unexported fields
}
func NewOrganizationsCollector ¶
func NewOrganizationsCollector( namespace string, environment string, deployment string, ) *OrganizationsCollector
func (OrganizationsCollector) Collect ¶
func (c OrganizationsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (OrganizationsCollector) Describe ¶
func (c OrganizationsCollector) Describe(ch chan<- *prometheus.Desc)
type RouteBindingsCollector ¶
type RouteBindingsCollector struct {
// contains filtered or unexported fields
}
func NewRouteBindingsCollector ¶
func NewRouteBindingsCollector( namespace string, environment string, deployment string, ) *RouteBindingsCollector
func (RouteBindingsCollector) Collect ¶
func (c RouteBindingsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (RouteBindingsCollector) Describe ¶
func (c RouteBindingsCollector) Describe(ch chan<- *prometheus.Desc)
type RoutesCollector ¶
type RoutesCollector struct {
// contains filtered or unexported fields
}
func NewRoutesCollector ¶
func NewRoutesCollector( namespace string, environment string, deployment string, ) *RoutesCollector
func (RoutesCollector) Collect ¶
func (c RoutesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (RoutesCollector) Describe ¶
func (c RoutesCollector) Describe(ch chan<- *prometheus.Desc)
type SecurityGroupsCollector ¶
type SecurityGroupsCollector struct {
// contains filtered or unexported fields
}
func NewSecurityGroupsCollector ¶
func NewSecurityGroupsCollector( namespace string, environment string, deployment string, ) *SecurityGroupsCollector
func (SecurityGroupsCollector) Collect ¶
func (c SecurityGroupsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (SecurityGroupsCollector) Describe ¶
func (c SecurityGroupsCollector) Describe(ch chan<- *prometheus.Desc)
type ServiceBindingsCollector ¶
type ServiceBindingsCollector struct {
// contains filtered or unexported fields
}
func NewServiceBindingsCollector ¶
func NewServiceBindingsCollector( namespace string, environment string, deployment string, ) *ServiceBindingsCollector
func (ServiceBindingsCollector) Collect ¶
func (c ServiceBindingsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServiceBindingsCollector) Describe ¶
func (c ServiceBindingsCollector) Describe(ch chan<- *prometheus.Desc)
type ServiceInstancesCollector ¶
type ServiceInstancesCollector struct {
// contains filtered or unexported fields
}
func NewServiceInstancesCollector ¶
func NewServiceInstancesCollector( namespace string, environment string, deployment string, ) *ServiceInstancesCollector
func (ServiceInstancesCollector) Collect ¶
func (c ServiceInstancesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServiceInstancesCollector) Describe ¶
func (c ServiceInstancesCollector) Describe(ch chan<- *prometheus.Desc)
type ServicePlansCollector ¶
type ServicePlansCollector struct {
// contains filtered or unexported fields
}
func NewServicePlansCollector ¶
func NewServicePlansCollector( namespace string, environment string, deployment string, ) *ServicePlansCollector
func (ServicePlansCollector) Collect ¶
func (c ServicePlansCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServicePlansCollector) Describe ¶
func (c ServicePlansCollector) Describe(ch chan<- *prometheus.Desc)
type ServicesCollector ¶
type ServicesCollector struct {
// contains filtered or unexported fields
}
func NewServicesCollector ¶
func NewServicesCollector( namespace string, environment string, deployment string, ) *ServicesCollector
func (ServicesCollector) Collect ¶
func (c ServicesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServicesCollector) Describe ¶
func (c ServicesCollector) Describe(ch chan<- *prometheus.Desc)
type SpacesCollector ¶
type SpacesCollector struct {
// contains filtered or unexported fields
}
func NewSpacesCollector ¶
func NewSpacesCollector( namespace string, environment string, deployment string, ) *SpacesCollector
func (SpacesCollector) Collect ¶
func (c SpacesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (SpacesCollector) Describe ¶
func (c SpacesCollector) Describe(ch chan<- *prometheus.Desc)
type StacksCollector ¶
type StacksCollector struct {
// contains filtered or unexported fields
}
func NewStacksCollector ¶
func NewStacksCollector( namespace string, environment string, deployment string, ) *StacksCollector
func (StacksCollector) Collect ¶
func (c StacksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (StacksCollector) Describe ¶
func (c StacksCollector) Describe(ch chan<- *prometheus.Desc)
type TasksCollector ¶
type TasksCollector struct {
// contains filtered or unexported fields
}
func NewTasksCollector ¶
func NewTasksCollector( namespace string, environment string, deployment string, ) *TasksCollector
func (TasksCollector) Collect ¶
func (c TasksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (TasksCollector) Describe ¶
func (c TasksCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.