GetPodTemplateUpdatesHandler
Returns a new ResourceEventHandler which adds or removes PodTemplates to or from the provided PodTemplateStore.
def GetPodTemplateUpdatesHandler(
store: *PodTemplateStore
) - > cache.ResourceEventHandler
Returns a new ResourceEventHandler which adds or removes PodTemplates to or from the provided PodTemplateStore. This handler ensures the store is kept up-to-date with changes to PodTemplates.
Parameters
| Name | Type | Description |
|---|---|---|
| store | *PodTemplateStore | The PodTemplateStore to which PodTemplates will be added or removed based on resource events. |
Returns
| Type | Description |
|---|---|
cache.ResourceEventHandler | A ResourceEventHandler that processes add, update, and delete events for PodTemplates. |