- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewInMemory (0.14 sec)
-
pkg/registry/core/service/storage/storage_test.go
} func makeIPAllocator(cidr *net.IPNet) ipallocator.Interface { al, err := ipallocator.NewInMemory(cidr) if err != nil { panic(fmt.Sprintf("error creating IP allocator: %v", err)) } return al } func makePortAllocator(ports machineryutilnet.PortRange) portallocator.Interface { al, err := portallocator.NewInMemory(ports) if err != nil { panic(fmt.Sprintf("error creating port allocator: %v", err)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 440.2K bytes - Viewed (0)