MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / newMariaDBContext

Function newMariaDBContext

src/java/frameworks/maria_db_jdbc_test.go:15–27  ·  view source on GitHub ↗
(buildDir, cacheDir, depsDir string)

Source from the content-addressed store, hash-verified

13)
14
15func newMariaDBContext(buildDir, cacheDir, depsDir string) *common.Context {
16 logger := libbuildpack.NewLogger(GinkgoWriter)
17 manifest := &libbuildpack.Manifest{}
18 installer := &libbuildpack.Installer{}
19 stager := libbuildpack.NewStager([]string{buildDir, cacheDir, depsDir, "0"}, logger, manifest)
20 return &common.Context{
21 Stager: stager,
22 Manifest: manifest,
23 Installer: installer,
24 Log: logger,
25 Command: &libbuildpack.Command{},
26 }
27}
28
29// vcapServices builds a minimal VCAP_SERVICES JSON string for a named service with a uri credential.
30func vcapServices(label, name string, tags []string) string {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected