@k8slens/extensions / Exports / Main / Catalog / CatalogEntityRegistry
Interface: CatalogEntityRegistry#
Main.Catalog.CatalogEntityRegistry
Table of contents#
Methods#
Methods#
getItemsForApiKind#
▸ getItemsForApiKind(apiVersion
, kind
): CatalogEntity
<CatalogEntityMetadata
, CatalogEntityStatus
, CatalogEntitySpec
>[]
Parameters#
Name | Type |
---|---|
apiVersion |
string |
kind |
string |
Returns#
CatalogEntity
<CatalogEntityMetadata
, CatalogEntityStatus
, CatalogEntitySpec
>[]
▸ getItemsForApiKind<T
>(apiVersion
, kind
): T
[]
Deprecated
use a cast instead of a unbounded type parameter
Type parameters#
Name | Type |
---|---|
T |
extends CatalogEntity <CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec , T > |
Parameters#
Name | Type |
---|---|
apiVersion |
string |
kind |
string |
Returns#
T
[]