Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.31 KB

kibana-plugin-core-server.coresetup.md

File metadata and controls

33 lines (23 loc) · 2.31 KB

Home > kibana-plugin-core-server > CoreSetup

CoreSetup interface

Context passed to the plugins setup method.

Signature:

export interface CoreSetup<TPluginsStart extends object = object> 

Properties

Property Type Description
capabilities CapabilitiesSetup CapabilitiesSetup
context ContextSetup ContextSetup
elasticsearch ElasticsearchServiceSetup ElasticsearchServiceSetup
http HttpServiceSetup HttpServiceSetup
metrics MetricsServiceSetup MetricsServiceSetup
savedObjects SavedObjectsServiceSetup SavedObjectsServiceSetup
uiSettings UiSettingsServiceSetup UiSettingsServiceSetup
uuid UuidServiceSetup UuidServiceSetup

Methods

Method Description
getStartServices() Allows plugins to get access to APIs available in start inside async handlers. Promise will not resolve until Core and plugin dependencies have completed start. This should only be used inside handlers registered during setup that will only be executed after start lifecycle.