Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvisorOptions ¶
type AdvisorOptions struct { *MemoryGuardOptions *CPURegionOptions }
func NewAdvisorOptions ¶
func NewAdvisorOptions() *AdvisorOptions
func (*AdvisorOptions) AddFlags ¶
func (o *AdvisorOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*AdvisorOptions) ApplyTo ¶
func (o *AdvisorOptions) ApplyTo(c *advisor.AdvisorConfiguration) error
type CPURegionOptions ¶ added in v0.5.1
type CPURegionOptions struct {
}func NewCPURegionOptions ¶ added in v0.5.1
func NewCPURegionOptions() *CPURegionOptions
func (*CPURegionOptions) AddFlags ¶ added in v0.5.1
func (o *CPURegionOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags parses the flags to CPURegionOptions
func (*CPURegionOptions) ApplyTo ¶ added in v0.5.1
func (o *CPURegionOptions) ApplyTo(c *advisor.CPURegionConfiguration) error
type MemoryGuardOptions ¶
type MemoryGuardOptions struct {
Enable bool
}
func NewMemoryGuardOptions ¶
func NewMemoryGuardOptions() *MemoryGuardOptions
func (*MemoryGuardOptions) AddFlags ¶
func (o *MemoryGuardOptions) AddFlags(fss *cliflag.NamedFlagSets)
AddFlags parses the flags to MemoryGuardOptions
func (*MemoryGuardOptions) ApplyTo ¶
func (o *MemoryGuardOptions) ApplyTo(c *advisor.MemoryGuardConfiguration) error
Click to show internal directories.
Click to hide internal directories.