controller

package
v0.0.0-...-6111fc0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonController

type CommonController interface {
	// Run starts the goroutines managing the queue.
	Run()
	// Close closes the queue so that the goroutine which is
	// waiting to pop items can exit gracefully.
	Close()
	// add movement into queue
	AddMovement(movement *schedulingv1a1.Movement)
}

func NewMovementController

func NewMovementController(queue workqueue.RateLimitingInterface, stopCh <-chan struct{},
	movementLister schedulinglisterv1a1.MovementLister, schedulerName string,
	crdClient godelclient.Interface,
) CommonController

type MovementController

type MovementController struct {
	workqueue.RateLimitingInterface
	// contains filtered or unexported fields
}

func (*MovementController) AddMovement

func (mc *MovementController) AddMovement(movement *schedulingv1a1.Movement)

func (*MovementController) Close

func (mc *MovementController) Close()

Close closes the priority queue.

func (*MovementController) Run

func (mc *MovementController) Run()

Jump to

Keyboard shortcuts

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