netperf

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ServerDataPort = 42424

ServerDataPort data port for the service

Variables

This section is empty.

Functions

func ParseResults

func ParseResults(stdout *bytes.Buffer) (sample.Sample, error)

ParseResults accepts the stdout from the execution of the benchmark. It also needs It will return a Sample struct or error

func Run

func Run(c *kubernetes.Clientset, rc rest.Config, nc config.Config, client apiv1.PodList, serverIP string) (bytes.Buffer, error)

Run will use the k8s client to run the netperf binary in the container image it will return a bytes.Buffer of the stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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