1
0
forked from security/hakurei

container: move scheduler policy constants to std

This avoids depending on cgo.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-11 20:03:08 +09:00
parent 330a344845
commit fd515badff
7 changed files with 230 additions and 235 deletions

View File

@@ -40,7 +40,7 @@ type ExecPath struct {
}
// SchedPolicy is the [container] scheduling policy.
var SchedPolicy container.SchedPolicy
var SchedPolicy std.SchedPolicy
// PromoteLayers returns artifacts with identical-by-content layers promoted to
// the highest priority instance, as if mounted via [ExecPath].