Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodMetricsEntry ¶
type PodMetricsEntry struct { Label string PodMetrics *v1beta1.PodMetrics }
type PodMetricsSampler ¶
type PodMetricsSampler interface { Reset() SampleConsumption(label string) error MaxCPU() *resource.Quantity MaxMem() *resource.Quantity MinCPU() *resource.Quantity MinMem() *resource.Quantity }
func NewPodMetricsSampler ¶
func NewPodMetricsSampler(cl client.Client, datasetDescription string, pod types.NamespacedName) (PodMetricsSampler, error)
Click to show internal directories.
Click to hide internal directories.