DevContextFrom returns a context used to start and stop dev configurations
(ctx context.Context)
| 55 | |
| 56 | // DevContextFrom returns a context used to start and stop dev configurations |
| 57 | func 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 |
| 63 | func RootNameFrom(ctx context.Context) (string, bool) { |
no outgoing calls
no test coverage detected