Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUDynamicPolicyOptions ¶ added in v0.3.0
type CPUNativePolicyOptions ¶ added in v0.3.0
type CPUOptions ¶
type CPUOptions struct { PolicyName string ReservedCPUCores int SkipCPUStateCorruption bool CPUDynamicPolicyOptions CPUNativePolicyOptions }
func NewCPUOptions ¶
func NewCPUOptions() *CPUOptions
func (*CPUOptions) AddFlags ¶
func (o *CPUOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*CPUOptions) ApplyTo ¶
func (o *CPUOptions) ApplyTo(conf *qrmconfig.CPUQRMPluginConfig) error
type GenericQRMPluginOptions ¶
type GenericQRMPluginOptions struct { QRMPluginSocketDirs []string StateFileDirectory string ExtraStateFileAbsPath string PodDebugAnnoKeys []string UseKubeletReservedConfig bool PodAnnotationKeptKeys []string PodLabelKeptKeys []string }
func NewGenericQRMPluginOptions ¶
func NewGenericQRMPluginOptions() *GenericQRMPluginOptions
func (*GenericQRMPluginOptions) AddFlags ¶
func (o *GenericQRMPluginOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*GenericQRMPluginOptions) ApplyTo ¶
func (o *GenericQRMPluginOptions) ApplyTo(conf *qrmconfig.GenericQRMPluginConfiguration) error
type IOCostOption ¶ added in v0.4.1
type IOOptions ¶ added in v0.4.0
type IOOptions struct { PolicyName string WritebackThrottlingOption // option for writeback throttling, it determin the recycling speed of dirty memory. // TO-DO // DirtyThrottlingOption // option for dirty throttling, it determin the global watermark of dirty memory. IOCostOption IOWeightOption }
func NewIOOptions ¶ added in v0.4.0
func NewIOOptions() *IOOptions
func (*IOOptions) AddFlags ¶ added in v0.4.0
func (o *IOOptions) AddFlags(fss *cliflag.NamedFlagSets)
type IOWeightOption ¶ added in v0.4.1
type MemoryOptions ¶
type MemoryOptions struct { PolicyName string ReservedMemoryGB uint64 SkipMemoryStateCorruption bool EnableSettingMemoryMigrate bool EnableMemoryAdvisor bool ExtraControlKnobConfigFile string EnableOOMPriority bool OOMPriorityPinnedMapAbsPath string SockMemOptions }
func NewMemoryOptions ¶
func NewMemoryOptions() *MemoryOptions
func (*MemoryOptions) AddFlags ¶
func (o *MemoryOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*MemoryOptions) ApplyTo ¶
func (o *MemoryOptions) ApplyTo(conf *qrmconfig.MemoryQRMPluginConfig) error
type NetClassOptions ¶ added in v0.2.0
type NetworkOptions ¶ added in v0.2.0
type NetworkOptions struct { PolicyName string NetClass NetClassOptions ReservedBandwidth uint32 EgressCapacityRate float32 IngressCapacityRate float32 SkipNetworkStateCorruption bool PodLevelNetClassAnnoKey string PodLevelNetAttributesAnnoKeys string IPv4ResourceAllocationAnnotationKey string IPv6ResourceAllocationAnnotationKey string NetNSPathResourceAllocationAnnotationKey string NetInterfaceNameResourceAllocationAnnotationKey string NetClassIDResourceAllocationAnnotationKey string NetBandwidthResourceAllocationAnnotationKey string }
func NewNetworkOptions ¶ added in v0.2.0
func NewNetworkOptions() *NetworkOptions
func (*NetworkOptions) AddFlags ¶ added in v0.2.0
func (o *NetworkOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*NetworkOptions) ApplyTo ¶ added in v0.2.0
func (o *NetworkOptions) ApplyTo(conf *qrmconfig.NetworkQRMPluginConfig) error
type QRMPluginsOptions ¶
type QRMPluginsOptions struct { CPUOptions *CPUOptions MemoryOptions *MemoryOptions NetworkOptions *NetworkOptions IOOptions *IOOptions }
func NewQRMPluginsOptions ¶
func NewQRMPluginsOptions() *QRMPluginsOptions
func (*QRMPluginsOptions) AddFlags ¶
func (o *QRMPluginsOptions) AddFlags(fss *cliflag.NamedFlagSets)
func (*QRMPluginsOptions) ApplyTo ¶
func (o *QRMPluginsOptions) ApplyTo(conf *qrmconfig.QRMPluginsConfiguration) error
type SockMemOptions ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.