Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceAdvisorOptions ¶
type ResourceAdvisorOptions struct { ResourceAdvisors []string *cpu.CPUAdvisorOptions *memory.MemoryAdvisorOptions }
ResourceAdvisorOptions holds the configurations for resource advisors in qos aware plugin
func NewResourceAdvisorOptions ¶
func NewResourceAdvisorOptions() *ResourceAdvisorOptions
NewResourceAdvisorOptions creates a new Options with a default config
func (*ResourceAdvisorOptions) AddFlags ¶
func (o *ResourceAdvisorOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags to the specified FlagSet.
func (*ResourceAdvisorOptions) ApplyTo ¶
func (o *ResourceAdvisorOptions) ApplyTo(c *resource.ResourceAdvisorConfiguration) error
ApplyTo fills up config with options
Click to show internal directories.
Click to hide internal directories.