ksmtuned

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HandlerName     = "harvester-ksmtuned-handler"
	NodeHandlerName = "harvester-ksmtuned-node-handler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	NodeName string

	KsmtunedCache ctlksmtuned.KsmtunedCache
	Ksmtuneds     ctlksmtuned.KsmtunedController

	NodeCache ctlnode.NodeCache
	Nodes     ctlnode.NodeController

	Ksmtuned *ksmtuned.Ksmtuned
	// contains filtered or unexported fields
}

func (*Controller) NodeOnChange

func (c *Controller) NodeOnChange(_ string, node *corev1.Node) (*corev1.Node, error)

func (*Controller) OnChange

func (c *Controller) OnChange(key string, kt *ksmtunedv1.Ksmtuned) (*ksmtunedv1.Ksmtuned, error)

func (*Controller) OnRemove

func (c *Controller) OnRemove(_ string, kt *ksmtunedv1.Ksmtuned) (*ksmtunedv1.Ksmtuned, error)

Jump to

Keyboard shortcuts

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