manager

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package manager contains the topology discovery manager coordinating lifecycle of the NB API and SB controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RealmOptions         *realm.Options
	NeighborRealmOptions *realm.Options
	TopoAddress          string
	ServiceFlags         *cli.ServiceEndpointFlags
}

Config is a manager configuration

type Manager

type Manager struct {
	cli.Daemon
	Config Config
	// contains filtered or unexported fields
}

Manager single point of entry for the topology discovery

func NewManager

func NewManager(cfg Config) *Manager

NewManager initializes the application manager

func (*Manager) Start added in v0.2.3

func (m *Manager) Start() error

Start initializes and starts the manager.

func (*Manager) Stop added in v0.2.3

func (m *Manager) Stop()

Stop stops the manager

Jump to

Keyboard shortcuts

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