Help us shape the future of Go! Take the 2026 Go Developer Survey

scheduler

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package scheduler provides the Kubernetes scheduler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

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

func NewScheduler

func NewScheduler(s store.Store, logger *slog.Logger) *Scheduler

func (*Scheduler) Run

func (s *Scheduler) Run(ctx context.Context) error

type SchedulingQueue

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

func (*SchedulingQueue) Add

func (q *SchedulingQueue) Add(pod *k8s.Pod)

func (*SchedulingQueue) Len

func (q *SchedulingQueue) Len() int

func (*SchedulingQueue) Pop

func (q *SchedulingQueue) Pop() *k8s.Pod

Jump to

Keyboard shortcuts

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