MCPcopy Create free account
hub / github.com/coder/coder / RunInterfacesReport

Function RunInterfacesReport

codersdk/healthsdk/interfaces.go:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func RunInterfacesReport() (InterfacesReport, error) {
32 st, err := interfaces.GetState()
33 if err != nil {
34 return InterfacesReport{}, err
35 }
36 return generateInterfacesReport(st), nil
37}
38
39func generateInterfacesReport(st *interfaces.State) (report InterfacesReport) {
40 report.Severity = health.SeverityOK

Callers 4

pingMethod · 0.92
netcheckMethod · 0.92
HandleNetcheckMethod · 0.92
NetworkInfoFunction · 0.92

Calls 2

generateInterfacesReportFunction · 0.85
GetStateMethod · 0.45

Tested by

no test coverage detected