Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegisteredInitializers ¶ added in v0.4.0
func RegisterCPUEvictionInitializer ¶ added in v0.4.0
Types ¶
type CPUPressureEviction ¶ added in v0.4.0
type CPUPressureEviction struct {
// contains filtered or unexported fields
}
func NewCPUPressureEviction ¶ added in v0.3.0
func NewCPUPressureEviction(emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer, conf *config.Configuration, state state.ReadonlyState, ) (*CPUPressureEviction, error)
func (*CPUPressureEviction) Run ¶ added in v0.4.0
func (c *CPUPressureEviction) Run(ctx context.Context)
type InitFunc ¶ added in v0.4.0
type InitFunc func(emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer, conf *config.Configuration, state state.ReadonlyState) (strategy.CPUPressureEviction, error)
InitFunc is used to initialize a particular cpu eviction plugin.
Click to show internal directories.
Click to hide internal directories.