containerdpool

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package containerdpool is the warm-container pool for containerd sandboxes. Queue mechanics reuse dockerpool; only the Spawner/adopt path is engine-specific.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSlot     = dockerpool.ErrNoSlot
	ErrStaleImage = dockerpool.ErrStaleImage
)

Functions

func ParkReservationID

func ParkReservationID(slotID string) string

ParkReservationID is the capacity admitter key for a parked slot.

Types

type Key

type Key = dockerpool.Key

func KeyFromRequest

func KeyFromRequest(req models.CreateSandboxRequest, runtime string) Key

KeyFromRequest builds a pool key from a create request and resolved runtime.

type ParkedSlot

type ParkedSlot = dockerpool.ParkedSlot

type Pool

type Pool = dockerpool.Pool

func New

func New(logger *slog.Logger) *Pool

New constructs a warm pool for containerd park/adopt (Phase 3).

type Spawner

type Spawner = dockerpool.Spawner

type SpawnerHandle

type SpawnerHandle = dockerpool.SpawnerHandle

Jump to

Keyboard shortcuts

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