Skip to main content

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

NameTypeDescription
store*PodTemplateStoreThe PodTemplateStore to which PodTemplates will be added or removed based on resource events.

Returns

TypeDescription
cache.ResourceEventHandlerA ResourceEventHandler that processes add, update, and delete events for PodTemplates.