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 ReclaimRelativeRootCgroupPath string PodDebugAnnoKeys []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 MemoryOptions ¶
type MemoryOptions struct { PolicyName string ReservedMemoryGB uint64 SkipMemoryStateCorruption bool EnableSettingMemoryMigrate bool EnableMemoryAdvisor bool ExtraControlKnobConfigFile string }
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 }
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
Click to show internal directories.
Click to hide internal directories.