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

This commit is contained in:
Pasha Sviderski committed 2025-12-03 15:01:23 +10:00
1 parent bf65fbaca5
commit 1e6aaf451e
5 files changed
+62 -53

No files matched your search

+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.