func allDefaults() schema.Defaults {
	d := schema.Defaults{}
	configDefaults := ConfigDefaults()
	for attr, val := range configDefaults {
		d[attr] = val
	}
	for attr, val := range alwaysOptional {
		if _, ok := d[attr]; !ok {
			d[attr] = val
		}
	}
	return d
}
// allDefaults returns a schema.Defaults that contains
// defaults to be used when creating a new config with
// UseDefaults.
allDefaults returns a schema.Defaults that contains
defaults to be used when creating a new config with
UseDefaults.
// allDefaults returns a schema . Defaults that contains // defaults to be used when creating a new config with // UseDefaults .
func allDefaults() schema.Defaults {
	d := schema.Defaults{}
	configDefaults := ConfigDefaults()
	for attr, val := range configDefaults {
		d[attr] = val
	}
	for attr, val := range alwaysOptional {
		if _, ok := d[attr]; !ok {
			d[attr] = val
		}
	}
	return d
}
func allDefaults ( ) schema . Defaults { d := schema . Defaults { } configDefaults := ConfigDefaults ( ) for attr , val := range configDefaults { d [ attr ] = val } for attr , val := range alwaysOptional { if _ , ok := d [ attr ] ; ! ok { d [ attr ] = val } } return d }
allDefaults returns a schema.Defaults that contains
defaults to be used when creating a new config with
UseDefaults.
allDefaults returns a schema . Defaults that contains defaults to be used when creating a new config with UseDefaults .