Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortAllocator

        public PortAllocator​(int min,
                             int max,
                             uk.co.ractf.polaris.api.node.PortAllocations portAllocations)
    • Method Detail

      • allocate

        public 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)