advisor

package
v0.0.0-...-5f9383e Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute will execute basically the whole application.

Types

type Options

type Options struct {
	NamespaceSelector string
	Namespaces        string
	Quantile          string
	LimitMargin       string

	Client *kubernetes.Clientset
	// contains filtered or unexported fields
}

Options contains struct to call resource-advisor run.

type Response

type Response struct {
	Data    [][]string
	CPUSave float64
	MemSave int64
}

Response contains struct to get response from resource-advisor.

func Run

func Run(o *Options) (*Response, error)

Run executes the resource advisor.

Jump to

Keyboard shortcuts

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