File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,6 +282,10 @@ gcs_publish_endpoints:
282282 # # Project (optional)
283283 # # Quota project used for GCS requests
284284 # project: ""
285+ # # Endpoint (optional)
286+ # # Override the GCS endpoint (e.g. for staging or a fake server);
287+ # # leave empty to use the default GCS endpoint
288+ # endpoint: ""
285289 # # Default ACLs (optional)
286290 # # assign ACL to published files:
287291 # # * private (default)
Original file line number Diff line number Diff line change @@ -282,6 +282,10 @@ gcs_publish_endpoints:
282282 # # Project (optional)
283283 # # Quota project used for GCS requests
284284 # project: ""
285+ # # Endpoint (optional)
286+ # # Override the GCS endpoint (e.g. for staging or a fake server);
287+ # # leave empty to use the default GCS endpoint
288+ # endpoint: ""
285289 # # Default ACLs (optional)
286290 # # assign ACL to published files:
287291 # # * private (default)
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
141141 " \" credentialsFile\" : \" \" ,\n " +
142142 " \" serviceAccountJSON\" : \" \" ,\n " +
143143 " \" project\" : \" \" ,\n " +
144+ " \" endpoint\" : \" \" ,\n " +
144145 " \" acl\" : \" \" ,\n " +
145146 " \" storageClass\" : \" \" ,\n " +
146147 " \" encryptionKey\" : \" \" ,\n " +
@@ -374,6 +375,7 @@ gcs_publish_endpoints:
374375 credentials_file: /tmp/creds.json
375376 service_account_json: '{"type":"service_account"}'
376377 project: test-project
378+ endpoint: ""
377379 acl: public-read
378380 storage_class: STANDARD
379381 encryption_key: "12345678901234567890123456789012"
You can’t perform that action at this time.
0 commit comments