feat: support filtering service logs by machine (-m/--machine)

This commit is contained in:
Pasha Sviderski
2025-12-03 15:01:23 +10:00
parent bf65fbaca5
commit 1e6aaf451e
5 changed files with 62 additions and 53 deletions
+3
View File
@@ -52,6 +52,9 @@ type ServiceLogsOptions struct {
Tail int
Since string
Until string
// Machines filters logs to only include containers running on the specified machines (names or IDs).
// If empty, logs from all machines are included.
Machines []string
}
// ServiceLogEntry represents a single log entry from a service container.