node

package
v0.0.0-...-0f541f5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeController

type NodeController struct {
	// contains filtered or unexported fields
}

func NewNodeController

func NewNodeController(
	karmadaKubeClient clientset.Interface,
	nodeInformer coreinformers.NodeInformer,
	karmadaNodeInformer coreinformers.NodeInformer,
) (*NodeController, error)

NewNodeController returns a new *Controller.

func (*NodeController) Run

func (ctrl *NodeController) Run(ctx context.Context, workers int)

Run will not return until stopCh is closed. workers determines how many node will be handled in parallel.

Jump to

Keyboard shortcuts

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