controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IgnoreLabel string = "node-wizard/ignore"
)

Variables

This section is empty.

Functions

func OnAdd

func OnAdd(obj interface{}) error

func OnDelete

func OnDelete(obj interface{}) error

func OnUpdate

func OnUpdate(node *corev1.Node) error

Types

type Controller

type Controller struct {
	Informer          cache.SharedIndexInformer
	StopCtx           context.Context
	StopControllerCh  chan struct{}
	ControllerStateCh chan struct{}
}

func Setup

func Setup() *Controller

func (*Controller) Run

func (c *Controller) Run()

func (*Controller) Stop

func (c *Controller) Stop()

Stop stops the controller.

Jump to

Keyboard shortcuts

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