lxd/config/schema.go
func (s Schema) Defaults() map[string]interface{} {
	values := make(map[string]interface{}, len(s))
	for name, key := range s {
		values[name] = key.Default
	}
	return values
}
func (s Schema) Defaults() map[string]interface{} {
	values := make(map[string]interface{}, len(s))
	for name, key := range s {
		values[name] = key.Default
	}
	return values
}
func ( s Schema ) Defaults ( ) map [ string ] interface { } { values := make ( map [ string ] interface { } , len ( s ) ) for name , key := range s { values [ name ] = key . Default } return values }
// Defaults returns a map of all key names in the schema along with their default
// values.
Defaults returns a map of all key names in the schema along with their default values .