Categorygithub.com/mdlayher/devlink
modulepackage
0.0.0-20191111174559-94b7996630ec
Repository: https://github.com/mdlayher/devlink.git
Documentation: pkg.go.dev

# README

devlink builds.sr.ht status GoDoc Go Report Card

Package devlink provides access to Linux's devlink interface.

For more information on devlink, please see https://lwn.net/Articles/674867/.

MIT Licensed.

# Functions

New creates a new Client.

# Constants

Possible PortType values.
Possible PortType values.
Possible PortType values.
Possible PortType values.

# Structs

A Client provides access to Linux devlink information.
A Device is a devlink device.
A Port is a devlink port which is attached to a devlink device.

# Type aliases

A PortType is the operating mode of a devlink port.