common

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Query query_config.Config `json:"query"`

	ToolOverwrites
}

func ParseConfig

func ParseConfig(b any, dbRW *sql.DB, dbRO *sql.DB) (*Config, error)

func (Config) Validate

func (cfg Config) Validate() error

type ToolOverwrites

type ToolOverwrites struct {
	NvidiaSMICommand         string `json:"nvidia_smi_command"`
	NvidiaSMIQueryCommand    string `json:"nvidia_smi_query_command"`
	IbstatCommand            string `json:"ibstat_command"`
	InfinibandClassDirectory string `json:"infiniband_class_directory"`
}

Jump to

Keyboard shortcuts

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