kibana/api_docs/kbn_ml_route_utils.devdocs.json

119 lines
No EOL
3.6 KiB
JSON

{
"id": "@kbn/ml-route-utils",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/ml-route-utils",
"id": "def-common.createExecutionContext",
"type": "Function",
"tags": [],
"label": "createExecutionContext",
"description": [
"\nCreates an execution context to be passed on as part of ES queries.\nThis allows you to identify the source triggering a request when debugging slow logs.\n"
],
"signature": [
"(coreStart: ",
"CoreStart",
", name: string, id: string | undefined, type: string) => ",
"KibanaExecutionContext"
],
"path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/ml-route-utils",
"id": "def-common.createExecutionContext.$1",
"type": "Object",
"tags": [],
"label": "coreStart",
"description": [
"Kibana CoreStart"
],
"signature": [
"CoreStart"
],
"path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/ml-route-utils",
"id": "def-common.createExecutionContext.$2",
"type": "string",
"tags": [],
"label": "name",
"description": [
"Context name, usually the plugin id"
],
"signature": [
"string"
],
"path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
},
{
"parentPluginId": "@kbn/ml-route-utils",
"id": "def-common.createExecutionContext.$3",
"type": "string",
"tags": [],
"label": "id",
"description": [
"Optional context id, can be used to override the default usage of page as id"
],
"signature": [
"string | undefined"
],
"path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": false
},
{
"parentPluginId": "@kbn/ml-route-utils",
"id": "def-common.createExecutionContext.$4",
"type": "string",
"tags": [],
"label": "type",
"description": [
"Optional context type, defaults to `application`."
],
"signature": [
"string"
],
"path": "x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}