advisor

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

type CPURegionOptions added in v0.5.1

type CPURegionOptions struct {
	AllowSharedCoresOverlapReclaimedCores bool
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL