a749ac1102
Instead of doing the logic to see if a type has YAML tags and then dispatching based on that to use either the direct go-yaml marshaller or the one that works in terms of JSON tags, let's just say that we always add YAML tags as well, and use go-yaml directly.
13 lines
462 B
Go
13 lines
462 B
Go
// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
|
|
|
|
package workspace
|
|
|
|
import (
|
|
"github.com/pulumi/pulumi/pkg/tokens"
|
|
)
|
|
|
|
// Settings defines workspace settings shared amongst many related projects.
|
|
type Settings struct {
|
|
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` // an optional namespace.
|
|
Stack tokens.QName `json:"env,omitempty" yaml:"env,omitempty"` // an optional default stack to use.
|
|
}
|