minio/internal/bucket/bandwidth
Klaus Post e06168596f
Convert more peer <--> peer REST calls (#19004)
* Convert more peer <--> peer REST calls
* Clean up in general.
* Add JSON wrapper.
* Add slice wrapper.
* Add option to make handler return nil error if no connection is given, `IgnoreNilConn`.

Converts the following:

```
+	HandlerGetMetrics
+	HandlerGetResourceMetrics
+	HandlerGetMemInfo
+	HandlerGetProcInfo
+	HandlerGetOSInfo
+	HandlerGetPartitions
+	HandlerGetNetInfo
+	HandlerGetCPUs
+	HandlerServerInfo
+	HandlerGetSysConfig
+	HandlerGetSysServices
+	HandlerGetSysErrors
+	HandlerGetAllBucketStats
+	HandlerGetBucketStats
+	HandlerGetSRMetrics
+	HandlerGetPeerMetrics
+	HandlerGetMetacacheListing
+	HandlerUpdateMetacacheListing
+	HandlerGetPeerBucketMetrics
+	HandlerStorageInfo
+	HandlerGetLocks
+	HandlerBackgroundHealStatus
+	HandlerGetLastDayTierStats
+	HandlerSignalService
+	HandlerGetBandwidth
```
2024-02-19 14:54:46 -08:00
..
measurement.go fix: expMovingAvg is too small when startTime is zero (#17346) 2023-06-03 13:41:51 -07:00
monitor.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
monitor_gen.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
monitor_gen_test.go Convert more peer <--> peer REST calls (#19004) 2024-02-19 14:54:46 -08:00
monitor_test.go refactor bandwidth throttling for replication target (#17980) 2023-09-05 20:21:59 -07:00
reader.go refactor bandwidth throttling for replication target (#17980) 2023-09-05 20:21:59 -07:00