![]() - 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 |
||
---|---|---|
.. | ||
controller | ||
storage | ||
bitmap_test.go | ||
bitmap.go | ||
interfaces.go | ||
metrics.go |