pktmon

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilEnricher    = errors.New("enricher is nil")
	ErrUnexpectedExit = errors.New("unexpected exit")
	ErrNilGrpcClient  = errors.New("grpc client is nil")
)

Functions

func New

func New(*kcfg.Config) registry.Plugin

Types

type GRPCClient

type GRPCClient struct {
	observerv1.ObserverClient
}

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (*Plugin) Compile

func (p *Plugin) Compile(context.Context) error

func (*Plugin) Generate

func (p *Plugin) Generate(context.Context) error

func (*Plugin) GetFlow

func (p *Plugin) GetFlow(ctx context.Context) error

func (*Plugin) Init

func (p *Plugin) Init() error

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) RunPktMonServer

func (p *Plugin) RunPktMonServer(ctx context.Context) error

func (*Plugin) SetupChannel

func (p *Plugin) SetupChannel(ch chan *v1.Event) error

func (*Plugin) SetupStream

func (p *Plugin) SetupStream() error

func (*Plugin) Start

func (p *Plugin) Start(ctx context.Context) error

func (*Plugin) StartStream

func (p *Plugin) StartStream(ctx context.Context) error

func (*Plugin) Stop

func (p *Plugin) Stop() error

Jump to

Keyboard shortcuts

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