kibana/x-pack/plugins/infra/server/index.ts
Chris Cowan 0b9c9b7039
[Stack Monitoring] Limit alert creation to allowed spaces (#99128)
* [Stack Monitoring] Limit alert creation to allowed spaces

* Fixing type issue

* Fixing snapshot for test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-04 14:26:05 -07:00

17 lines
608 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { PluginInitializerContext } from 'src/core/server';
import { config, InfraConfig, InfraServerPlugin, InfraPluginSetup } from './plugin';
export { config, InfraConfig, InfraPluginSetup };
export { InfraRequestHandlerContext } from './types';
export function plugin(context: PluginInitializerContext) {
return new InfraServerPlugin(context);
}