Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Finish ¶ added in v0.1.2
func Finish(cmd *cobra.Command, appAPI applications.API, app applications.Application, recs applications.RecommendationList, patch *applications.RecommendationList) error
Finish attempts to validate the requested changes.
Types ¶
type ContainerResourcesOptions ¶
type ContainerResourcesOptions struct { Selector string Interval time.Duration TargetUtilization map[string]string Tolerance map[string]string BoundsLimitsMax map[string]string BoundsLimitsMin map[string]string BoundsRequestsMax map[string]string BoundsRequestsMin 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 *[]applications.Configuration)
type DeployConfigurationOptions ¶
type DeployConfigurationOptions struct { Mode string Interval time.Duration 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)
Click to show internal directories.
Click to hide internal directories.