Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheMgr ¶
CacheMgr contains the runtime configuration for the envoyFilter controller.
func NewCacheMgr ¶
func NewCacheMgr(istioClientset *istioclient.Clientset, store istiomodel.ConfigStore) *CacheMgr
NewCacheMgr creates a new controller instance based on the provided arguments.
func (*CacheMgr) Cache ¶
func (c *CacheMgr) Cache() cachev3.SnapshotCache
Cache return th route cache
func (*CacheMgr) ConfigUpdated ¶
func (c *CacheMgr) ConfigUpdated(_ istioconfig.Config, curr istioconfig.Config, event istiomodel.Event)
ConfigUpdated sends a config change event to the pushChannel when Istio config changed
func (*CacheMgr) Run ¶
func (c *CacheMgr) Run(stop <-chan struct{})
Run until a signal is received, this function won't block
func (*CacheMgr) UpdateRoute ¶
func (c *CacheMgr) UpdateRoute()
UpdateRoute sends a config change event to the pushChannel when Meta Router changed
Click to show internal directories.
Click to hide internal directories.