Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SpecStore is the prefix for the spec defaults keys SpecStore = "spec" // OpinionsStore is the prefix for the opinions defaults keys OpinionsStore = "opinions" // DescriptionsStore is the prefix for the description keys DescriptionsStore = "descriptions" // JSONProvider is the name of the JSON output provider; outputs one file per job JSONProvider = "json" )
View Source
const (
// JobConfigFileExtension is the file extension for json configurations
JobConfigFileExtension = ".json"
)
Variables ¶
This section is empty.
Functions ¶
func BoshKeyToConsulPath ¶
BoshKeyToConsulPath maps dotted names to slash-delimited names
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder creates a base configuration to be fed into Consul or something similar
func NewConfigStoreBuilder ¶
func NewConfigStoreBuilder(provider, lightOpinionsPath, darkOpinionsPath, targetLocation string) *Builder
NewConfigStoreBuilder creates a new configstore.Builder
func (*Builder) WriteBaseConfig ¶
func (c *Builder) WriteBaseConfig(roleManifest *model.RoleManifest) error
WriteBaseConfig generates the configuration base from a role manifest
Click to show internal directories.
Click to hide internal directories.