manager

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package manager contains the link agent manager coordinating lifecycle of the NB API and link discovery controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AgentUUID     string
	TargetAddress string
	ServiceFlags  *cli.ServiceEndpointFlags
}

Config is a manager configuration

type Manager

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

Manager is a single point of entry for the discovery-agent

func NewManager

func NewManager(cfg Config) *Manager

NewManager initializes the application manager

func (*Manager) Start

func (m *Manager) Start() error

Start initializes and starts the link controller and the NB gNMI API.

func (*Manager) Stop

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