logic

package
v0.0.0-...-d7363f7 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRecommendationProvider

func NewRecommendationProvider(vpaLister vpalister.VerticalPodAutoscalerLister) *recommendationProvider

NewRecommendationProvider constructs the recommendation provider that list VPAs and can be used to determine recommendations for pods.

Types

type RecommendationProvider

type RecommendationProvider interface {
	GetRequestForPod(pod *v1.Pod) ([]v1.ResourceList, error)
}

RecommendationProvider gets current recommendation for the given pod.

Jump to

Keyboard shortcuts

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