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

Function DevContextFrom

pkg/devspace/context/values/values.go:57–60  ·  view source on GitHub ↗

DevContextFrom returns a context used to start and stop dev configurations

(ctx context.Context)

Source from the content-addressed store, hash-verified

55
56// DevContextFrom returns a context used to start and stop dev configurations
57func DevContextFrom(ctx context.Context) (context.Context, bool) {
58 devCtx, ok := ctx.Value(devContextKey).(context.Context)
59 return devCtx, ok
60}
61
62// RootNameFrom returns the root name of the devspace config
63func RootNameFrom(ctx context.Context) (string, bool) {

Callers 2

StartMultipleMethod · 0.92
startNewDependencyMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected