WatchEvent#
- class controller.storage.kubernetes.watcher.WatchEvent(action, object)#
Bases:
GenericParsed event from a Kubernetes watch.
This model is intended only for use within the Kubernetes storage layer. It is interpreted by the callers of the generic watch class inside the per-object Kubernetes storage classes.
- Parameters:
action (
WatchEventType)object (
TypeVar(T))
Attributes Summary
Methods Summary
from_event(event, object_type)Create a
WatchEventfrom a watch event.Attributes Documentation
-
action:
WatchEventType= <dataclasses._MISSING_TYPE object># Action the event represents.
Methods Documentation
- classmethod from_event(event, object_type)#
Create a
WatchEventfrom a watch event.