recommenders

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCPURecommender

func NewCPURecommender() algorithm.ResourceRecommender

NewCPURecommender construct CPURecommender

Types

type ContainerStatistic

type ContainerStatistic struct {
	UsageIntegral resource.Quantity
	TimeSum       metav1.Duration
}

type SimpleCPURecommender

type SimpleCPURecommender struct{}

SimpleCPURecommender recommend cpu according avg load

func (*SimpleCPURecommender) Name

func (r *SimpleCPURecommender) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL