Skip to content

@k8slens/extensions / Exports / Renderer / Navigation

Namespace: Navigation#

Renderer.Navigation

Table of contents#

Classes#

Interfaces#

Functions#

Functions#

createPageParam#

createPageParam<Value>(init): PageParam<Value>

Type parameters#

Name Type
Value string

Parameters#

Name Type
init PageParamInit<Value>

Returns#

PageParam<Value>


getDetailsUrl#

getDetailsUrl(selfLink, resetSelected?, mergeGlobals?): string

Parameters#

Name Type
selfLink string
resetSelected? boolean
mergeGlobals? boolean

Returns#

string


hideDetails#

hideDetails(): void

Returns#

void


hideEntityDetails#

hideEntityDetails(): void

Returns#

void


isActiveRoute#

isActiveRoute(route): boolean

Parameters#

Name Type
route string | RouteProps<string, {}> | string[]

Returns#

boolean


navigate(location): void

Parameters#

Name Type
location LocationDescriptor<unknown>

Returns#

void


showDetails#

showDetails(selfLink, resetSelected?): void

Default

resetSelected true

Parameters#

Name Type Description
selfLink undefined | string The Kube selflink to show details for
resetSelected? boolean If true then will reset the selected kube object (which object is highlighted generally)

Returns#

void


showEntityDetails#

showEntityDetails(id): void

Parameters#

Name Type
id string

Returns#

void