memoryheadroom

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryHeadroomConfiguration

type MemoryHeadroomConfiguration struct {
	*MemoryUtilBasedConfiguration
}

func NewMemoryHeadroomConfiguration

func NewMemoryHeadroomConfiguration() *MemoryHeadroomConfiguration

func (*MemoryHeadroomConfiguration) ApplyConfiguration

func (c *MemoryHeadroomConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

type MemoryUtilBasedConfiguration

type MemoryUtilBasedConfiguration struct {
	Enable              bool
	FreeBasedRatio      float64
	StaticBasedCapacity float64
	CacheBasedRatio     float64
}

func NewMemoryUtilBasedConfiguration

func NewMemoryUtilBasedConfiguration() *MemoryUtilBasedConfiguration

func (*MemoryUtilBasedConfiguration) ApplyConfiguration

func (c *MemoryUtilBasedConfiguration) ApplyConfiguration(conf *crd.DynamicConfigCRD)

Jump to

Keyboard shortcuts

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