seaweedfs/weed/command
vadimartynov 86d92a42b4
Added tls for http clients (#5766)
* Added global http client

* Added Do func for global http client

* Changed the code to use the global http client

* Fix http client in volume uploader

* Fixed pkg name

* Fixed http util funcs

* Fixed http client for bench_filer_upload

* Fixed http client for stress_filer_upload

* Fixed http client for filer_server_handlers_proxy

* Fixed http client for command_fs_merge_volumes

* Fixed http client for command_fs_merge_volumes and command_volume_fsck

* Fixed http client for s3api_server

* Added init global client for main funcs

* Rename global_client to client

* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold

* Reduce the visibility of some functions in the util/http/client pkg

* Added the loadSecurityConfig function

* Use util.LoadSecurityConfiguration() in NewHttpClient func
2024-07-16 23:14:09 -07:00
..
scaffold Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
autocomplete.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
backup.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
benchmark.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
command.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
compact.go Document default method used by compact (#5379) 2024-03-15 12:16:44 -07:00
download.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
export.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_backup.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_cat.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_copy.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
filer_meta_backup.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_meta_tail_elastic.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_meta_tail_non_elastic.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_meta_tail.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_remote_gateway_buckets.go ensure metadata follow a specific folder 2024-07-12 11:17:30 -07:00
filer_remote_gateway.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_remote_sync_dir.go ensure metadata follow a specific folder 2024-07-12 11:17:30 -07:00
filer_remote_sync.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_replication.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
filer_sync_jobs.go Fix filer sync set offset (#5197) 2024-01-12 10:57:18 -08:00
filer_sync_std.go go fmt 2021-09-01 02:45:42 -07:00
filer_sync_windows.go filer.backup: escape colon from path on windows 2021-05-29 06:45:27 -07:00
filer_sync.go minor 2024-07-16 09:21:01 -07:00
filer.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
fix.go fix: recreate index include deleted files (#5579) 2024-05-12 11:31:34 -07:00
fuse.go renaming 2023-08-16 23:47:43 -07:00
iam.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
imports.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
master_follower.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
master.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
mount_darwin.go remove dead code 2022-02-27 03:03:19 -08:00
mount_linux.go add more logs 2022-08-31 23:16:05 -07:00
mount_notsupported.go remove dead code 2022-02-27 03:03:19 -08:00
mount_std.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
mount.go renaming 2023-08-16 23:47:43 -07:00
mq_broker.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
s3.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
scaffold_test.go fix test 2019-11-28 18:44:27 -08:00
scaffold.go chore: fix typos in scaffold help output (#5211) 2024-01-17 07:10:17 -08:00
server.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
shell.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
update_full.go go fmt 2022-09-14 23:06:44 -07:00
update.go Added tls for http clients (#5766) 2024-07-16 23:14:09 -07:00
upload.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
version.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
volume.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00
webdav.go Added loadSecurityConfigOnce (#5792) 2024-07-16 09:15:55 -07:00