utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPciAddressFromLink(link netlink.Link) (string, error)

GetPciAddressFromLink returns the PCI address for a given netlink.Link

func IsBlueFieldDevice

func IsBlueFieldDevice(deviceID string) bool

func RunCommand

func RunCommand(cmd execUtils.Cmd) ([]byte, error)

RunCommand runs a command and captures stderr separately for better error reporting Returns stdout, error (with stderr included in the error message if command fails)

Types

This section is empty.

Jump to

Keyboard shortcuts

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