status_updater

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	kubeClient kubernetes.Interface,
	kaiClient kai.Interface,
	recorder record.EventRecorder,
	numberOfWorkers int,
	detailedFitErrors bool,
	nodePoolLabelKey string,
) *defaultStatusUpdater

Types

type Interface

type Interface interface {
	PodGroupsSync
	Evicted(evictedPodGroup *enginev2alpha2.PodGroup, evictionMetadata eviction_info.EvictionMetadata, message string)
	PreBind(pod *v1.Pod)
	Bound(pod *v1.Pod, hostname string, bindError error, nodePoolName string) error
	Pipelined(pod *v1.Pod, message string)
	PatchPodLabels(pod *v1.Pod, labels map[string]interface{})
	RecordJobStatusEvent(job *podgroup_info.PodGroupInfo) error

	Run(stopCh <-chan struct{})
}

type PodGroupsSync

type PodGroupsSync interface {
	SyncPodGroupsWithPendingUpdates(podGroups []*enginev2alpha2.PodGroup)
}

Jump to

Keyboard shortcuts

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