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 Register ¶
func Register(ctx context.Context, nodeName string, kts ctlksmtuned.KsmtunedController, nodes ctlnode.NodeController) (*Controller, error)
func (*Controller) NodeOnChange ¶
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)
Click to show internal directories.
Click to hide internal directories.