Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { Store istiomodel.ConfigStore // contains filtered or unexported fields }
Controller watches Istio config xDS server and notifies the listeners when config changes.
func NewController ¶
func NewController(options *Options) *Controller
NewController creates a new Controller instance based on the provided arguments.
func (*Controller) RegisterEventHandler ¶
func (c *Controller) RegisterEventHandler(handler func(*istioconfig.Config, *istioconfig.Config, istiomodel.Event))
RegisterEventHandler adds a handler to receive config update events for a configuration type
func (*Controller) Run ¶
func (c *Controller) Run(stop <-chan struct{})
Run until a signal is received, this function won't block
Click to show internal directories.
Click to hide internal directories.