Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericSysAdvisorOptions ¶
type GenericSysAdvisorOptions struct { SysAdvisorPlugins []string StateFileDirectory string ClearStateFileDirectory bool SkipStateCorruption bool }
GenericSysAdvisorOptions holds the configurations for sysadvisor
func NewGenericSysAdvisorOptions ¶
func NewGenericSysAdvisorOptions() *GenericSysAdvisorOptions
NewGenericSysAdvisorOptions creates a new Options with a default config.
func (*GenericSysAdvisorOptions) AddFlags ¶
func (o *GenericSysAdvisorOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*GenericSysAdvisorOptions) ApplyTo ¶
func (o *GenericSysAdvisorOptions) ApplyTo(c *sysadvisor.GenericSysAdvisorConfiguration) error
ApplyTo fills up config with options
func (*GenericSysAdvisorOptions) Config ¶
func (o *GenericSysAdvisorOptions) Config() (*sysadvisor.GenericSysAdvisorConfiguration, error)
Config returns a new generic sysadvisor plugin configuration instance.
type SysAdvisorPluginsOptions ¶
type SysAdvisorPluginsOptions struct { *qosaware.QoSAwarePluginOptions *metacache.MetaCachePluginOptions *metricemitter.MetricEmitterPluginOptions *inference.InferencePluginOptions *overcommit.OvercommitAwarePluginOptions }
SysAdvisorPluginsOptions holds the configurations for sysadvisor plugins
func NewSysAdvisorPluginsOptions ¶
func NewSysAdvisorPluginsOptions() *SysAdvisorPluginsOptions
NewSysAdvisorPluginsOptions creates a new Options with a default config.
func (*SysAdvisorPluginsOptions) AddFlags ¶
func (o *SysAdvisorPluginsOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags adds flags to the specified FlagSet.
func (*SysAdvisorPluginsOptions) ApplyTo ¶
func (o *SysAdvisorPluginsOptions) ApplyTo(c *sysadvisor.SysAdvisorPluginsConfiguration) error
ApplyTo fills up config with options
func (*SysAdvisorPluginsOptions) Config ¶
func (o *SysAdvisorPluginsOptions) Config() (*sysadvisor.SysAdvisorPluginsConfiguration, error)
Config returns a new sysadvisor plugins configuration instance.
Click to show internal directories.
Click to hide internal directories.