- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CurrentBandwidthInBytesPerSecond (0.18 sec)
-
internal/bucket/bandwidth/monitor_gen.go
if err != nil { err = msgp.WrapError(err, "LimitInBytesPerSecond") return } case "CurrentBandwidthInBytesPerSecond": z.CurrentBandwidthInBytesPerSecond, err = dc.ReadFloat64() if err != nil { err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
test1Want[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: 0} test1Want2 := make(map[BucketOptions]Details) test1Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{ LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: (1024 * 1024) / start.Add(2*time.Second).Sub(start.Add(1*time.Second)).Seconds(), }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
return true } } return false } } // Details for the measured bandwidth type Details struct { LimitInBytesPerSecond int64 `json:"limitInBits"` CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"` } // BucketBandwidthReport captures the details for all buckets. type BucketBandwidthReport struct { BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 6K bytes - Viewed (0)