MCPcopy Index your code
hub / github.com/ddev/ddev / GetPostgresVolumeName

Method GetPostgresVolumeName

pkg/ddevapp/ddevapp.go:3779–3781  ·  view source on GitHub ↗

GetPostgresVolumeName returns the Docker volume name of the postgres/database volume For historical reasons this isn't lowercased.

()

Source from the content-addressed store, hash-verified

3777// GetPostgresVolumeName returns the Docker volume name of the postgres/database volume
3778// For historical reasons this isn't lowercased.
3779func (app *DdevApp) GetPostgresVolumeName() string {
3780 return app.Name + "-postgres"
3781}
3782
3783// GetComposeProjectName returns the name of the docker-compose project
3784func (app *DdevApp) GetComposeProjectName() string {

Callers 5

RenderComposeYAMLMethod · 0.95
StartMethod · 0.95
StopMethod · 0.95
TestDeleteCmdFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestDeleteCmdFunction · 0.64