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

Function NameFrom

pkg/devspace/context/values/values.go:84–87  ·  view source on GitHub ↗

NameFrom returns the name of the devspace config

(ctx context.Context)

Source from the content-addressed store, hash-verified

82
83// NameFrom returns the name of the devspace config
84func 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
90func WithTempFolder(parent context.Context, name string) context.Context {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected