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
a3a5b9d4cd
commit
71fad66dbf
@@ -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