-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into warning-banner
- Loading branch information
Showing
484 changed files
with
9,096 additions
and
3,557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
on: | ||
pull_request_target: | ||
branches: | ||
- master | ||
types: | ||
- labeled | ||
- closed | ||
|
||
jobs: | ||
backport: | ||
name: Backport PR | ||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'auto-backport') | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'Get backport config' | ||
run: | | ||
curl 'https://raw.githubusercontent.com/elastic/kibana/master/.backportrc.json' > .backportrc.json | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Install backport CLI | ||
run: npm install -g backport@5.6.4 | ||
|
||
- name: Backport PR | ||
run: | | ||
git config --global user.name "kibanamachine" | ||
git config --global user.email "42973632+kibanamachine@users.noreply.github.com" | ||
backport --fork true --username kibanamachine --accessToken "${{ secrets.KIBANAMACHINE_TOKEN }}" --ci --pr "$PR_NUMBER" --labels backport --assignee "$PR_OWNER" | tee 'output.log' | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
PR_OWNER: ${{ github.event.pull_request.user.login }} | ||
|
||
- name: Report backport status | ||
run: | | ||
COMMENT="Backport result | ||
\`\`\` | ||
$(cat output.log) | ||
\`\`\`" | ||
GITHUB_TOKEN="${{ secrets.KIBANAMACHINE_TOKEN }}" gh api -X POST repos/elastic/kibana/issues/$PR_NUMBER/comments -F body="$COMMENT" | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
docs/development/core/public/kibana-plugin-core-public.asyncplugin.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AsyncPlugin](./kibana-plugin-core-public.asyncplugin.md) | ||
|
||
## AsyncPlugin interface | ||
|
||
> Warning: This API is now obsolete. | ||
> | ||
> Asynchronous lifecycles are deprecated, and should be migrated to sync [plugin](./kibana-plugin-core-public.plugin.md) | ||
> | ||
A plugin with asynchronous lifecycle methods. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface AsyncPlugin<TSetup = void, TStart = void, TPluginsSetup extends object = object, TPluginsStart extends object = object> | ||
``` | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [setup(core, plugins)](./kibana-plugin-core-public.asyncplugin.setup.md) | | | ||
| [start(core, plugins)](./kibana-plugin-core-public.asyncplugin.start.md) | | | ||
| [stop()](./kibana-plugin-core-public.asyncplugin.stop.md) | | | ||
|
23 changes: 23 additions & 0 deletions
23
docs/development/core/public/kibana-plugin-core-public.asyncplugin.setup.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AsyncPlugin](./kibana-plugin-core-public.asyncplugin.md) > [setup](./kibana-plugin-core-public.asyncplugin.setup.md) | ||
|
||
## AsyncPlugin.setup() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setup(core: CoreSetup<TPluginsStart, TStart>, plugins: TPluginsSetup): TSetup | Promise<TSetup>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| core | <code>CoreSetup<TPluginsStart, TStart></code> | | | ||
| plugins | <code>TPluginsSetup</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`TSetup | Promise<TSetup>` | ||
|
23 changes: 23 additions & 0 deletions
23
docs/development/core/public/kibana-plugin-core-public.asyncplugin.start.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AsyncPlugin](./kibana-plugin-core-public.asyncplugin.md) > [start](./kibana-plugin-core-public.asyncplugin.start.md) | ||
|
||
## AsyncPlugin.start() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
start(core: CoreStart, plugins: TPluginsStart): TStart | Promise<TStart>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| core | <code>CoreStart</code> | | | ||
| plugins | <code>TPluginsStart</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`TStart | Promise<TStart>` | ||
|
15 changes: 15 additions & 0 deletions
15
docs/development/core/public/kibana-plugin-core-public.asyncplugin.stop.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AsyncPlugin](./kibana-plugin-core-public.asyncplugin.md) > [stop](./kibana-plugin-core-public.asyncplugin.stop.md) | ||
|
||
## AsyncPlugin.stop() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
stop?(): void; | ||
``` | ||
<b>Returns:</b> | ||
`void` | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
docs/development/core/server/kibana-plugin-core-server.asyncplugin.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [AsyncPlugin](./kibana-plugin-core-server.asyncplugin.md) | ||
|
||
## AsyncPlugin interface | ||
|
||
> Warning: This API is now obsolete. | ||
> | ||
> Asynchronous lifecycles are deprecated, and should be migrated to sync [plugin](./kibana-plugin-core-server.plugin.md) | ||
> | ||
A plugin with asynchronous lifecycle methods. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface AsyncPlugin<TSetup = void, TStart = void, TPluginsSetup extends object = object, TPluginsStart extends object = object> | ||
``` | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [setup(core, plugins)](./kibana-plugin-core-server.asyncplugin.setup.md) | | | ||
| [start(core, plugins)](./kibana-plugin-core-server.asyncplugin.start.md) | | | ||
| [stop()](./kibana-plugin-core-server.asyncplugin.stop.md) | | | ||
|
Oops, something went wrong.