Antonio Ojea
29ea5076ea
refactor current ipallocator
- rename files to match the allocator backend
- use t.Run for tests and cover large ranges
- add benchmarks
- check that thebitmap ip allocator satisfies the interface
goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/pkg/registry/core/service/ipallocator
cpu: Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz
BenchmarkAllocateNextIPv4Size1048574
BenchmarkAllocateNextIPv4Size1048574-24 1517683
7373 ns/op 135 B/op 8 allocs/op
BenchmarkAllocateNextIPv6Size65535
BenchmarkAllocateNextIPv6Size65535-24 5607438
193.9 ns/op 18 B/op 2 allocs/op
PASS
2022-12-31 12:48:50 +00:00
..
2022-07-14 11:25:19 +08:00
2022-09-02 07:13:18 +02:00
2022-12-31 12:48:50 +00:00
2022-12-31 12:48:50 +00:00
2022-12-31 12:48:50 +00:00
2022-05-13 22:33:30 +09:00