recommendation

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type RecommenderManager

type RecommenderManager interface {
	// GetRecommender return a registered recommender
	GetRecommender(recommenderName string) (recommender.Recommender, error)
	// GetRecommenderWithRule return a registered recommender, its config merged with recommendationRule
	GetRecommenderWithRule(recommenderName string, recommendationRule analysisv1alph1.RecommendationRule) (recommender.Recommender, error)
}

func NewRecommenderManager

func NewRecommenderManager(recommendationConfiguration string) RecommenderManager

type ResourceSpec added in v0.9.0

type ResourceSpec struct {
	CPU    string
	Memory string
}

type ResourceSpecs added in v0.9.0

type ResourceSpecs []ResourceSpec

Directories

Path Synopsis
hpa

Jump to

Keyboard shortcuts

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