Class AbstractStackPortRuntime
java.lang.Object
com.cloudforge.core.local.AbstractStackPortRuntime
- All Implemented Interfaces:
StackPortRuntime
- Direct Known Subclasses:
LocalStackStackPortRuntime, MiniStackStackPortRuntime
Shared Docker lifecycle for target-owned StackPort resource browsers.
-
Constructor Details
-
AbstractStackPortRuntime
-
-
Method Details
-
spec
-
target
- Specified by:
targetin interfaceStackPortRuntime
-
containerName
- Specified by:
containerNamein interfaceStackPortRuntime
-
browserUrl
- Specified by:
browserUrlin interfaceStackPortRuntime
-
start
- Specified by:
startin interfaceStackPortRuntime- Throws:
IOException
-
stop
- Specified by:
stopin interfaceStackPortRuntime- Throws:
IOException
-
rebuild
Description copied from interface:StackPortRuntimePull the latest image, remove the container, and start fresh.- Specified by:
rebuildin interfaceStackPortRuntime- Throws:
IOException
-
isRunning
- Specified by:
isRunningin interfaceStackPortRuntime- Throws:
IOException
-
isHealthy
public boolean isHealthy()- Specified by:
isHealthyin interfaceStackPortRuntime
-
dockerCreateArgs
- Throws:
IOException
-
resolveAwsEndpointUrl
-
resolveStackPortEndpointsEnv
-