testhelper

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupGHWNetworkSnapshot

func SetupGHWNetworkSnapshot() (*ghw.NetworkInfo, error)

SetupGHWNetworkSnapshot will setup a fake ghw client to be used for running local unit tests

Types

type SetupFakeSriov

type SetupFakeSriov struct {
	Address  string
	TotalVFS string
	NumVFS   string
}

Jump to

Keyboard shortcuts

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