@openshift-console/dynamic-plugin-sdk
Version:
Based on the concept of [webpack module federation](https://webpack.js.org/concepts/module-federation/), dynamic plugins are loaded and interpreted from remote sources at runtime. The standard way to deliver and expose dynamic plugins to Console is throug
23 lines • 784 B
JavaScript
// Type guards
export const isDetailsTab = (e) => {
return e.type === 'console.topology/details/tab';
};
export const isDetailsTabSection = (e) => {
return e.type === 'console.topology/details/tab-section';
};
export const isDetailsResourceLink = (e) => {
return e.type === 'console.topology/details/resource-link';
};
export const isDetailsResourceAlert = (e) => {
return e.type === 'console.topology/details/resource-alert';
};
export const isPodAdapter = (e) => {
return e.type === 'console.topology/adapter/pod';
};
export const isBuildAdapter = (e) => {
return e.type === 'console.topology/adapter/build';
};
export const isNetworkAdapter = (e) => {
return e.type === 'console.topology/adapter/network';
};
//# sourceMappingURL=topology-details.js.map