feat(ota): upgrade container

This commit is contained in:
Jacky 2025-04-21 06:20:15 +00:00
parent a88f8646e6
commit e2c43be24a
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
19 changed files with 708 additions and 28 deletions

View file

@ -12,4 +12,9 @@ var (
ErrContainerStatusUnknown = e.New(500006, "container status unknown")
ErrInspectContainer = e.New(500007, "failed to inspect container: {0}")
ErrNginxNotRunningInAnotherContainer = e.New(500008, "nginx is not running in another container")
ErrFailedToGetHostname = e.New(500009, "failed to get hostname: {0}")
ErrFailedToPullImage = e.New(500010, "failed to pull image: {0}")
ErrFailedToInspectCurrentContainer = e.New(500011, "failed to inspect current container: {0}")
ErrFailedToCreateTempContainer = e.New(500012, "failed to create temp container: {0}")
ErrFailedToStartTempContainer = e.New(500013, "failed to start temp container: {0}")
)