MCPcopy Index your code
hub / github.com/devspace-sh/devspace / EachDevContainer

Function EachDevContainer

pkg/devspace/config/loader/parser.go:142–153  ·  view source on GitHub ↗
(devPod *latest.DevPod, each func(devContainer *latest.DevContainer) bool)

Source from the content-addressed store, hash-verified

140}
141
142func EachDevContainer(devPod *latest.DevPod, each func(devContainer *latest.DevContainer) bool) {
143 if len(devPod.Containers) > 0 {
144 for _, devContainer := range devPod.Containers {
145 cont := each(devContainer)
146 if !cont {
147 break
148 }
149 }
150 } else {
151 _ = each(&devPod.DevContainer)
152 }
153}

Callers 15

StartProxyCommandsFunction · 0.92
StartPortForwardingFunction · 0.92
StartSSHFunction · 0.92
matchesImageSelectorFunction · 0.92
updatePVCFunction · 0.92
persistPathsFunction · 0.92
buildDeploymentFunction · 0.92
StartSyncFunction · 0.92
startMethod · 0.92
startLogsMethod · 0.92
getAttachDevContainerMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected