Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetNetInfo (0.2 sec)

  1. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top