MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / CreateMonitorModule

Function CreateMonitorModule

daemon/pkg/module/monitor_module.go:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func CreateMonitorModule() *MonitorModule {
27 return &MonitorModule{
28 Base{
29 sigChan: make(chan int),
30 errChan: make(chan error),
31 wg: new(sync.WaitGroup),
32 daemonFunc: captureNodeStatus,
33 running: false,
34 ModuleName: "MonitorModule",
35 },
36 }
37}
38
39func uploadHostPerformanceData(
40 this *utils.HostResourceRaw,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected