Versions in this module Expand all Collapse all v0 v0.9.2 Dec 14, 2023 v0.0.1 Nov 22, 2023 Changes in this version + const Last_modified_date + type ResourcesMetricsCollector struct + func NewResourcesMetricsCollector(logger logr.Logger, config etc.Config, trvConfig tunneloperator.ConfigData, ...) *ResourcesMetricsCollector + func (c *ResourcesMetricsCollector) SetupWithManager(mgr ctrl.Manager) error + func (c ResourcesMetricsCollector) Collect(metrics chan<- prometheus.Metric) + func (c ResourcesMetricsCollector) Describe(descs chan<- *prometheus.Desc) + func (c ResourcesMetricsCollector) NeedLeaderElection() bool + func (c ResourcesMetricsCollector) Start(ctx context.Context) error + type SeverityLabel struct + Label string + Severity v1alpha1.Severity + func NewSeverityLabel(severity v1alpha1.Severity) SeverityLabel + func SeverityCritical() SeverityLabel + func SeverityHigh() SeverityLabel + func SeverityLow() SeverityLabel + func SeverityMedium() SeverityLabel + func SeverityUnknown() SeverityLabel + type Status string + const FailStatus + const PassStatus + type StatusLabel struct + Label string + Status Status + func NewStatusLabel(status Status) StatusLabel + func StatusFail() StatusLabel + func StatusPass() StatusLabel