UNPKG

285 BTypeScriptView Raw
1import Docker from 'dockerode';
2/**
3 * Helper function to check the existence of docker
4 * @param self Is the instance of 'this'
5 * @param type Is the context of the caller, so we know which error to log
6 */
7export default function getDocker(self: any, type: string): Promise<Docker>;