Package uk.co.ractf.polaris.controller
Class PortAllocator
- java.lang.Object
-
- uk.co.ractf.polaris.controller.PortAllocator
-
public class PortAllocator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PortAllocator(int min, int max, uk.co.ractf.polaris.api.node.PortAllocations portAllocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<uk.co.ractf.polaris.api.pod.PortMapping,com.github.dockerjava.api.model.PortBinding>
allocate(java.util.List<uk.co.ractf.polaris.api.pod.PortMapping> portMappings)
-