Documentation ¶
Overview ¶
Package fabricmanager tracks the NVIDIA fabric manager version and its activeness. And streams the fabric manager logs for any errors and events.
Index ¶
Constants ¶
View Source
const ( EventKeyFabricManagerNVSwitchLogUnixSeconds = "fabricmanager_nvswitch_log_unix_seconds" EventKeyFabricManagerNVSwitchLogLine = "fabricmanager_nvswitch_log_line" EventKeyFabricManagerNVSwitchLogFilter = "fabricmanager_nvswitch_log_filter" EventKeyFabricManagerNVSwitchLogError = "fabricmanager_nvswitch_log_error" )
View Source
const ( StateNameFabricManager = "fabric_manager" StateKeyFabricManagerData = "data" StateKeyFabricManagerEncoding = "encoding" StateValueFabricManagerEncodingJSON = "json" )
View Source
const Name = "accelerator-nvidia-fabric-manager"
Variables ¶
This section is empty.
Functions ¶
func DefaultLogConfig ¶
func DefaultLogConfig() query_log_config.Config
Types ¶
type Config ¶
type Config struct { Query query_config.Config `json:"query"` Log query_log_config.Config `json:"log"` }
type Output ¶
type Output struct {
FabricManager nvidia_query.FabricManagerOutput `json:"fabric_manager"`
}
func ParseOutputJSON ¶
func ParseStatesToOutput ¶
func ParseStatesToOutput(states ...components.State) (*Output, error)
func ToOutput ¶
func ToOutput(i *nvidia_query.Output) *Output
Click to show internal directories.
Click to hide internal directories.