ethtool

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthtoolLib

type EthtoolLib interface {
	// Features retrieves features of the given interface name.
	Features(ifaceName string) (map[string]bool, error)
	// FeatureNames shows supported features by their name.
	FeatureNames(ifaceName string) (map[string]uint, error)
	// Change requests a change in the given device's features.
	Change(ifaceName string, config map[string]bool) error
}

func New

func New() EthtoolLib

Directories

Path Synopsis
Package mock_ethtool is a generated GoMock package.
Package mock_ethtool is a generated GoMock package.

Jump to

Keyboard shortcuts

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