Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvgCPUUtil ¶
type AvgCPUUtils ¶
type AvgCPUUtils []*AvgCPUUtil
func (AvgCPUUtils) After ¶
func (a AvgCPUUtils) After(gte time.Time) AvgCPUUtils
func (AvgCPUUtils) AllGreaterThan ¶
func (a AvgCPUUtils) AllGreaterThan(threshold float64) bool
func (AvgCPUUtils) AllLessThan ¶
func (a AvgCPUUtils) AllLessThan(threshold float64) bool
type Provider ¶
type Provider interface {
GetCPUUtilMetrics(ctx context.Context, targetNodeNames []string, after time.Time) (AvgCPUUtils, error)
}
func NewMonitoringElasticsearchMetricsProvider ¶
func NewMonitoringElasticsearchMetricsProvider(monitoringESClient *esv8.TypedClient) Provider
Click to show internal directories.
Click to hide internal directories.