pulumi/pkg/workspace/settings.go
Matt Ellis a749ac1102 Use go-yaml directly
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.
2017-10-20 14:01:37 -07:00

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.
}