app

package
v0.0.0-...-ae01f8c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linux

type Linux struct {
	IfPlugin       *linux_ifplugin.IfPlugin
	L3Plugin       *linux_l3plugin.L3Plugin
	NSPlugin       *linux_nsplugin.NsPlugin
	IPTablesPlugin *linux_iptablesplugin.IPTablesPlugin
}

Linux contains some Linux plugins.

func DefaultLinux

func DefaultLinux() Linux

type MockCnfAgent

type MockCnfAgent struct {
	infra.PluginName
	LogManager *logmanager.Plugin

	VPP
	Linux
	Netalloc    *netalloc.Plugin
	MockCnf     *mockcnf_plugin.Plugin
	CnfRegistry *cnfreg_plugin.Plugin
	PuntManager *puntmgr_plugin.Plugin

	Orchestrator *orchestrator.Plugin
	ETCDDataSync *kvdbsync.Plugin

	Configurator *configurator.Plugin
	RESTAPI      *restapi.Plugin
	Probe        *probe.Plugin
	StatusCheck  *statuscheck.Plugin
}

MockCnfAgent defines plugins which will be loaded and their order.

func New

func New() *MockCnfAgent

New creates new MockCnfAgent instance.

func (*MockCnfAgent) AfterInit

func (a *MockCnfAgent) AfterInit() error

AfterInit executes resync.

func (*MockCnfAgent) Close

func (a *MockCnfAgent) Close() error

Close could close used resources.

func (*MockCnfAgent) Init

func (a *MockCnfAgent) Init() error

Init initializes main plugin.

type VPP

type VPP struct {
	IfPlugin *ifplugin.IfPlugin
	L2Plugin *l2plugin.L2Plugin
	L3Plugin *l3plugin.L3Plugin
	ABX      *abx.ABXPlugin
	ISISX    *isisx.ISISXPlugin
}

VPP contains some VPP plugins.

func DefaultVPP

func DefaultVPP() VPP

func DisabledVPP

func DisabledVPP() VPP

Jump to

Keyboard shortcuts

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