RootNameFrom returns the root name of the devspace config
(ctx context.Context)
| 61 | |
| 62 | // RootNameFrom returns the root name of the devspace config |
| 63 | func RootNameFrom(ctx context.Context) (string, bool) { |
| 64 | user, ok := ctx.Value(rootNameKey).(string) |
| 65 | return user, ok |
| 66 | } |
| 67 | |
| 68 | // WithRootName returns a copy of parent with the root name included |
| 69 | func WithRootName(parent context.Context, name string) context.Context { |
no outgoing calls
no test coverage detected