NameFrom returns the name of the devspace config
(ctx context.Context)
| 82 | |
| 83 | // NameFrom returns the name of the devspace config |
| 84 | func NameFrom(ctx context.Context) (string, bool) { |
| 85 | user, ok := ctx.Value(nameKey).(string) |
| 86 | return user, ok |
| 87 | } |
| 88 | |
| 89 | // WithTempFolder returns a copy of parent in which the devspace temp folder is set |
| 90 | func WithTempFolder(parent context.Context, name string) context.Context { |
no outgoing calls
no test coverage detected