app

package
v1.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VPPAgent

type VPPAgent struct {
	LogManager *logmanager.Plugin

	ETCDDataSync   *kvdbsync.Plugin
	ConsulDataSync *kvdbsync.Plugin
	RedisDataSync  *kvdbsync.Plugin
	BoltDataSync   *kvdbsync.Plugin

	VPP   *vpp.Plugin
	Linux *linux.Plugin

	GRPCService *rpc.Plugin
	RESTAPI     *rest.Plugin
	Probe       *probe.Plugin
	Telemetry   *telemetry.Plugin
}

VPPAgent defines plugins which will be loaded and their order. Note: the plugin itself is loaded after all its dependencies. It means that the VPP plugin is first in the list despite it needs to be loaded after the linux plugin.

func New

func New() *VPPAgent

New creates new VPPAgent instance.

func (VPPAgent) AfterInit

func (VPPAgent) AfterInit() error

AfterInit executes resync.

func (VPPAgent) Close

func (VPPAgent) Close() error

Close could close used resources.

func (VPPAgent) Init

func (VPPAgent) Init() error

Init initializes main plugin.

func (VPPAgent) String

func (VPPAgent) String() string

String returns name of the plugin.

Jump to

Keyboard shortcuts

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