mirror of
https://github.com/datarhei/core.git
synced 2025-10-07 17:01:01 +08:00
Retrieve current process from leader, clone metadata, introduce new state 'deploying'
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/datarhei/core/v16/cluster/store"
|
||||
"github.com/datarhei/core/v16/config"
|
||||
"github.com/datarhei/core/v16/encoding/json"
|
||||
"github.com/datarhei/core/v16/ffmpeg/skills"
|
||||
@@ -26,6 +27,11 @@ type AddProcessRequest struct {
|
||||
Config app.Config `json:"config"`
|
||||
}
|
||||
|
||||
type GetProcessResponse struct {
|
||||
Process store.Process `json:"process"`
|
||||
NodeID string `json:"nodeid"`
|
||||
}
|
||||
|
||||
type UpdateProcessRequest struct {
|
||||
Config app.Config `json:"config"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user