utils

package
v0.0.0-...-0490a85 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogWrapper

func NewLogWrapper() *logrusWrapper

func NewLogger

func NewLogger() *logrus.Logger

Types

type AcceleratorDiscoveryConfig

type AcceleratorDiscoveryConfig struct {
	VendorID  map[string]string
	Class     string
	SubClass  string
	Devices   map[string]string
	NodeLabel string
}

func LoadDiscoveryConfig

func LoadDiscoveryConfig(cfgPath string) (AcceleratorDiscoveryConfig, error)

Jump to

Keyboard shortcuts

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