fix(images): 服务器镜像在创建时固定到仓库 digest,更换镜像需确认备份,安装器重建前先固定旧服并推送不可变版本标签
This commit is contained in:
29 files changed
+1149
-29
No files matched your search
@@ -33,6 +33,11 @@ type API struct {
|
||||
// still exercised even before the subsystem is wired in.
|
||||
Builder ImageBuilder
|
||||
|
||||
// Images pins a whitelisted image ref to the digest it names when a server is
|
||||
// created or its image is changed (internal/imagepin), so a later push over
|
||||
// the same tag never reaches an existing world. Nil stores refs as given.
|
||||
Images ImagePinner
|
||||
|
||||
// Console is the synchronous RCON write channel (spec §8 写=RCON). It is
|
||||
// wired in production (cmd/felis); a nil Console makes the command route report
|
||||
// 503 rather than panic, so the ownership boundary is still exercised in tests.
|
||||
|
||||
Reference in new issue
Block a user