UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

16 lines (15 loc) 443 B
declare global { interface Window { /** * Used by docker desktop. If it's there, probably it's docker desktop. */ ddClient: any | undefined; } } /** * isDockerDesktop checks if ddClient is available in the window object * if it is available then it is running in docker desktop * * @returns true if Headlamp is running inside docker desktop */ export declare function isDockerDesktop(): boolean;