update commands when running in supervised mode

This commit is contained in:
A.Unger
2021-03-10 11:10:46 +01:00
parent 25909d5923
commit 4e37d4a2f6
72 changed files with 1547 additions and 803 deletions
+12
View File
@@ -57,8 +57,20 @@ type TokenManager struct {
JWTSecret string
}
const (
// SUPERVISED sets the runtime mode as supervised threads.
SUPERVISED = iota
// UNSUPERVISED sets the runtime mode as a single thread.
UNSUPERVISED
)
type Mode int
// Config combines all available configuration parts.
type Config struct {
Mode Mode
Registry string
Log Log
Debug Debug