core

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupControllers

func SetupControllers(mgr ctrl.Manager, qManager *queue.Manager, cc *cache.Cache) (string, error)

SetupControllers sets up the core controllers. It returns the name of the controller that failed to create and an error, if any.

Types

type ClusterQueueReconciler

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

ClusterQueueReconciler reconciles a ClusterQueue object

func NewClusterQueueReconciler

func NewClusterQueueReconciler(client client.Client, qMgr *queue.Manager, cache *cache.Cache) *ClusterQueueReconciler

func (*ClusterQueueReconciler) Create

func (*ClusterQueueReconciler) Delete

func (*ClusterQueueReconciler) Generic

func (*ClusterQueueReconciler) NotifyWorkloadUpdate

func (r *ClusterQueueReconciler) NotifyWorkloadUpdate(w *kueue.Workload)

func (*ClusterQueueReconciler) Reconcile

func (r *ClusterQueueReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ClusterQueueReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ClusterQueueReconciler) Status

func (*ClusterQueueReconciler) Update

type QueueReconciler

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

QueueReconciler reconciles a Queue object

func NewQueueReconciler

func NewQueueReconciler(client client.Client, queues *queue.Manager) *QueueReconciler

func (*QueueReconciler) Create

func (r *QueueReconciler) Create(e event.CreateEvent) bool

func (*QueueReconciler) Delete

func (r *QueueReconciler) Delete(e event.DeleteEvent) bool

func (*QueueReconciler) Generic

func (r *QueueReconciler) Generic(e event.GenericEvent) bool

func (*QueueReconciler) NotifyWorkloadUpdate

func (r *QueueReconciler) NotifyWorkloadUpdate(w *kueue.Workload)

func (*QueueReconciler) Reconcile

func (r *QueueReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*QueueReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*QueueReconciler) Update

func (r *QueueReconciler) Update(e event.UpdateEvent) bool

type ResourceFlavorReconciler

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

ResourceFlavorReconciler reconciles a ResourceFlavor object

func NewResourceFlavorReconciler

func NewResourceFlavorReconciler(cache *cache.Cache) *ResourceFlavorReconciler

func (*ResourceFlavorReconciler) Create

func (*ResourceFlavorReconciler) Delete

func (*ResourceFlavorReconciler) Generic

func (*ResourceFlavorReconciler) Reconcile

func (*ResourceFlavorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ResourceFlavorReconciler) Update

type WorkloadReconciler

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

WorkloadReconciler reconciles a Workload object

func NewWorkloadReconciler

func NewWorkloadReconciler(client client.Client, queues *queue.Manager, cache *cache.Cache, watchers ...WorkloadUpdateWatcher) *WorkloadReconciler

func (*WorkloadReconciler) Create

func (*WorkloadReconciler) Delete

func (*WorkloadReconciler) Generic

func (r *WorkloadReconciler) Generic(e event.GenericEvent) bool

func (*WorkloadReconciler) Reconcile

func (r *WorkloadReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*WorkloadReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*WorkloadReconciler) Update

type WorkloadUpdateWatcher

type WorkloadUpdateWatcher interface {
	NotifyWorkloadUpdate(*kueue.Workload)
}

Jump to

Keyboard shortcuts

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