@augment-vir/docker
Advanced tools
Comparing version 5.0.1 to 6.0.0
import { EnvMap } from './docker-command-inputs'; | ||
export declare type ExecContainerInputs = { | ||
export type ExecContainerInputs = { | ||
tty: boolean; | ||
@@ -11,1 +11,2 @@ containerNameOrId: string; | ||
export declare function containerExec({ tty, containerNameOrId, command, envMapping, executionEnv, extraDockerInputs, }: ExecContainerInputs): Promise<import("@augment-vir/node-js").ShellOutput>; | ||
//# sourceMappingURL=container-exec.d.ts.map |
@@ -6,3 +6,3 @@ /** There may be other possible values for Status. */ | ||
} | ||
export declare type ContainerInfoState = { | ||
export type ContainerInfoState = { | ||
Status: ContainerStatusEnum; | ||
@@ -21,3 +21,3 @@ Running: boolean; | ||
/** This type signature is incomplete. Add to it as necessary. */ | ||
export declare type ContainerInfo = Readonly<{ | ||
export type ContainerInfo = Readonly<{ | ||
Id: string; | ||
@@ -31,1 +31,2 @@ Created: string; | ||
export declare function getContainerInfo(containerNameOrId: string): Promise<ContainerInfo | undefined>; | ||
//# sourceMappingURL=container-info.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare type CopyToContainerInputs = { | ||
export type CopyToContainerInputs = { | ||
hostPath: string; | ||
@@ -9,1 +9,2 @@ isDir: boolean; | ||
export declare function copyToContainer({ containerAbsolutePath, isDir, hostPath, containerNameOrId, extraDockerInputs, }: CopyToContainerInputs): Promise<void>; | ||
//# sourceMappingURL=copy-to-container.d.ts.map |
@@ -5,3 +5,3 @@ export declare enum VolumeMappingType { | ||
} | ||
export declare type VolumeMap = { | ||
export type VolumeMap = { | ||
hostAbsolutePath: string; | ||
@@ -12,7 +12,7 @@ containerAbsolutePath: string; | ||
export declare function makeVolumeFlags(volumeMapping?: ReadonlyArray<VolumeMap>): string; | ||
export declare type PortMap = { | ||
export type PortMap = { | ||
hostPort: number; | ||
containerPort: number; | ||
}; | ||
export declare type EnvMap<RequiredKeys extends string = string> = Readonly<Record<RequiredKeys | string, { | ||
export type EnvMap<RequiredKeys extends string = string> = Readonly<Record<RequiredKeys | string, { | ||
value: string; | ||
@@ -24,1 +24,2 @@ allowInterpolation: boolean; | ||
export declare function combineCommandAndFlags(commandsAndFlags: ReadonlyArray<string | undefined | boolean>): string; | ||
//# sourceMappingURL=docker-command-inputs.d.ts.map |
@@ -9,1 +9,2 @@ export declare function isContainerResponding(containerNameOrId: string): Promise<boolean>; | ||
}): Promise<void>; | ||
//# sourceMappingURL=is-container-running.d.ts.map |
export declare function killContainer(containerNameOrId: string, keepContainer?: boolean): Promise<void>; | ||
//# sourceMappingURL=kill-container.d.ts.map |
import { EnvMap, PortMap, VolumeMap } from './docker-command-inputs'; | ||
export declare type RunContainerInputs = { | ||
export type RunContainerInputs = { | ||
imageName: string; | ||
@@ -17,1 +17,2 @@ detach: boolean; | ||
export declare function runContainer({ containerName, imageName, detach, command, portMapping, volumeMapping, envMapping, executionEnv, enableLogging, removeWhenDone, useCurrentUser, extraDockerInputs, }: RunContainerInputs): Promise<void>; | ||
//# sourceMappingURL=run-container.d.ts.map |
@@ -6,1 +6,2 @@ export declare function tryOrKillContainer({ containerName, enableLogging, callback, }: { | ||
}): Promise<void>; | ||
//# sourceMappingURL=try-or-kill-container.d.ts.map |
export declare function updateImage(imageName: string, enableLogging: boolean): Promise<void>; | ||
//# sourceMappingURL=update-image.d.ts.map |
@@ -10,1 +10,2 @@ export * from './augments/container-exec'; | ||
export * from './augments/update-image'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@augment-vir/docker", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/docker", | ||
@@ -27,6 +27,2 @@ "bugs": { | ||
}, | ||
"devDependencies": { | ||
"istanbul-smart-text-reporter": "^1.0.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
"publishConfig": { | ||
@@ -33,0 +29,0 @@ "access": "public" |
23378
0
32