This repository was archived by the owner on Sep 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,3 @@ Pretty much:
103
103
104
104
Drivers are expected to receive bytes and to return bytes.
105
105
Don't try to decode or encode content.
106
-
107
- ## API documentation
108
-
109
- [ search-endpoint] :
110
- http://docs.docker.io/en/latest/reference/api/index_api/#get--v1-search
111
- [ SQLAlchemy ] : http://docs.sqlalchemy.org/
112
- [ create_engine] :
113
- http://docs.sqlalchemy.org/en/latest/core/engines.html#sqlalchemy.create_engine
Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ returns empty results.
209
209
Currently supported backends are:
210
210
1. `sqlalchemy`
211
211
212
-
213
212
If `search_backend` is neither empty nor one of the supported backends, it
214
213
should point to a module.
215
214
@@ -222,7 +221,10 @@ common:
222
221
223
222
#### sqlalchemy
224
223
225
- 1 . ` sqlalchemy_index_database ` : The database URL
224
+ Use [ SQLAlchemy] [ ] as the search backend.
225
+
226
+ 1 . ` sqlalchemy_index_database ` : The database URL passed through to
227
+ [ create_engine] [ ] .
226
228
227
229
Example:
228
230
@@ -232,7 +234,6 @@ common:
232
234
sqlalchemy_index_database : sqlite:////tmp/docker-registry.db
233
235
` ` `
234
236
235
-
236
237
In this case, the module is imported, and an instance of it's ` Index`
237
238
class is used as the search backend.
238
239
@@ -494,3 +495,8 @@ For developers
494
495
--------------
495
496
496
497
Read CONTRIBUTE.md
498
+
499
+ [search-endpoint]: http://docs.docker.com/reference/api/docker-io_api/#search
500
+ [SQLAlchemy]: http://docs.sqlalchemy.org/
501
+ [create_engine]:
502
+ http://docs.sqlalchemy.org/en/latest/core/engines.html#sqlalchemy.create_engine
You can’t perform that action at this time.
0 commit comments