Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ServerInfoHandler (0.31 sec)

  1. cmd/peer-rest-server.go

    		return nil, grid.NewRemoteErr(err)
    	}
    	info := objLayer.LocalStorageInfo(context.Background(), metrics)
    	return madminStorageInfo.NewJSONWith(&info), nil
    }
    
    // ServerInfoHandler - returns Server Info
    func (s *peerRESTServer) ServerInfoHandler(params *grid.MSS) (*grid.JSON[madmin.ServerProperties], *grid.RemoteErr) {
    	r := http.Request{Host: globalLocalNodeName}
    	metrics, err := strconv.ParseBool(params.Get(peerRESTMetrics))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		// Info operations
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/info").HandlerFunc(adminMiddleware(adminAPI.ServerInfoHandler, traceAllFlag, noObjLayerFlag))
    		adminRouter.Methods(http.MethodGet, http.MethodPost).Path(adminVersion + "/inspect-data").HandlerFunc(adminMiddleware(adminAPI.InspectDataHandler, noGZFlag, traceHdrsS3HFlag))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    				NotAfter:      c.NotAfter,
    				Checksum:      strconv.FormatUint(check, 16),
    			})
    		}
    	}
    	return tlsInfo
    }
    
    // ServerInfoHandler - GET /minio/admin/v3/info
    // ----------
    // Get server information
    func (a adminAPIHandlers) ServerInfoHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    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/admin-bucket-handlers.go

    			}
    			kmsKey := encConfig.KeyID()
    			if kmsKey != "" {
    				_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    					Name:           kmsKey,
    					AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation
    				})
    				if err != nil {
    					if errors.Is(err, kes.ErrKeyNotFound) {
    						rpt.SetStatus(bucket, fileName, errKMSKeyNotFound)
    						continue
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top