plugin/kubernetes: handle tombstones in default processor (#3890)
* handle deletion tombstones in default processor Signed-off-by: Chris O'Haver <cohaver@infoblox.com> * fix terminating pod exclusion Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
bb7ee5010e
commit
a3aeb3d503
4 changed files with 45 additions and 25 deletions
|
@ -23,7 +23,7 @@ import (
|
|||
)
|
||||
|
||||
// ToFunc converts one empty interface to another.
|
||||
type ToFunc func(interface{}) interface{}
|
||||
type ToFunc func(interface{}) (interface{}, error)
|
||||
|
||||
// ProcessorBuilder returns function to process cache events.
|
||||
type ProcessorBuilder func(cache.Indexer, cache.ResourceEventHandler) cache.ProcessFunc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue