Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) Enabled() bool
- func (c *Controller) GetCtrlHandlers(ch channel2.Channel) []channel2.ReceiveHandler
- func (c *Controller) GetMgmtHandlers() []channel2.ReceiveHandler
- func (c *Controller) Initialize()
- func (c *Controller) IsEnabled() bool
- func (c *Controller) LoadConfig(cfgmap map[interface{}]interface{}) error
- func (c *Controller) Run()
- func (c *Controller) RunAndWait()
- func (c *Controller) SetHostController(h env.HostController)
- func (c *Controller) Shutdown()
Constants ¶
View Source
const (
ZitiInstanceId = "ziti-instance-id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewController ¶
func NewController(cfg config.Configurable) (*Controller, error)
func (*Controller) Enabled ¶
func (c *Controller) Enabled() bool
func (*Controller) GetCtrlHandlers ¶
func (c *Controller) GetCtrlHandlers(ch channel2.Channel) []channel2.ReceiveHandler
func (*Controller) GetMgmtHandlers ¶
func (c *Controller) GetMgmtHandlers() []channel2.ReceiveHandler
func (*Controller) Initialize ¶
func (c *Controller) Initialize()
func (*Controller) IsEnabled ¶
func (c *Controller) IsEnabled() bool
func (*Controller) LoadConfig ¶
func (c *Controller) LoadConfig(cfgmap map[interface{}]interface{}) error
func (*Controller) Run ¶
func (c *Controller) Run()
func (*Controller) RunAndWait ¶ added in v0.16.39
func (c *Controller) RunAndWait()
should be called as a go routine, blocks
func (*Controller) SetHostController ¶
func (c *Controller) SetHostController(h env.HostController)
func (*Controller) Shutdown ¶
func (c *Controller) Shutdown()
Click to show internal directories.
Click to hide internal directories.