Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saarikabhasi authored Oct 3, 2024
1 parent e4b7557 commit 936f19d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/index_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ This service is exposed from the Index Management setup contract and can be used
- `addToggle(toggle: any)`: adds a toggle to the indices list, for example to display hidden indices
- `addColumn(column: IndicesListColumn)`: adds a column to the indices list, for example to display an ILM phase
- `setEmptyListContent(content: EmptyListContent)`: replaces the default empty prompt displayed when there are no indices in the indices list. The empty list content has the following interface:

```ts
export interface EmptyListContent {
renderContent: (args: {
createIndexButton: ReturnType<FunctionComponent>;
}) => ReturnType<FunctionComponent>;
}
```
- `setIndexDetailsPageRoute`: registers a new route for index details page in indices list table. for example for serverless search users, the indices list page index is navigated to search_indices index detail page


#### Extensions to the indices list and the index details page
- `addAction(action: any)`: adds an option to the "manage index" menu, for example to add an ILM policy to the index
Expand Down

0 comments on commit 936f19d

Please sign in to comment.