Class LocalHostPortPolicy

java.lang.Object
com.cloudforge.core.local.LocalHostPortPolicy

public final class LocalHostPortPolicy extends Object
Resolves the host port a MiniStack Fargate deploy will bind (localhost:port).
  • Method Details

    • resolveRequiredHostPort

      public static int resolveRequiredHostPort(ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode canonicalTemplate)
      Host port pinned by the MiniStack adapter (container port on localhost).
    • isPrivilegedHostPort

      public static boolean isPrivilegedHostPort(int port)
    • portConflictSuggestion

      public static String portConflictSuggestion(DeploymentTarget target)