mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add mutatingWebhookConfigurationsRouteComponentInjectable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
66252f068d
commit
afd7413849
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import {
|
||||
routeSpecificComponentInjectionToken,
|
||||
} from "../../routes/route-specific-component-injection-token";
|
||||
import mutatingWebhookConfigurationsRouteInjectable
|
||||
from "../../../common/front-end-routing/routes/cluster/config/mutating-webhook-configurations/mutating-webhook-configurations-route.injectable";
|
||||
import { MutatingWebhookConfigurations } from "./mutating-webhook-configurations";
|
||||
|
||||
const mutatingWebhookConfigurationsRouteComponentInjectable = getInjectable({
|
||||
id: "mutating-webhook-configuration-route-component",
|
||||
|
||||
instantiate: (di) => ({
|
||||
route: di.inject(mutatingWebhookConfigurationsRouteInjectable),
|
||||
Component: MutatingWebhookConfigurations,
|
||||
}),
|
||||
|
||||
injectionToken: routeSpecificComponentInjectionToken,
|
||||
});
|
||||
|
||||
export default mutatingWebhookConfigurationsRouteComponentInjectable;
|
||||
Loading…
Reference in New Issue
Block a user