Enum WatchEventType
Describes the type of a watch event.
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter<WatchEventType>))]
public enum WatchEventType
Fields
| Name | Description |
|---|---|
| Added | Emitted when an object is created, modified to match a watch's filter, or when a watch is first opened. |
| Bookmark | Bookmarks may be emitted periodically to update the resource version. The object will contain only the resource version. |
| Deleted | Emitted when an object is deleted or modified to no longer match a watch's filter. |
| Error | Emitted when an error occurs while watching resources. Most commonly, the error is 410 Gone which indicates that the watch resource version was outdated and events were probably lost. In that case, the watch should be restarted. |
| Modified | Emitted when an object is modified. |