controllers

package
v0.0.0-...-8a1803e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ExpectationsTimeout = 1 * time.Millisecond

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

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

type MapperInterface

type MapperInterface interface {
	Map(client.Object) []reconcile.Request
}

type NMControllerExpectation

type NMControllerExpectation struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewNMControllerExpectation

func NewNMControllerExpectation() *NMControllerExpectation

func (*NMControllerExpectation) DeleteExpectations

func (c *NMControllerExpectation) DeleteExpectations()

func (*NMControllerExpectation) SatisfiedExpectations

func (c *NMControllerExpectation) SatisfiedExpectations(fromState, toState, nmName string) bool

func (*NMControllerExpectation) SetExpectations

func (c *NMControllerExpectation) SetExpectations(fromState, toState, nmName string)

type NMControllerExpectationsInterface

type NMControllerExpectationsInterface interface {
	SatisfiedExpectations(fromState, toState, nmName string) bool
	DeleteExpectations()
	SetExpectations(fromState, toState, nmName string)
}

type NodeMapper

type NodeMapper struct {
	Mapper
}

func (NodeMapper) MapNodeCreate

func (m NodeMapper) MapNodeCreate(obj client.Object) []reconcile.Request

func (NodeMapper) MapNodeUpdate

func (m NodeMapper) MapNodeUpdate(obj client.Object) []reconcile.Request

type NotifyMaintenanceReconciler

type NotifyMaintenanceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger

	Notifiers []notify.NewNotifierFunc
	// contains filtered or unexported fields
}

NotifyMaintenanceReconciler reconciles a NotifyMaintenance object

func (*NotifyMaintenanceReconciler) SetupWithManager

func (r *NotifyMaintenanceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳