feat(protocol): job messages, protocol version and job model (#7)

This commit is contained in:
2026-10-12 18:38:39 +02:00
parent eb41967cd1
commit 9e09de0a16
8 changed files with 314 additions and 16 deletions
+3
View File
@@ -41,10 +41,12 @@ type Service struct {
ComposeProject string
ComposeService string
WorkingDir string
ConfigFiles string // raw config_files label, paths joined by ","
SwarmClusterID string
SwarmService string
ContainerName string
ImageRepo string
DesiredRef string // set by the last successful job; "" if never updated
ActualRef string
ActualDigest string
Status string
@@ -52,6 +54,7 @@ type Service struct {
UpdateMode string
FirstSeenAt time.Time
UpdatedAt time.Time
RemovedAt *time.Time
}
// DisplayName is the human-facing name of the service.