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

Function getSection

cli/compose/loader/loader.go:210–216  ·  view source on GitHub ↗
(config map[string]any, key string)

Source from the content-addressed store, hash-verified

208}
209
210func getSection(config map[string]any, key string) map[string]any {
211 section, ok := config[key]
212 if !ok {
213 return make(map[string]any)
214 }
215 return section.(map[string]any)
216}
217
218// GetUnsupportedProperties returns the list of any unsupported properties that are
219// used in the Compose files.

Callers 1

loadSectionsFunction · 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…