MCPcopy Create free account
hub / github.com/docker/cli / getServices

Function getServices

cli/compose/loader/loader.go:285–293  ·  view source on GitHub ↗
(configDict map[string]any)

Source from the content-addressed store, hash-verified

283}
284
285func getServices(configDict map[string]any) map[string]any {
286 if services, ok := configDict["services"]; ok {
287 if servicesDict, ok := services.(map[string]any); ok {
288 return servicesDict
289 }
290 }
291
292 return map[string]any{}
293}
294
295// Transform converts the source into the target struct with compose types transformer
296// and the specified transformers if any.

Callers 2

GetUnsupportedPropertiesFunction · 0.85
GetDeprecatedPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…