recommendation

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerResourcesOptions

type ContainerResourcesOptions struct {
	Selector          string
	Interval          time.Duration
	TargetUtilization map[string]string
	Tolerance         map[string]string
}

ContainerResourcesOptions contains options for building the recommender configuration for optimizing container resources.

func (*ContainerResourcesOptions) AddFlags

func (opts *ContainerResourcesOptions) AddFlags(cmd *cobra.Command)

func (*ContainerResourcesOptions) Apply

func (opts *ContainerResourcesOptions) Apply(configuration *[]interface{})

type DeployConfigurationOptions

type DeployConfigurationOptions struct {
	Interval               time.Duration
	ContainerMax           map[string]string
	ContainerMin           map[string]string
	MaxRecommendationRatio map[string]string
	Clusters               []string
}

func (*DeployConfigurationOptions) AddFlags

func (opts *DeployConfigurationOptions) AddFlags(cmd *cobra.Command)

func (*DeployConfigurationOptions) Apply

func (opts *DeployConfigurationOptions) Apply(deployConfiguration **applications.DeployConfiguration)

Jump to

Keyboard shortcuts

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