Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComparatorOptions ¶ added in v0.3.0
type ComparatorOptions struct { Config comparatorcfg.Config DataSource string CustomPrice cloud.CustomPricing CloudConfig cloud.CloudConfig // DataSourcePromConfig is the prometheus datasource config DataSourcePromConfig datasource.PromConfig // DataSourceQMonitorConfig is the tencent cloud monitor datasource config DataSourceQMonitorConfig datasource.QCloudMonitorConfig }
ComparatorOptions used for fadvisor cost comparator
func NewComparatorOptions ¶ added in v0.3.0
func NewComparatorOptions() *ComparatorOptions
func (*ComparatorOptions) AddFlags ¶ added in v0.3.0
func (o *ComparatorOptions) AddFlags(fs *pflag.FlagSet)
func (*ComparatorOptions) Complete ¶ added in v0.3.0
func (o *ComparatorOptions) Complete() error
func (*ComparatorOptions) Validate ¶ added in v0.3.0
func (o *ComparatorOptions) Validate() []error
type Options ¶
type Options struct { // LeaderElection hold the configurations for manager leader election. LeaderElection componentbaseconfig.LeaderElectionConfiguration // BindAddr is The address the probe endpoint binds to. BindAddr string ClientConfig componentbaseconfig.ClientConnectionConfiguration // SecureServing specifies the server configurations to set up a HTTPS server. SecureServing options.SecureServingOptionsWithLoopback CloudConfig cloud.CloudConfig Debugging componentbaseconfig.DebuggingConfiguration MaxIdleConnsPerClient int MetricUpdateInterval time.Duration CustomPrice cloud.CustomPricing ComparatorMode bool ComparatorOptions *ComparatorOptions }
Options hold the command-line options about crane manager
Click to show internal directories.
Click to hide internal directories.