* Stop tracking line numbers * Updated api docs * Fix type error and update tests * wrap label in encodeURIComponent for the links * Update docs after encodeUriComponent change # Conflicts: # api_docs/apm.json # api_docs/canvas.json # api_docs/core.json # api_docs/core_saved_objects.json # api_docs/data.json # api_docs/data.mdx # api_docs/data_autocomplete.mdx # api_docs/data_field_formats.json # api_docs/data_field_formats.mdx # api_docs/data_index_patterns.json # api_docs/data_index_patterns.mdx # api_docs/data_query.mdx # api_docs/data_search.json # api_docs/data_search.mdx # api_docs/data_ui.mdx # api_docs/deprecations_by_api.mdx # api_docs/deprecations_by_plugin.mdx # api_docs/home.json # api_docs/lens.json # api_docs/monitoring.json # api_docs/presentation_util.json # api_docs/security.json # api_docs/security_solution.json # api_docs/timelines.json
401 lines
12 KiB
JSON
401 lines
12 KiB
JSON
{
|
|
"id": "infra",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.LazyLogStreamWrapper",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "LazyLogStreamWrapper",
|
|
"description": [],
|
|
"signature": [
|
|
"(props: React.PropsWithChildren<",
|
|
{
|
|
"pluginId": "infra",
|
|
"scope": "public",
|
|
"docId": "kibInfraPluginApi",
|
|
"section": "def-public.LogStreamProps",
|
|
"text": "LogStreamProps"
|
|
},
|
|
">) => JSX.Element"
|
|
],
|
|
"path": "x-pack/plugins/infra/public/components/log_stream/lazy_log_stream_wrapper.tsx",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.LazyLogStreamWrapper.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "props",
|
|
"description": [],
|
|
"signature": [
|
|
"React.PropsWithChildren<",
|
|
{
|
|
"pluginId": "infra",
|
|
"scope": "public",
|
|
"docId": "kibInfraPluginApi",
|
|
"section": "def-public.LogStreamProps",
|
|
"text": "LogStreamProps"
|
|
},
|
|
">"
|
|
],
|
|
"path": "x-pack/plugins/infra/public/components/log_stream/lazy_log_stream_wrapper.tsx",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.LogStreamProps",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LogStreamProps",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "infra",
|
|
"scope": "public",
|
|
"docId": "kibInfraPluginApi",
|
|
"section": "def-public.LogStreamProps",
|
|
"text": "LogStreamProps"
|
|
},
|
|
" extends LogStreamContentProps"
|
|
],
|
|
"path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.LogStreamProps.height",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "height",
|
|
"description": [],
|
|
"signature": [
|
|
"string | number | undefined"
|
|
],
|
|
"path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.InfraFormatterType",
|
|
"type": "Enum",
|
|
"tags": [],
|
|
"label": "InfraFormatterType",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/public/lib/lib.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.InfraAppId",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "InfraAppId",
|
|
"description": [],
|
|
"signature": [
|
|
"\"metrics\" | \"logs\""
|
|
],
|
|
"path": "x-pack/plugins/infra/public/index.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "FORMATTERS",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.number",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "number",
|
|
"description": [],
|
|
"signature": [
|
|
"(val: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.val",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "val",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/number.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.abbreviatedNumber",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "abbreviatedNumber",
|
|
"description": [
|
|
"// Because the implimentation for formatting large numbers is the same as formatting\n// bytes we are re-using the same code, we just format the number using the abbreviated number format."
|
|
],
|
|
"signature": [
|
|
"(bytes: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.bytes",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "bytes",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/bytes.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.bytes",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "bytes",
|
|
"description": [
|
|
"// bytes in bytes formatted string out"
|
|
],
|
|
"signature": [
|
|
"(bytes: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.bytes",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "bytes",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/bytes.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.bits",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "bits",
|
|
"description": [
|
|
"// bytes in bits formatted string out"
|
|
],
|
|
"signature": [
|
|
"(bytes: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.bytes",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "bytes",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/bytes.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.percent",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "percent",
|
|
"description": [],
|
|
"signature": [
|
|
"(val: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.val",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "val",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/percent.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.FORMATTERS.highPercision",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "highPercision",
|
|
"description": [],
|
|
"signature": [
|
|
"(val: number) => string"
|
|
],
|
|
"path": "x-pack/plugins/infra/common/formatters/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-public.val",
|
|
"type": "number",
|
|
"tags": [],
|
|
"label": "val",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/common/formatters/high_precision.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
]
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.InfraConfig",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "InfraConfig",
|
|
"description": [],
|
|
"signature": [
|
|
"{ readonly sources?: Readonly<{ default?: Readonly<{ fields?: Readonly<{ host?: string | undefined; message?: string[] | undefined; container?: string | undefined; timestamp?: string | undefined; tiebreaker?: string | undefined; pod?: string | undefined; } & {}> | undefined; logAlias?: string | undefined; metricAlias?: string | undefined; } & {}> | undefined; } & {}> | undefined; readonly enabled: boolean; readonly inventory: Readonly<{} & { compositeSize: number; }>; }"
|
|
],
|
|
"path": "x-pack/plugins/infra/server/plugin.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.InfraRequestHandlerContext",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "InfraRequestHandlerContext",
|
|
"description": [],
|
|
"signature": [
|
|
"InfraMlRequestHandlerContext",
|
|
" & ",
|
|
"InfraSpacesRequestHandlerContext"
|
|
],
|
|
"path": "x-pack/plugins/infra/server/types.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"setup": {
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.InfraPluginSetup",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "InfraPluginSetup",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/server/plugin.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.InfraPluginSetup.defineInternalSourceConfiguration",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "defineInternalSourceConfiguration",
|
|
"description": [],
|
|
"signature": [
|
|
"(sourceId: string, sourceProperties: ",
|
|
"InfraStaticSourceConfiguration",
|
|
") => void"
|
|
],
|
|
"path": "x-pack/plugins/infra/server/plugin.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.sourceId",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "sourceId",
|
|
"description": [],
|
|
"path": "x-pack/plugins/infra/server/plugin.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "infra",
|
|
"id": "def-server.sourceProperties",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "sourceProperties",
|
|
"description": [],
|
|
"signature": [
|
|
"InfraStaticSourceConfiguration"
|
|
],
|
|
"path": "x-pack/plugins/infra/server/plugin.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"lifecycle": "setup",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |