config

package
v0.0.0-...-52063fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

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(configServerAddr string) *Controller

NewController creates a new Controller instance based on the provided arguments.

func (*Controller) RegisterEventHandler

func (c *Controller) RegisterEventHandler(protocols map[protocol.Instance]envoyfilter.Generator, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL