Internally, the engine deals with tokens.QName and not raw strings. Push that up to the API boundary
10 lines
231 B
Go
10 lines
231 B
Go
// Copyright 2017, Pulumi Corporation. All rights reserved.
|
|
|
|
package engine
|
|
|
|
import "github.com/pulumi/pulumi/pkg/tokens"
|
|
|
|
func (eng *Engine) SelectEnv(envName tokens.QName) error {
|
|
eng.setCurrentEnv(envName, true)
|
|
return nil
|
|
}
|