Versions in this module Expand all Collapse all v1 v1.2.0 Aug 23, 2026 v1.1.0 Aug 23, 2026 v1.0.1 Aug 25, 2026 v1.0.0 Aug 23, 2026 Changes in this version + func HealthyForRuntimeAdmission(decision Decision) bool + type CPU struct + Load1 float64 + Load15 float64 + Load5 float64 + Logical int + NUMANodes int + PhysicalCores int + Sockets int + ThreadsPerCore int + type CommandRunner interface — linux/amd64 + Run func(ctx context.Context, name string, args ...string) ([]byte, error) + type Decision struct + Findings []Finding + HostReserveMode string + PilotReady bool + Pool string + RequiredCPUUnits int + RequiredFreeDiskPercent int + RequiredMemoryMiB int + func EvaluateColdPilot(snapshot Snapshot, reserve config.HostReserve, pool config.Pool) Decision + func EvaluateContainerImageBuild(snapshot Snapshot, reserve config.HostReserve, pool config.Pool) Decision + type ExecRunner struct — linux/amd64 + func (ExecRunner) Run(ctx context.Context, name string, args ...string) ([]byte, error) + type Filesystem struct + AvailableMiB uint64 + FreeInodesPercent int + FreePercent int + Rotational bool + RotationalKnown bool + Source string + TotalMiB uint64 + Type string + type Finding struct + Code string + Message string + Severity Severity + type KVM struct + Accessible bool + Nested bool + Present bool + type LegacyRunners struct + Listeners int + Workers int + type Maintenance struct + FailedUnits []string + RebootRequired bool + SystemState string + type Memory struct + AvailableMiB int + OOMKillsTotal uint64 + SwapFreeMiB int + SwapTotalMiB int + TotalMiB int + type OperatingSystem struct + Architecture string + ID string + Kernel string + PrettyName string + VersionID string + type Pressure struct + Available bool + CPU PressureResource + IO PressureResource + Memory PressureResource + type PressureResource struct + Full PressureWindow + Some PressureWindow + type PressureWindow struct + Avg10 float64 + Avg300 float64 + Avg60 float64 + TotalMicros uint64 + type Severity string + const SeverityBlocker + const SeverityInfo + const SeverityWarning + type Snapshot struct + CPU CPU + CapturedAt string + Hostname string + KVM KVM + LegacyRunners LegacyRunners + Maintenance Maintenance + Memory Memory + OperatingSystem OperatingSystem + Pressure Pressure + RootFilesystem Filesystem + SchemaVersion int + Software Software + Virtualization string + func Collect(context.Context) (Snapshot, error) + func Collect(ctx context.Context) (Snapshot, error) + type Software struct + Docker SoftwareVersion + Incus SoftwareVersion + type SoftwareVersion struct + Present bool + Version string