tracker

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager() *manager

Types

type Callback

type Callback func(msg PortMsg)

type Manager

type Manager interface {
	Track(msg PortMsg)
	Register(tracker v1alpha1.TinyTracker) error
	Deregister(name string) error
}

type PortMsg

type PortMsg struct {
	NodeName  string
	EdgeID    string
	PortName  string
	FlowID    string
	Data      []byte
	NodeStats map[string]interface{}
	Err       error
}

Jump to

Keyboard shortcuts

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