From ab16a2417441267a75cf9a04ab541a8998836d0e Mon Sep 17 00:00:00 2001 From: ultrasive Date: Sat, 4 May 2024 12:16:24 -0500 Subject: [PATCH] added sinceTime to logOptions interface --- src/log.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/log.ts b/src/log.ts index a9db30d703..954f50f470 100644 --- a/src/log.ts +++ b/src/log.ts @@ -42,6 +42,14 @@ export interface LogOptions { * If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */ timestamps?: boolean; + + /** + * A time in RFC3339 format to select logs since this timestamp. + * If this value precedes the time a pod was started, only logs since the pod start will be returned. + * If this value is in the future, no logs will be returned. + * Only one of sinceSeconds or sinceTime may be specified. + */ + sinceTime?: string; } export class Log {