Documentation
¶
Overview ¶
Package watcher provides Kubernetes pod watching for automatic checkpoint/restore. The watcher is the sole entry point for chrek operations — it detects pods with checkpoint/restore labels and calls the orchestrators directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches for pods with checkpoint/restore labels and triggers operations.
func NewWatcher ¶
func NewWatcher( cfg *types.AgentConfig, containerd *containerd.Client, log logr.Logger, ) (*Watcher, error)
NewWatcher creates a new pod watcher.
Click to show internal directories.
Click to hide internal directories.