Skip to content

@k8slens/extensions / Exports / Common / Catalog / CatalogCategoryEvents

Interface: CatalogCategoryEvents#

Common.Catalog.CatalogCategoryEvents

Table of contents#

Properties#

Properties#

catalogAddMenu#

catalogAddMenu: (context: CatalogEntityAddMenuContext) => void

Type declaration#

▸ (context): void

This event will be emitted when the catalog add menu is opened and is the way to added entries to that menu.

Parameters#
Name Type
context CatalogEntityAddMenuContext
Returns#

void


contextMenuOpen#

contextMenuOpen: (entity: CatalogEntity<CatalogEntityMetadata, CatalogEntityStatus, CatalogEntitySpec>, context: CatalogEntityContextMenuContext) => void

Type declaration#

▸ (entity, context): void

This event will be emitted when the context menu for an entity is declared by this category is opened.

Parameters#
Name Type
entity CatalogEntity<CatalogEntityMetadata, CatalogEntityStatus, CatalogEntitySpec>
context CatalogEntityContextMenuContext
Returns#

void


load#

load: () => void

Type declaration#

▸ (): void

This event will be emitted when the category is loaded in the catalog view.

Returns#

void