resource

package
v4.2.520+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerResourceRecommendation

type ContainerResourceRecommendation struct {
	Name     string
	Limits   core_v1.ResourceList
	Requests core_v1.ResourceList
}

type ListControllerPodResourceRecommendationsRequest

type ListControllerPodResourceRecommendationsRequest struct {
	Namespace string
	Name      string
	Kind      string
	Time      *time.Time
}

type PodResourceRecommendation

type PodResourceRecommendation struct {
	Namespace                        string
	Name                             string
	TopControllerKind                string
	TopControllerName                string
	ContainerResourceRecommendations []*ContainerResourceRecommendation
	ValidStartTime                   time.Time
	ValidEndTime                     time.Time
}

type ResourceRecommendator

type ResourceRecommendator interface {
	ListControllerPodResourceRecommendations(ListControllerPodResourceRecommendationsRequest) ([]*PodResourceRecommendation, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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