(c *gin.Context)
| 822 | "metadata_store_endpoint", |
| 823 | "metadata_store_port", |
| 824 | "metadata_store_database_name", |
| 825 | "metadata_store_username", |
| 826 | "pgbouncer_enabled", |
| 827 | "s3_provider", |
| 828 | "s3_region", |
| 829 | "s3_bucket", |
| 830 | "s3_path_prefix", |
| 831 | "s3_endpoint", |
| 832 | "s3_use_ssl", |
| 833 | "s3_url_style", |
| 834 | "s3_delta_catalog_enabled", |
| 835 | "s3_delta_catalog_path", |
| 836 | "worker_identity_namespace", |
| 837 | "worker_identity_iam_role_arn", |
| 838 | "warehouse_database_credentials_namespace", |
| 839 | "warehouse_database_credentials_name", |
| 840 | "warehouse_database_credentials_key", |
| 841 | "metadata_store_credentials_namespace", |
| 842 | "metadata_store_credentials_name", |
| 843 | "metadata_store_credentials_key", |
| 844 | "s3_credentials_namespace", |
| 845 | "s3_credentials_name", |
| 846 | "s3_credentials_key", |
| 847 | "runtime_config_namespace", |
| 848 | "runtime_config_name", |
| 849 | "runtime_config_key", |
| 850 | "state", |
| 851 | "status_message", |
| 852 | "metadata_store_state", |
| 853 | "s3_state", |
| 854 | "identity_state", |
| 855 | "secrets_state", |
| 856 | "ready_at", |
| 857 | "failed_at", |
| 858 | "updated_at", |
| 859 | } |
| 860 | } |
| 861 | |
| 862 | type apiHandler struct { |
| 863 | store apiStore |
| 864 | info OrgStackInfo |
| 865 | fetcher PeerFetcher // nil = no cross-CP aggregation (single-CP or tests) |
| 866 | } |
| 867 | |
| 868 | // managedWarehouseRequest is the whitelist of fields a caller may set on the |
| 869 | // PUT endpoint. It's only used for strict decode (DisallowUnknownFields) — the |
| 870 | // actual merge is performed by json.Unmarshal directly onto a ManagedWarehouse |
| 871 | // (see putManagedWarehouse). For that to work, every `json:` tag here must |
| 872 | // match the corresponding `json:` tag on configstore.ManagedWarehouse. If you |
| 873 | // add a field here without a matching tag on ManagedWarehouse, strict decode |
| 874 | // will accept it and the merge will silently drop it. |
| 875 | type managedWarehouseRequest struct { |
| 876 | Image string `json:"image"` |
| 877 | DuckLakeVersion string `json:"ducklake_version"` |
| 878 | MetadataProxyEnabled bool `json:"metadata_proxy_enabled"` |
| 879 | DucklingName string `json:"duckling_name"` |
| 880 | WarehouseDatabase configstore.ManagedWarehouseDatabase `json:"warehouse_database"` |
| 881 | MetadataStore configstore.ManagedWarehouseMetadataStore `json:"metadata_store"` |
nothing calls this directly
no test coverage detected