/** * Docker context resolution utility. * * Provides a function to resolve a Docker CLI context name to its * daemon endpoint, enabling tools to target specific Docker daemons. * * Docker contexts are managed by the Docker CLI (`docker context`) and each * context maps to a Docker daemon endpoint (Unix socket or TCP URL). */ import type { Logger } from 'pino'; import { Result } from '../../types/index.js'; /** * Resolve a Docker context name to its daemon endpoint. * * Returns the Docker endpoint (socket path or TCP URL) for the specified context. * The endpoint can be used as DOCKER_HOST or to create a targeted Docker client. * * @param contextName - Name of the Docker context to resolve * @param logger - Logger instance for debug output * @returns Result containing the Docker endpoint string (e.g., "unix:///var/run/docker.sock") */ export declare function resolveDockerContext(contextName: string, logger: Logger): Promise>; //# sourceMappingURL=context.d.ts.map