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 ¶ added in v1.4.0
func NullIntToFloat ¶ added in v1.4.0
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 ¶ added in v1.4.0
type BuildpacksCollector struct {
// contains filtered or unexported fields
}
func NewBuildpacksCollector ¶ added in v1.4.0
func NewBuildpacksCollector( namespace string, environment string, deployment string, ) *BuildpacksCollector
func (BuildpacksCollector) Collect ¶ added in v1.4.0
func (c BuildpacksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (BuildpacksCollector) Describe ¶ added in v1.4.0
func (c BuildpacksCollector) Describe(ch chan<- *prometheus.Desc)
type Collector ¶ added in v1.4.0
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶ added in v1.4.0
func (*Collector) Collect ¶ added in v1.4.0
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶ added in v1.4.0
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type DomainsCollector ¶ added in v1.4.0
type DomainsCollector struct {
// contains filtered or unexported fields
}
func NewDomainsCollector ¶ added in v1.4.0
func NewDomainsCollector(namespace string, environment string, deployment string) *DomainsCollector
func (*DomainsCollector) Collect ¶ added in v1.4.0
func (c *DomainsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (*DomainsCollector) Describe ¶ added in v1.4.0
func (c *DomainsCollector) Describe(ch chan<- *prometheus.Desc)
type EventsCollector ¶ added in v0.8.0
type EventsCollector struct {
// contains filtered or unexported fields
}
func NewEventsCollector ¶ added in v0.8.0
func NewEventsCollector( namespace string, environment string, deployment string, ) *EventsCollector
func (*EventsCollector) Collect ¶ added in v0.8.0
func (c *EventsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (*EventsCollector) Describe ¶ added in v0.8.0
func (c *EventsCollector) Describe(ch chan<- *prometheus.Desc)
type IsolationSegmentsCollector ¶ added in v0.7.0
type IsolationSegmentsCollector struct {
// contains filtered or unexported fields
}
func NewIsolationSegmentsCollector ¶ added in v0.7.0
func NewIsolationSegmentsCollector( namespace string, environment string, deployment string, ) *IsolationSegmentsCollector
func (IsolationSegmentsCollector) Collect ¶ added in v0.7.0
func (c IsolationSegmentsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (IsolationSegmentsCollector) Describe ¶ added in v0.7.0
func (c IsolationSegmentsCollector) Describe(ch chan<- *prometheus.Desc)
type ObjectCollector ¶ added in v1.4.0
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 ¶ added in v1.4.0
type RouteBindingsCollector struct {
// contains filtered or unexported fields
}
func NewRouteBindingsCollector ¶ added in v1.4.0
func NewRouteBindingsCollector( namespace string, environment string, deployment string, ) *RouteBindingsCollector
func (RouteBindingsCollector) Collect ¶ added in v1.4.0
func (c RouteBindingsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (RouteBindingsCollector) Describe ¶ added in v1.4.0
func (c RouteBindingsCollector) Describe(ch chan<- *prometheus.Desc)
type RoutesCollector ¶ added in v0.4.0
type RoutesCollector struct {
// contains filtered or unexported fields
}
func NewRoutesCollector ¶ added in v0.4.0
func NewRoutesCollector( namespace string, environment string, deployment string, ) *RoutesCollector
func (RoutesCollector) Collect ¶ added in v0.4.0
func (c RoutesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (RoutesCollector) Describe ¶ added in v0.4.0
func (c RoutesCollector) Describe(ch chan<- *prometheus.Desc)
type SecurityGroupsCollector ¶ added in v0.3.0
type SecurityGroupsCollector struct {
// contains filtered or unexported fields
}
func NewSecurityGroupsCollector ¶ added in v0.3.0
func NewSecurityGroupsCollector( namespace string, environment string, deployment string, ) *SecurityGroupsCollector
func (SecurityGroupsCollector) Collect ¶ added in v0.3.0
func (c SecurityGroupsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (SecurityGroupsCollector) Describe ¶ added in v0.3.0
func (c SecurityGroupsCollector) Describe(ch chan<- *prometheus.Desc)
type ServiceBindingsCollector ¶ added in v0.5.1
type ServiceBindingsCollector struct {
// contains filtered or unexported fields
}
func NewServiceBindingsCollector ¶ added in v0.5.1
func NewServiceBindingsCollector( namespace string, environment string, deployment string, ) *ServiceBindingsCollector
func (ServiceBindingsCollector) Collect ¶ added in v0.5.1
func (c ServiceBindingsCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServiceBindingsCollector) Describe ¶ added in v0.5.1
func (c ServiceBindingsCollector) Describe(ch chan<- *prometheus.Desc)
type ServiceInstancesCollector ¶ added in v0.4.0
type ServiceInstancesCollector struct {
// contains filtered or unexported fields
}
func NewServiceInstancesCollector ¶ added in v0.4.0
func NewServiceInstancesCollector( namespace string, environment string, deployment string, ) *ServiceInstancesCollector
func (ServiceInstancesCollector) Collect ¶ added in v0.4.0
func (c ServiceInstancesCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServiceInstancesCollector) Describe ¶ added in v0.4.0
func (c ServiceInstancesCollector) Describe(ch chan<- *prometheus.Desc)
type ServicePlansCollector ¶ added in v0.5.1
type ServicePlansCollector struct {
// contains filtered or unexported fields
}
func NewServicePlansCollector ¶ added in v0.5.1
func NewServicePlansCollector( namespace string, environment string, deployment string, ) *ServicePlansCollector
func (ServicePlansCollector) Collect ¶ added in v0.5.1
func (c ServicePlansCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (ServicePlansCollector) Describe ¶ added in v0.5.1
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 ¶ added in v0.4.0
type StacksCollector struct {
// contains filtered or unexported fields
}
func NewStacksCollector ¶ added in v0.4.0
func NewStacksCollector( namespace string, environment string, deployment string, ) *StacksCollector
func (StacksCollector) Collect ¶ added in v0.4.0
func (c StacksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (StacksCollector) Describe ¶ added in v0.4.0
func (c StacksCollector) Describe(ch chan<- *prometheus.Desc)
type TasksCollector ¶ added in v1.4.0
type TasksCollector struct {
// contains filtered or unexported fields
}
func NewTasksCollector ¶ added in v1.4.0
func NewTasksCollector( namespace string, environment string, deployment string, ) *TasksCollector
func (TasksCollector) Collect ¶ added in v1.4.0
func (c TasksCollector) Collect(objs *models.CFObjects, ch chan<- prometheus.Metric)
func (TasksCollector) Describe ¶ added in v1.4.0
func (c TasksCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.