config/yaml_config.go
func (m *yamlManager) GetGlobalConfig() (*GlobalConfig, error) {
	globalConfig := &GlobalConfig{}
	LoadFile(path.Join(m.ConfigDir, "cf-mgmt.yml"), globalConfig)
	if len(globalConfig.MetadataPrefix) == 0 {
		globalConfig.MetadataPrefix = "cf-mgmt.pivotal.io"
	}
	return globalConfig, nil
}
func (m *yamlManager) GetGlobalConfig() (*GlobalConfig, error) {
	globalConfig := &GlobalConfig{}
	LoadFile(path.Join(m.ConfigDir, "cf-mgmt.yml"), globalConfig)
	if len(globalConfig.MetadataPrefix) == 0 {
		globalConfig.MetadataPrefix = "cf-mgmt.pivotal.io"
	}
	return globalConfig, nil
}
func ( m * yamlManager ) GetGlobalConfig ( ) ( * GlobalConfig , error ) { globalConfig := & GlobalConfig { } LoadFile ( path . Join ( m . ConfigDir , " " ) , globalConfig ) if len ( globalConfig . MetadataPrefix ) == 0 { globalConfig . MetadataPrefix = " " } return globalConfig , nil }
// GetIsolationSegmentConfig reads isolation segment config
GetIsolationSegmentConfig reads isolation segment config