controller

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyFunc              = cache.DeletionHandlingMetaNamespaceKeyFunc
	NodeUnitFinalizerID  = "site.superedge.io/nodeunit"
	NodeGroupFinalizerID = "site.superedge.io/finalizer"
)

Functions

This section is empty.

Types

type NodeGroupController added in v0.9.0

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

func NewNodeGroupController added in v0.9.0

func NewNodeGroupController(
	nodeInformer coreinformers.NodeInformer,
	nodeUnitInformer crdinformers.NodeUnitInformer,
	nodeGroupInformer crdinformers.NodeGroupInformer,
	kubeClient clientset.Interface,
	crdClient *crdClientset.Clientset,
) *NodeGroupController

func (*NodeGroupController) Run added in v0.9.0

func (c *NodeGroupController) Run(workers, syncPeriodAsWhole int, stopCh <-chan struct{})

type NodeUnitController added in v0.9.0

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

func NewNodeUnitController added in v0.9.0

func NewNodeUnitController(
	nodeInformer coreinformers.NodeInformer,
	dsInformer appinformers.DaemonSetInformer,
	nodeUnitInformer crdinformers.NodeUnitInformer,
	nodeGroupInformer crdinformers.NodeGroupInformer,
	kubeClient clientset.Interface,
	crdClient *crdClientset.Clientset,
) *NodeUnitController

func (*NodeUnitController) Run added in v0.9.0

func (c *NodeUnitController) Run(workers, syncPeriodAsWhole int, stopCh <-chan struct{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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