Documentation
¶
Index ¶
- Constants
- Variables
- func CrossTypeCompare(a interface{}, b interface{}) (int, error)
- func CrossTypeEqual(a interface{}, b interface{}) bool
- func IsCaptureAllowed(nodeType string) bool
- func MaxInt64(a, b int64) int64
- func MinInt64(a, b int64) int64
- func Retry(fnc func() error, try int, delay time.Duration) error
Constants ¶
View Source
const ( StoppedState = iota RunningState StoppingState )
Variables ¶
View Source
var ( CantCompareInterface error = errors.New("Can't compare interface") CaptureTypes = map[string]map[string][]string{ "ovsbridge": {"allowed": {"ovssflow"}, "default": {"ovssflow"}}, "device": {"allowed": {"pcap"}, "default": {"pcap"}}, "internal": {"allowed": {"pcap"}, "default": {"pcap"}}, "veth": {"allowed": {"pcap"}, "default": {"pcap"}}, "tun": {"allowed": {"pcap"}, "default": {"pcap"}}, "bridge": {"allowed": {"pcap"}, "default": {"pcap"}}, } )
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- common.go
Click to show internal directories.
Click to hide internal directories.