Add API endpoints for relocating processes

This commit is contained in:
Ingo Oppermann
2024-06-19 15:28:30 +02:00
parent de6a267fd4
commit a9d6b1ec49
18 changed files with 511 additions and 13 deletions

View File

@@ -69,6 +69,7 @@ type Cluster interface {
SetProcessMetadata(origin string, id app.ProcessID, key string, data interface{}) error
GetProcessMetadata(origin string, id app.ProcessID, key string) (interface{}, error)
GetProcessNodeMap() map[string]string
RelocateProcesses(origin string, relocations map[app.ProcessID]string) error
IAM(superuser iamidentity.User, jwtRealm, jwtSecret string) (iam.IAM, error)
ListIdentities() (time.Time, []iamidentity.User)