@@ -25,19 +25,20 @@ type extensionVersion struct {
2525type versionMap map [string ]map [string ]extensionVersion
2626
2727type extensionMetadata struct {
28- Name string `hcl:"name" cty:"name"`
29- SQLName string `hcl:"sql_name" cty:"sql_name"`
30- ImageName string `hcl:"image_name" cty:"image_name"`
31- SharedPreloadLibraries []string `hcl:"shared_preload_libraries" cty:"shared_preload_libraries"`
32- ExtensionControlPath []string `hcl:"extension_control_path" cty:"extension_control_path"`
33- DynamicLibraryPath []string `hcl:"dynamic_library_path" cty:"dynamic_library_path"`
34- LdLibraryPath []string `hcl:"ld_library_path" cty:"ld_library_path"`
35- BinPath []string `hcl:"bin_path" cty:"bin_path"`
36- AutoUpdateOsLibs bool `hcl:"auto_update_os_libs" cty:"auto_update_os_libs"`
37- RequiredExtensions []string `hcl:"required_extensions" cty:"required_extensions"`
38- CreateExtension bool `hcl:"create_extension" cty:"create_extension"`
39- Versions versionMap `hcl:"versions" cty:"versions"`
40- Remain hcl.Body `hcl:",remain"`
28+ Name string `hcl:"name" cty:"name"`
29+ SQLName string `hcl:"sql_name" cty:"sql_name"`
30+ ImageName string `hcl:"image_name" cty:"image_name"`
31+ SharedPreloadLibraries []string `hcl:"shared_preload_libraries" cty:"shared_preload_libraries"`
32+ ExtensionControlPath []string `hcl:"extension_control_path" cty:"extension_control_path"`
33+ DynamicLibraryPath []string `hcl:"dynamic_library_path" cty:"dynamic_library_path"`
34+ LdLibraryPath []string `hcl:"ld_library_path" cty:"ld_library_path"`
35+ BinPath []string `hcl:"bin_path" cty:"bin_path"`
36+ Env map [string ]string `hcl:"env" cty:"env"`
37+ AutoUpdateOsLibs bool `hcl:"auto_update_os_libs" cty:"auto_update_os_libs"`
38+ RequiredExtensions []string `hcl:"required_extensions" cty:"required_extensions"`
39+ CreateExtension bool `hcl:"create_extension" cty:"create_extension"`
40+ Versions versionMap `hcl:"versions" cty:"versions"`
41+ Remain hcl.Body `hcl:",remain"`
4142}
4243
4344const (
0 commit comments