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

Function WithDevContext

pkg/devspace/context/values/values.go:52–54  ·  view source on GitHub ↗

WithDevContext creates a new context with the dev context

(parent context.Context, devCtx context.Context)

Source from the content-addressed store, hash-verified

50
51// WithDevContext creates a new context with the dev context
52func WithDevContext(parent context.Context, devCtx context.Context) context.Context {
53 return WithValue(parent, devContextKey, devCtx)
54}
55
56// DevContextFrom returns a context used to start and stop dev configurations
57func DevContextFrom(ctx context.Context) (context.Context, bool) {

Callers 2

startNewDependencyMethod · 0.92
runPipelineFunction · 0.92

Calls 1

WithValueFunction · 0.85

Tested by

no test coverage detected