utils

package
v0.0.0-...-e702a9a Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertInterface

func ConvertInterface(name string) string

ConvertInterface converts the interface name to a consistent format

func ReadTestData

func ReadTestData(command string, version *int) string

ReadTestData reads the testdata file for the given command. Because we can't use the Driver interface in the tests, we have to mock the output of the commands. This function reads the testdata file for the given command and returns the content as string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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