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

Method GetMariaDBVolumeName

pkg/ddevapp/ddevapp.go:3773–3775  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3771// GetMariaDBVolumeName returns the Docker volume name of the mariadb/database volume
3772// For historical reasons this isn't lowercased.
3773func (app *DdevApp) GetMariaDBVolumeName() string {
3774 return app.Name + "-mariadb"
3775}
3776
3777// GetPostgresVolumeName returns the Docker volume name of the postgres/database volume
3778// For historical reasons this isn't lowercased.

Callers 5

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

Calls

no outgoing calls

Tested by 1

TestDeleteCmdFunction · 0.64