Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressMonitorMetric ¶
IngressMonitorMetric represents a metric which will be used to capture information about an IngressMonitor.
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics is a wrapper for the metrics we use within the operator.
func New ¶
func New(reg *prometheus.Registry) *Metrics
New returns a new metrics handler which registers all it's metrics with the specified prometheus Registry to broadcast it's captured values.
func (*Metrics) AddIngressMonitor ¶
func (m *Metrics) AddIngressMonitor(obj IngressMonitorMetric)
AddIngressMonitor adds an extra IngressMonitor to the IngressMonitor Gauge for the namespace it's created in.
func (*Metrics) DeleteIngressMonitor ¶
func (m *Metrics) DeleteIngressMonitor(obj IngressMonitorMetric)
DeleteIngressMonitor deletes an IngressMonitor to the IngressMonitor Gauge from the namespace it's deleted from.
func (*Metrics) SyncIngressMonitor ¶
func (m *Metrics) SyncIngressMonitor(obj IngressMonitorMetric)
SyncIngressMonitor sets up the metrics for a sync action for an IngressMonitorMetric.
type Namespaced ¶
type Namespaced interface {
Namespace() string
}
Namespaced represent a type which has a namespace attached to it.