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

Function GetValidMySQLVersions

pkg/nodeps/values.go:232–240  ·  view source on GitHub ↗

GetValidMySQLVersions is a helper function that returns a list of valid MySQL versions.

()

Source from the content-addressed store, hash-verified

230
231// GetValidMySQLVersions is a helper function that returns a list of valid MySQL versions.
232func GetValidMySQLVersions() []string {
233 s := make([]string, 0, len(ValidMySQLVersions))
234
235 for p := range ValidMySQLVersions {
236 s = append(s, p)
237 }
238 sort.Sort(natural.StringSlice(s))
239 return s
240}
241
242// GetValidPostgresVersions is a helper function that returns a list of valid PostgreSQL versions.
243func GetValidPostgresVersions() []string {

Callers 2

ValidateConfigMethod · 0.92
GetValidDatabaseVersionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected