- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for GetNetInfo (0.06 seconds)
-
cmd/notification.go
} for index, err := range g.Wait() { if err != nil { sys.addNodeErr(&reply[index], sys.peerClients[index], err) } } return reply } // GetNetInfo - Network information func (sys *NotificationSys) GetNetInfo(ctx context.Context) []madmin.NetInfo { reply := make([]madmin.NetInfo, len(sys.peerClients)) g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0) -
cmd/peer-rest-client.go
resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err } // GetNetInfo - fetch network information for a remote node. func (client *peerRESTClient) GetNetInfo(ctx context.Context) (info madmin.NetInfo, err error) { resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
cmd/admin-handlers.go
getAndWriteNetInfo := func() { if query.Get(string(madmin.HealthDataTypeSysNet)) == "true" { localNetInfo := madmin.GetNetInfo(globalLocalNodeName, globalInternodeInterface) healthInfo.Sys.NetInfo = append(healthInfo.Sys.NetInfo, localNetInfo) peerNetInfos := globalNotificationSys.GetNetInfo(healthCtx) for _, n := range peerNetInfos { anonymizeAddr(&n)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0) -
cmd/peer-rest-server.go
return madminCPUs.NewJSONWith(&info), nil } // GetNetInfoHandler - returns network information. func (s *peerRESTServer) GetNetInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.NetInfo], *grid.RemoteErr) { info := madmin.GetNetInfo(globalLocalNodeName, globalInternodeInterface) return madminNetInfo.NewJSONWith(&info), nil } // GetPartitionsHandler - returns disk partition information.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 53.6K bytes - Click Count (0)