Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2026 Changes in this version + const FinalizerName + const RequeueAfter + var ErrSandboxNotFound = errors.New("sandbox not found") + func CaptureSandboxStopRecord(pod *corev1.Pod) domain.Sandbox + func FindClaimedPodBySandboxID(ctx context.Context, c client.Client, namespace, sandboxID string) (*corev1.Pod, error) + func IdleContainerImages(pool *agentsv1alpha1.SandboxPool) map[string]string + func ListClaimedPods(ctx context.Context, c client.Client, namespace string) ([]corev1.Pod, error) + func ListClaimedPodsWithFilter(ctx context.Context, c client.Client, namespace, team, user string) ([]corev1.Pod, error) + func ReleaseSandboxPod(ctx context.Context, c client.Client, pod *corev1.Pod, ...) (*corev1.Pod, error) + func SandboxBaseFromPod(pod *corev1.Pod) domain.Sandbox + func SyncAnnotationsFromTemplate(dst, tmplAnnotations map[string]string) + func SyncLabelsFromTemplate(dst, tmplLabels map[string]string) + type IdleNotifier interface + NotifyIdleAvailable func(namespace, poolName string) + OnSandboxReleased func(ctx context.Context, sandboxID string) + type IdleTimeoutReconciler struct + func NewIdleTimeoutReconciler(c client.Client, s store.SandboxStore, interval time.Duration, ...) *IdleTimeoutReconciler + func (r *IdleTimeoutReconciler) CheckAndReleasePendingSandboxes(ctx context.Context) + func (r *IdleTimeoutReconciler) Start(ctx context.Context) error + type LastActiveSource interface + GetLastActive func(ctx context.Context) (map[string]time.Time, error) + type PodDiagnosticEvent struct + Count int32 + LastTimestamp string + Message string + Reason string + type PodStatusDetail struct + Events []PodDiagnosticEvent + Message string + Phase string + PodName string + Reason string + func BuildPodStatusDetailWithEvents(ctx context.Context, clientset kubernetes.Interface, pod *corev1.Pod) *PodStatusDetail + func BuildSandboxStatusDetailFromPod(pod *corev1.Pod) *PodStatusDetail + type PoolExpectations struct + func NewPoolExpectations() *PoolExpectations + func (e *PoolExpectations) CreationObserved(key types.NamespacedName) + func (e *PoolExpectations) DeleteExpectations(key types.NamespacedName) + func (e *PoolExpectations) DeletionObserved(key types.NamespacedName) + func (e *PoolExpectations) ExpectCreations(key types.NamespacedName, n int) + func (e *PoolExpectations) ExpectDeletions(key types.NamespacedName, n int) + func (e *PoolExpectations) Satisfied(key types.NamespacedName) bool + type ReleaseSandboxPodOptions struct + DisableRetry bool + ExitCode *int32 + ExpectedCurrentSandboxPhase string + FailureMessage string + FailureReason string + StopReason agentsv1alpha1.SandboxStopReason + TerminatedAt string + type SandboxPoolReconciler struct + Clientset kubernetes.Interface + DigestResolver imageresolver.DigestResolver + IdleNotifier IdleNotifier + PluginManager *plugins.PluginManager + Recorder events.EventRecorder + SandboxReadyHook SandboxReadyHook + SandboxStore store.SandboxStore + Scheme *runtime.Scheme + func (r *SandboxPoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *SandboxPoolReconciler) SetupWithManager(mgr ctrl.Manager) error + type SandboxReadyHook interface + OnSandboxReady func(ctx context.Context, pod *corev1.Pod)