Class LocalHostPortPolicy
java.lang.Object
com.cloudforge.core.local.LocalHostPortPolicy
Resolves the host port a MiniStack Fargate deploy will bind (
localhost:port).-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisPrivilegedHostPort(int port) static Stringstatic intresolveRequiredHostPort(ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode canonicalTemplate) Host port pinned by the MiniStack adapter (container port onlocalhost).
-
Method Details
-
resolveRequiredHostPort
public static int resolveRequiredHostPort(ApplicationSpec spec, com.fasterxml.jackson.databind.JsonNode canonicalTemplate) Host port pinned by the MiniStack adapter (container port onlocalhost). -
isPrivilegedHostPort
public static boolean isPrivilegedHostPort(int port) -
portConflictSuggestion
-