//
pkg.gl
Category
github.com/contiv/vpp
plugins
statscollector
package
3.4.2+incompatible
Repository:
https://github.com/contiv/vpp.git
Documentation:
pkg.go.dev
Overview
Versions
3
Dependencies
15
Dependents
18
Files
365 SLOC
#
Functions
NewPlugin
NewPlugin creates a new Plugin with the provides Options.
UseDeps
UseDeps returns Option that can inject custom dependencies.
#
Variables
DefaultPlugin
DefaultPlugin is default instance of Plugin.
#
Structs
Deps
Deps groups the dependencies of the Plugin.
Plugin
Plugin collects the statistics from vpp interfaces and publishes them to prometheus.
#
Interfaces
API
API defines API of the stats collector plugin.
#
Type aliases
Option
Option is a function that acts on a Plugin to inject Dependencies or configuration.