Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPlugin = *NewPlugin()
DefaultPlugin is a default instance of IPSec plugin.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct { infra.PluginDeps KVScheduler kvs.KVScheduler GoVppmux govppmux.API IfPlugin ifplugin.API StatusCheck statuscheck.PluginStatusWriter // optional }
Deps lists dependencies of the IPSec plugin.
type IPSecPlugin ¶
type IPSecPlugin struct { Deps // contains filtered or unexported fields }
IPSecPlugin configures VPP security policy databases and security associations using GoVPP.
func NewPlugin ¶
func NewPlugin(opts ...Option) *IPSecPlugin
NewPlugin creates a new Plugin with the provided Options.
func (*IPSecPlugin) AfterInit ¶
func (p *IPSecPlugin) AfterInit() error
AfterInit registers plugin with StatusCheck.
func (*IPSecPlugin) Init ¶
func (p *IPSecPlugin) Init() (err error)
Init registers IPSec-related descriptors.
type Option ¶
type Option func(*IPSecPlugin)
Option is a function that can be used in NewPlugin to customize Plugin.
Click to show internal directories.
Click to hide internal directories.