docs: collect mongo-ops lib (mkdocstrings) + wiki into separate site subpaths, fix mcp server name, expose port 8007
- mongo-ops now serves /mongo-ops/wiki/ and /mongo-ops/lib/ independently - add mongo-ops MCP bundle under mcp/mongo-ops - fix copy-paste mcp server (jwtlib -> mongo_ops) in config.yml - .drone.yml/Dockerfile: publish port 8007 for mongo-ops MCP
This commit is contained in:
190
mcp/mongo-ops/modules/mongo_ops.cache.backend.json
Normal file
190
mcp/mongo-ops/modules/mongo_ops.cache.backend.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"module": "mongo_ops.cache.backend",
|
||||
"content": {
|
||||
"path": "mongo_ops.cache.backend",
|
||||
"docstring": "Cache backend abstraction.",
|
||||
"objects": {
|
||||
"ABC": {
|
||||
"name": "ABC",
|
||||
"kind": "alias",
|
||||
"path": "mongo_ops.cache.backend.ABC",
|
||||
"signature": "<bound method Alias.signature of Alias('ABC', 'abc.ABC')>",
|
||||
"docstring": null
|
||||
},
|
||||
"abstractmethod": {
|
||||
"name": "abstractmethod",
|
||||
"kind": "alias",
|
||||
"path": "mongo_ops.cache.backend.abstractmethod",
|
||||
"signature": "<bound method Alias.signature of Alias('abstractmethod', 'abc.abstractmethod')>",
|
||||
"docstring": null
|
||||
},
|
||||
"dataclass": {
|
||||
"name": "dataclass",
|
||||
"kind": "alias",
|
||||
"path": "mongo_ops.cache.backend.dataclass",
|
||||
"signature": "<bound method Alias.signature of Alias('dataclass', 'dataclasses.dataclass')>",
|
||||
"docstring": null
|
||||
},
|
||||
"Optional": {
|
||||
"name": "Optional",
|
||||
"kind": "alias",
|
||||
"path": "mongo_ops.cache.backend.Optional",
|
||||
"signature": "<bound method Alias.signature of Alias('Optional', 'typing.Optional')>",
|
||||
"docstring": null
|
||||
},
|
||||
"ObjectId": {
|
||||
"name": "ObjectId",
|
||||
"kind": "alias",
|
||||
"path": "mongo_ops.cache.backend.ObjectId",
|
||||
"signature": "<bound method Alias.signature of Alias('ObjectId', 'bson.ObjectId')>",
|
||||
"docstring": null
|
||||
},
|
||||
"CacheStats": {
|
||||
"name": "CacheStats",
|
||||
"kind": "class",
|
||||
"path": "mongo_ops.cache.backend.CacheStats",
|
||||
"signature": "<bound method Class.signature of Class('CacheStats', 9, 16)>",
|
||||
"docstring": null,
|
||||
"members": {
|
||||
"hits": {
|
||||
"name": "hits",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.hits",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"misses": {
|
||||
"name": "misses",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.misses",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"sets": {
|
||||
"name": "sets",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.sets",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"deletes": {
|
||||
"name": "deletes",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.deletes",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"current_size": {
|
||||
"name": "current_size",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.current_size",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"max_size": {
|
||||
"name": "max_size",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CacheStats.max_size",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"CircularReferenceError": {
|
||||
"name": "CircularReferenceError",
|
||||
"kind": "class",
|
||||
"path": "mongo_ops.cache.backend.CircularReferenceError",
|
||||
"signature": "<bound method Class.signature of Class('CircularReferenceError', 19, 24)>",
|
||||
"docstring": null,
|
||||
"members": {
|
||||
"collection": {
|
||||
"name": "collection",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CircularReferenceError.collection",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"doc_id": {
|
||||
"name": "doc_id",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CircularReferenceError.doc_id",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
},
|
||||
"path": {
|
||||
"name": "path",
|
||||
"kind": "attribute",
|
||||
"path": "mongo_ops.cache.backend.CircularReferenceError.path",
|
||||
"signature": null,
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"CacheBackend": {
|
||||
"name": "CacheBackend",
|
||||
"kind": "class",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend",
|
||||
"signature": "<bound method Class.signature of Class('CacheBackend', 27, 58)>",
|
||||
"docstring": null,
|
||||
"members": {
|
||||
"get": {
|
||||
"name": "get",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.get",
|
||||
"signature": "<bound method Function.signature of Function('get', 28, 30)>",
|
||||
"docstring": null
|
||||
},
|
||||
"set": {
|
||||
"name": "set",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.set",
|
||||
"signature": "<bound method Function.signature of Function('set', 32, 34)>",
|
||||
"docstring": null
|
||||
},
|
||||
"delete": {
|
||||
"name": "delete",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.delete",
|
||||
"signature": "<bound method Function.signature of Function('delete', 36, 38)>",
|
||||
"docstring": null
|
||||
},
|
||||
"exists": {
|
||||
"name": "exists",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.exists",
|
||||
"signature": "<bound method Function.signature of Function('exists', 40, 42)>",
|
||||
"docstring": null
|
||||
},
|
||||
"clear_pattern": {
|
||||
"name": "clear_pattern",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.clear_pattern",
|
||||
"signature": "<bound method Function.signature of Function('clear_pattern', 44, 46)>",
|
||||
"docstring": null
|
||||
},
|
||||
"get_stats": {
|
||||
"name": "get_stats",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.get_stats",
|
||||
"signature": "<bound method Function.signature of Function('get_stats', 48, 50)>",
|
||||
"docstring": null
|
||||
},
|
||||
"initialize": {
|
||||
"name": "initialize",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.initialize",
|
||||
"signature": "<bound method Function.signature of Function('initialize', 52, 54)>",
|
||||
"docstring": null
|
||||
},
|
||||
"shutdown": {
|
||||
"name": "shutdown",
|
||||
"kind": "function",
|
||||
"path": "mongo_ops.cache.backend.CacheBackend.shutdown",
|
||||
"signature": "<bound method Function.signature of Function('shutdown', 56, 58)>",
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user