MCPcopy
hub / github.com/microsoft/retina / New

Function New

pkg/plugin/packetforward/packetforward_linux.go:37–42  ·  view source on GitHub ↗

New creates a new packetforward plugin.

(cfg *kcfg.Config)

Source from the content-addressed store, hash-verified

35
36// New creates a new packetforward plugin.
37func New(cfg *kcfg.Config) registry.Plugin {
38 return &packetForward{
39 cfg: cfg,
40 l: log.Logger().Named(name),
41 }
42}
43
44// Helper functions.
45

Callers 1

mainFunction · 0.92

Calls 2

LoggerFunction · 0.92
NamedMethod · 0.80

Tested by

no test coverage detected