package
0.9.2
Repository: https://github.com/intel-go/nff-go.git
Documentation: pkg.go.dev

# Packages

Copyright 2017 Intel Corporation.

# Functions

LogDebug logs if level is is equal to or higher than LogDebugLvl.
LogError logs if level is is equal to or higher than LogErrorsLvl.
LogErrorsIfNotNil logs if level is equal to or higher than LogErrorsLvl if error is not nil.
LogInfo logs if level is is equal to or higher than LogInfoLvl.
LogPanic prints error and calls panic.
LogWarning logs if level is is equal to or higher than LogWarningsLvl.
NewLogger creates and returns a new Logger object initialized with file for output.
ReadConfig function reads and parses config file.
SetLogLevel sets a log level to given value.
StartReport initializes and starts report writing.

# Constants

Indexes in array of Apache Benchmark stats ApacheBenchmarkStats.
Indexes in array of Apache Benchmark stats ApacheBenchmarkStats.
Indexes in array of Apache Benchmark stats ApacheBenchmarkStats.
Indexes in array of Apache Benchmark stats ApacheBenchmarkStats.
Indexes in array of latency stats LatencyStats.
Constants for different log levels.
Constants for different log levels.
Constants for different log levels.
Constants for different log levels.
Constants for different log levels.
Constants for different log levels.
Indexes in array of latency stats LatencyStats.
Pktgen commands constants.
Pktgen commands constants.
Pktgen commands constants.
Pktgen commands constants.
Pktgen commands constants.
Pktgen commands constants.
Indexes in array of latency stats LatencyStats.
Indexes in array of latency stats LatencyStats.
Indexes in array of latency stats LatencyStats.
Constants for different application types.
Constants for different application types.
Constants for different application types.
Constants for different application types.
Constants for different application types.
Constants for different application types.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test statuses.
Constants for different test types.
Constants for different test types.
Constants for different test types.
Constants for different test types.
Constants for different test types.
Indexes in array of Wireshark Benchmark stats WrkBenchmarkStats.
Indexes in array of Wireshark Benchmark stats WrkBenchmarkStats.

# Variables

Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.
Test statuses regular expressions.

# Structs

ApacheBenchmarkStats has info about running Apache Benchmark web client.
AppConfig struct has settings controlling test distributed application parameters.
BenchmarkConfig struct has settings controlling benchmark parameters, usually for tests with type TestTypeBenchmark.
CoresInfo has info about used and free cores.
DockerConfig struct has settings controlling communication with docker daemons.
LatencyStats has info about finished latency perf test.
Logger type contains a logging object that generates lines of output to an io.Writer and file for logging.
PktgenMeasurement has measured by pktgen benchmark values.
Report represents test report.
ReportCoresInfo has info about cores for final report.
RunningApp structure represents the app being run.
TestcaseReportInfo has all info about test.
TestConfig struct has settings for one test case.
TestReport has info about test status and application.
TestsuiteConfig struct has settings which describe whole test suite.
TeststuiteReport has information about all test results.
No description provided by the author

# Type aliases

AppType is a type of application.
HostsList is a slice of host:port pairs that are used to replace values read from JSON config file.
LogLevel is a type indicating the level of logging.
No description provided by the author
TestStatus is a status of the test.
TestType is a type of the test.
Variable is a string in a form of NAME=VALUE pair which is replaced inside of tests command lines.