MCPcopy Create free account
hub / github.com/ddev/ddev / GetValidAppTypes

Function GetValidAppTypes

pkg/ddevapp/apptypes.go:578–585  ·  view source on GitHub ↗

GetValidAppTypes returns the valid apptype keys from the appTypeMatrix

()

Source from the content-addressed store, hash-verified

576
577// GetValidAppTypes returns the valid apptype keys from the appTypeMatrix
578func GetValidAppTypes() []string {
579 keys := make([]string, 0, len(appTypeMatrix))
580 for k := range appTypeMatrix {
581 keys = append(keys, k)
582 sort.Sort(natural.StringSlice(keys))
583 }
584 return keys
585}

Callers 10

TestAllowedAppTypesFunction · 0.92
TestHttpsRedirectionFunction · 0.92
TestDetectAppTypeFunction · 0.92
initFunction · 0.92
handleMainConfigArgsFunction · 0.92
AppTypePromptMethod · 0.85

Calls

no outgoing calls

Tested by 7

TestAllowedAppTypesFunction · 0.74
TestHttpsRedirectionFunction · 0.74
TestDetectAppTypeFunction · 0.74