Help us shape the future of Go! Take the 2026 Go Developer Survey

nodeconfig

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HandlerName             = "harvester-node-config-controller"
	ConfigApplied           = "Applied"
	ConfigAppliedAnnotation = "AppliedConfig"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	NodeName string

	NodeConfigs      ctlv1.NodeConfigController
	NodeConfigsCache ctlv1.NodeConfigCache
	NodeClient       ctlnode.NodeController
	// contains filtered or unexported fields
}

func Register

func Register(ctx context.Context, nodeName string, nodecfg ctlv1.NodeConfigController, nodes ctlnode.NodeController, mtx *sync.Mutex) (*Controller, error)

func (*Controller) OnNodeConfigChange

func (c *Controller) OnNodeConfigChange(key string, nodecfg *nodeconfigv1.NodeConfig) (*nodeconfigv1.NodeConfig, error)

func (*Controller) OnNodeConfigRemove

func (c *Controller) OnNodeConfigRemove(key string, nodecfg *nodeconfigv1.NodeConfig) (*nodeconfigv1.NodeConfig, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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