MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / Container

Interface Container

src/java/containers/container.go:8–21  ·  view source on GitHub ↗

Container represents a Java application container (Tomcat, Spring Boot, etc.)

Source from the content-addressed store, hash-verified

6
7// Container represents a Java application container (Tomcat, Spring Boot, etc.)
8type 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
24type Registry struct {

Callers 23

java_main_test.goFile · 0.65
groovy_test.goFile · 0.65
play_test.goFile · 0.65
container_test.goFile · 0.65
tomcat_test.goFile · 0.65
dist_zip_test.goFile · 0.65
DetectMethod · 0.65
java_main_test.goFile · 0.65
groovy_test.goFile · 0.65
play_test.goFile · 0.65

Implementers 7

PlayContainersrc/java/containers/play.go
TomcatContainersrc/java/containers/tomcat.go
GroovyContainersrc/java/containers/groovy.go
DistZipContainersrc/java/containers/dist_zip.go
JavaMainContainersrc/java/containers/java_main.go
SpringBootCLIContainersrc/java/containers/spring_boot_cli.go
SpringBootContainersrc/java/containers/spring_boot.go

Calls

no outgoing calls

Tested by

no test coverage detected