@@ -177,7 +177,7 @@ tracing:
177177
178178storage :
179179 # Backend storage to use. Supported backends are: s3, gcs, azure, swift,
180- # filesystem.
180+ # filesystem, cos .
181181 # CLI flag: -storage.backend
182182 [backend : <string> | default = "filesystem"]
183183
@@ -197,6 +197,69 @@ storage:
197197 # Object Storage (Swift) object storage backend.
198198 [swift : <swift_storage_backend>]
199199
200+ cos :
201+ # COS bucket name
202+ # CLI flag: -storage.cos.bucket
203+ [bucket : <string> | default = ""]
204+
205+ # COS region name
206+ # CLI flag: -storage.cos.region
207+ [region : <string> | default = ""]
208+
209+ # COS app id
210+ # CLI flag: -storage.cos.app-id
211+ [app_id : <string> | default = ""]
212+
213+ # COS storage endpoint
214+ # CLI flag: -storage.cos.endpoint
215+ [endpoint : <string> | default = ""]
216+
217+ # COS secret key
218+ # CLI flag: -storage.cos.secret-key
219+ [secret_key : <string> | default = ""]
220+
221+ # COS secret id
222+ # CLI flag: -storage.cos.secret-id
223+ [secret_id : <string> | default = ""]
224+
225+ http :
226+ # The time an idle connection will remain idle before closing.
227+ # CLI flag: -storage.cos.http.idle-conn-timeout
228+ [idle_conn_timeout : <duration> | default = 1m30s]
229+
230+ # The amount of time the client will wait for a servers response headers.
231+ # CLI flag: -storage.cos.http.response-header-timeout
232+ [response_header_timeout : <duration> | default = 2m]
233+
234+ # If the client connects to COS via HTTPS and this option is enabled, the
235+ # client will accept any certificate and hostname.
236+ # CLI flag: -storage.cos.http.insecure-skip-verify
237+ [insecure_skip_verify : <boolean> | default = false]
238+
239+ # Maximum time to wait for a TLS handshake. 0 means no limit.
240+ # CLI flag: -storage.cos.tls-handshake-timeout
241+ [tls_handshake_timeout : <duration> | default = 10s]
242+
243+ # The time to wait for a server's first response headers after fully
244+ # writing the request headers if the request has an Expect header. 0 to
245+ # send the request body immediately.
246+ # CLI flag: -storage.cos.expect-continue-timeout
247+ [expect_continue_timeout : <duration> | default = 1s]
248+
249+ # Maximum number of idle (keep-alive) connections across all hosts. 0
250+ # means no limit.
251+ # CLI flag: -storage.cos.max-idle-connections
252+ [max_idle_connections : <int> | default = 100]
253+
254+ # Maximum number of idle (keep-alive) connections to keep per-host. If 0,
255+ # a built-in default value is used.
256+ # CLI flag: -storage.cos.max-idle-connections-per-host
257+ [max_idle_connections_per_host : <int> | default = 100]
258+
259+ # Maximum number of connections per host. 0 means no limit.
260+ # CLI flag: -storage.cos.max-connections-per-host
261+ [max_connections_per_host : <int> | default = 0]
262+
200263 # The filesystem_storage_backend block configures the usage of local file
201264 # system as object storage backend.
202265 [filesystem : <filesystem_storage_backend>]
0 commit comments