adapter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkAdapter

type NetworkAdapter interface {
	// GetAdapter returns name of adapter if found
	// Must return error if adapter is not found or adapter name empty
	GetAdapterName() (string, error)

	// Get PriorityVLANTag returns PriorityVLANTag value for Adapter
	GetPriorityVLANTag() (int, error)

	// Set adapter's PriorityVLANTag value to desired value if adapter exists
	SetPriorityVLANTag(int) error
}

Directories

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

Jump to

Keyboard shortcuts

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