ClusterMetricsHelper is the interface that provides operations for cluster metrics
| 37 | |
| 38 | // ClusterMetricsHelper is the interface that provides operations for cluster metrics |
| 39 | type ClusterMetricsHelper interface { |
| 40 | Refresh() error |
| 41 | } |
| 42 | |
| 43 | // NewClusterMetricsMgr will create a cluster metrics manager |
| 44 | func NewClusterMetricsMgr(ctx context.Context, kubeClient client.Client, refreshPeriod time.Duration) (*ClusterMetricsMgr, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected