Add svc and fn to return saved object types in a given index, defaulted to ".kibana" index.
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
import { DeploymentService } from './deployment';
|
|
import { LegacyEsProvider } from './legacy_es';
|
|
import { ElasticsearchProvider } from './elasticsearch';
|
|
import { EsArchiverProvider } from './es_archiver';
|
|
import { KibanaServerProvider } from './kibana_server';
|
|
import { RetryService } from './retry';
|
|
import { RandomnessService } from './randomness';
|
|
import { SecurityServiceProvider } from './security';
|
|
import { EsDeleteAllIndicesProvider } from './es_delete_all_indices';
|
|
import { SavedObjectInfoProvider } from './saved_object_info';
|
|
|
|
export const services = {
|
|
deployment: DeploymentService,
|
|
legacyEs: LegacyEsProvider,
|
|
es: ElasticsearchProvider,
|
|
esArchiver: EsArchiverProvider,
|
|
kibanaServer: KibanaServerProvider,
|
|
retry: RetryService,
|
|
randomness: RandomnessService,
|
|
security: SecurityServiceProvider,
|
|
esDeleteAllIndices: EsDeleteAllIndicesProvider,
|
|
savedObjectInfo: SavedObjectInfoProvider,
|
|
};
|