@@ -353,6 +353,10 @@ void Delete<TEntity>(string name, string? @namespace = null)
353
353
/// If the namespace is omitted, all entities on the cluster are watched.
354
354
/// </param>
355
355
/// <param name="timeout">The timeout which the watcher has (after this timeout, the server will close the connection).</param>
356
+ /// <param name="resourceVersion">
357
+ /// When specified with a watch call, shows changes that occur after that particular version of a resource.
358
+ /// Defaults to changes from the beginning of history.
359
+ /// </param>
356
360
/// <param name="cancellationToken">Cancellation-Token.</param>
357
361
/// <param name="labelSelectors">A list of label-selectors to apply to the search.</param>
358
362
/// <returns>A entity watcher for the given entity.</returns>
@@ -362,6 +366,7 @@ Watcher<TEntity> Watch<TEntity>(
362
366
Action ? onClose = null ,
363
367
string ? @namespace = null ,
364
368
TimeSpan ? timeout = null ,
369
+ string ? resourceVersion = null ,
365
370
CancellationToken cancellationToken = default ,
366
371
params LabelSelector [ ] labelSelectors )
367
372
where TEntity : IKubernetesObject < V1ObjectMeta >
@@ -371,6 +376,7 @@ Watcher<TEntity> Watch<TEntity>(
371
376
onClose ,
372
377
@namespace ,
373
378
timeout ,
379
+ resourceVersion ,
374
380
labelSelectors . ToExpression ( ) ,
375
381
cancellationToken ) ;
376
382
@@ -388,6 +394,10 @@ Watcher<TEntity> Watch<TEntity>(
388
394
/// If the namespace is omitted, all entities on the cluster are watched.
389
395
/// </param>
390
396
/// <param name="timeout">The timeout which the watcher has (after this timeout, the server will close the connection).</param>
397
+ /// <param name="resourceVersion">
398
+ /// When specified with a watch call, shows changes that occur after that particular version of a resource.
399
+ /// Defaults to changes from the beginning of history.
400
+ /// </param>
391
401
/// <param name="labelSelector">A string, representing an optional label selector for filtering watched objects.</param>
392
402
/// <param name="cancellationToken">Cancellation-Token.</param>
393
403
/// <returns>A entity watcher for the given entity.</returns>
@@ -397,6 +407,7 @@ Watcher<TEntity> Watch<TEntity>(
397
407
Action ? onClose = null ,
398
408
string ? @namespace = null ,
399
409
TimeSpan ? timeout = null ,
410
+ string ? resourceVersion = null ,
400
411
string ? labelSelector = null ,
401
412
CancellationToken cancellationToken = default )
402
413
where TEntity : IKubernetesObject < V1ObjectMeta > ;
0 commit comments