Container represents a Java application container (Tomcat, Spring Boot, etc.)
| 6 | |
| 7 | // Container represents a Java application container (Tomcat, Spring Boot, etc.) |
| 8 | type Container interface { |
| 9 | // Detect returns true if this container should handle the application |
| 10 | // Returns the container name and version if detected |
| 11 | Detect() (string, error) |
| 12 | |
| 13 | // Supply installs the container and its dependencies |
| 14 | Supply() error |
| 15 | |
| 16 | // Finalize performs final container configuration |
| 17 | Finalize() error |
| 18 | |
| 19 | // Release returns the startup command for the container |
| 20 | Release() (string, error) |
| 21 | } |
| 22 | |
| 23 | // Registry manages available containers |
| 24 | type Registry struct { |
no outgoing calls
no test coverage detected