Add option for pod logs to display different colors per container.

Signed-off-by: Krzysztof Baran <krysbaran@gmail.com>
Signed-off-by: gcalin <caling@protonmail.com>
This commit is contained in:
gcalin
2022-03-04 19:04:58 +01:00
parent 0eff4b70d0
commit c185d8c0d6
13 changed files with 86 additions and 10 deletions

View File

@@ -257,6 +257,8 @@ type ContainerLogsOptions struct {
Tail int64
// Show timestamps in the logs.
Timestamps bool
// Show different colors in the logs.
Colors bool
// Write the stdout to this Writer.
StdoutWriter io.Writer
// Write the stderr to this Writer.