Use Kubernetes informer and cache in router (#376)
Use Kubernetes client's informer and cache to watch functions and triggers in the router. This replaces the polling loop we were using so far.
This commit is contained in:
committed by
Soam Vasani
parent
8abb0005f6
commit
439e7d4535
@@ -209,3 +209,6 @@ func (fc *FissionClient) Packages(ns string) PackageInterface {
|
||||
func (fc *FissionClient) WaitForTPRs() {
|
||||
waitForTPRs(fc.tprClient)
|
||||
}
|
||||
func (fc *FissionClient) GetTprClient() *rest.RESTClient {
|
||||
return fc.tprClient
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user