Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Parallelism int `default:"1" yaml:"parallelism,omitempty"` Duration int `yaml:"duration,omitempty"` Profile string `yaml:"profile,omitempty"` Samples int `yaml:"samples,omitempty"` MessageSize int `yaml:"messagesize,omitempty"` Burst int `yaml:"burst,omitempty"` Service bool `default:"false" yaml:"service,omitempty"` Metric string AcrossAZ bool }
Config describes the netperf tests
func ParseConf ¶
ParseConf will read in the netperf configuration file which describes which tests to run Returns Config struct
func ParseV2Conf ¶ added in v0.1.12
ParseV2Conf will read in the netperf configuration file which describes which tests to run Returns Config struct
type PerfScenarios ¶
type PerfScenarios struct { NodeLocal bool AcrossAZ bool HostNetwork bool Configs []Config VM bool VMHost string ServerNodeInfo metrics.NodeInfo ClientNodeInfo metrics.NodeInfo Client apiv1.PodList Server apiv1.PodList ClientAcross apiv1.PodList ClientHost apiv1.PodList ServerHost apiv1.PodList NetperfService *apiv1.Service IperfService *apiv1.Service UperfService *apiv1.Service RestConfig rest.Config ClientSet *kubernetes.Clientset KClient *kubevirtv1.KubevirtV1Client DClient *dynamic.DynamicClient SSHClient *goph.Client }
PerfScenarios describes the different scenarios
Click to show internal directories.
Click to hide internal directories.