File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 10
10
11
11
namespace k8s
12
12
{
13
+ /// <summary>Describes the type of a watch event.</summary>
13
14
public enum WatchEventType
14
15
{
16
+ /// <summary>Emitted when an object is created, modified to match a watch's filter, or when a watch is first opened.</summary>
15
17
[ EnumMember ( Value = "ADDED" ) ] Added ,
16
18
19
+ /// <summary>Emitted when an object is modified.</summary>
17
20
[ EnumMember ( Value = "MODIFIED" ) ] Modified ,
18
21
22
+ /// <summary>Emitted when an object is deleted or modified to no longer match a watch's filter.</summary>
19
23
[ EnumMember ( Value = "DELETED" ) ] Deleted ,
20
24
21
- [ EnumMember ( Value = "ERROR" ) ] Error
25
+ /// <summary>Emitted when an error occurs while watching resources. Most commonly, the error is 410 Gone which indicates that
26
+ /// the watch resource version was outdated and events were probably lost. In that case, the watch should be restarted.
27
+ /// </summary>
28
+ [ EnumMember ( Value = "ERROR" ) ] Error ,
29
+
30
+ /// <summary>Bookmarks may be emitted periodically to update the resource version. The object will
31
+ /// contain only the resource version.
32
+ /// </summary>
33
+ [ EnumMember ( Value = "BOOKMARK" ) ] Bookmark ,
22
34
}
23
35
24
36
public class Watcher < T > : IDisposable
You can’t perform that action at this time.
0 commit comments