- Add configrefresh package for config classification, request handling - Add bootstrap refresh_admin.go for admin-level config refresh - Add edgevalidate package for config validation - Update edge bootstrap runtime with refresh capabilities - Update edge service layer with config refresh integration - Update openai layer routes/chat_handler/server for config refresh - Update edgecmd config handling with refresh support - Update input manager, transport server, status provider - Add edge.yaml config updates and go/config package changes - Add hostsetup templates and test updates - Update roadmap and phase documentation for runtime-reconnect-config-refresh
16 lines
346 B
Go
16 lines
346 B
Go
package configrefresh
|
|
|
|
// Mode represents the refresh operation mode.
|
|
type Mode string
|
|
|
|
const (
|
|
ModeDryRun Mode = "dry_run"
|
|
ModeApply Mode = "apply"
|
|
)
|
|
|
|
// Request is the refresh operation request.
|
|
type Request struct {
|
|
Mode Mode `json:"mode"`
|
|
ConfigPath string `json:"config_path"`
|
|
RequestID string `json:"request_id,omitempty"`
|
|
}
|