@types/dockerode
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -85,4 +85,5 @@ // Type definitions for dockerode 3.2 | ||
wait(options: ContainerWaitOptions, callback: Callback<any>): void; | ||
wait(callback: Callback<any>): void; | ||
wait(): Promise<any>; | ||
wait(options?: ContainerWaitOptions): Promise<any>; | ||
@@ -424,5 +425,5 @@ remove(options: {}, callback: Callback<any>): void; | ||
EnableIPv6?: boolean; | ||
Options?: { [option: string]: string}; | ||
Labels?: { [label: string]: string}; | ||
} | ||
Options?: { [option: string]: string }; | ||
Labels?: { [label: string]: string }; | ||
} | ||
@@ -440,3 +441,3 @@ interface NetworkContainer { | ||
Driver: string; | ||
Config?: Array<{[key: string]: string }>; | ||
Config?: Array<{ [key: string]: string }>; | ||
Options?: { [key: string]: string }; | ||
@@ -1013,30 +1014,30 @@ } | ||
filters?: | ||
| string | ||
| { | ||
config?: string; | ||
container?: string[]; | ||
daemon?: string[]; | ||
event?: string[]; | ||
image?: string[]; | ||
label?: string[]; | ||
network?: string[]; | ||
node?: string[]; | ||
plugin?: string[]; | ||
scope?: Array<'local' | 'swarm'>; | ||
secret?: string[]; | ||
service?: string[]; | ||
type?: Array< | ||
| 'container' | ||
| 'image' | ||
| 'volume' | ||
| 'network' | ||
| 'daemon' | ||
| 'plugin' | ||
| 'service' | ||
| 'node' | ||
| 'secret' | ||
| 'config' | ||
>; | ||
volume?: string[]; | ||
}; | ||
| string | ||
| { | ||
config?: string; | ||
container?: string[]; | ||
daemon?: string[]; | ||
event?: string[]; | ||
image?: string[]; | ||
label?: string[]; | ||
network?: string[]; | ||
node?: string[]; | ||
plugin?: string[]; | ||
scope?: Array<'local' | 'swarm'>; | ||
secret?: string[]; | ||
service?: string[]; | ||
type?: Array< | ||
| 'container' | ||
| 'image' | ||
| 'volume' | ||
| 'network' | ||
| 'daemon' | ||
| 'plugin' | ||
| 'service' | ||
| 'node' | ||
| 'secret' | ||
| 'config' | ||
>; | ||
volume?: string[]; | ||
}; | ||
} | ||
@@ -1050,3 +1051,3 @@ | ||
Name?: string; | ||
Labels?: {[name: string]: string}; | ||
Labels?: { [name: string]: string }; | ||
} | ||
@@ -1092,3 +1093,3 @@ | ||
Constraints?: string[]; | ||
Preferences?: Array<{Spread: {SpreadDescriptor: string}}>; | ||
Preferences?: Array<{ Spread: { SpreadDescriptor: string } }>; | ||
MaxReplicas?: number; | ||
@@ -1104,3 +1105,3 @@ Platforms?: Array<{ | ||
Aliases?: string[]; | ||
DriverOpts?: {[key: string]: string}; | ||
DriverOpts?: { [key: string]: string }; | ||
} | ||
@@ -1156,3 +1157,3 @@ | ||
Image?: string; | ||
Labels?: {[label: string]: string}; | ||
Labels?: { [label: string]: string }; | ||
Command?: string[]; | ||
@@ -1178,3 +1179,3 @@ Args?: string[]; | ||
Isolation?: string; | ||
Sysctls?: {[key: string]: string}; | ||
Sysctls?: { [key: string]: string }; | ||
CapabilityAdd?: string[]; | ||
@@ -1204,3 +1205,3 @@ CapabilityDrop?: string[]; | ||
Name?: string; | ||
Options?: {[key: string]: string}; | ||
Options?: { [key: string]: string }; | ||
}; | ||
@@ -1230,3 +1231,3 @@ ForceUpdate?: number; | ||
interface ServiceMode { | ||
Replicated?: {Replicas?: number}; | ||
Replicated?: { Replicas?: number }; | ||
Global?: {}; | ||
@@ -1357,3 +1358,3 @@ ReplicatedJob?: { | ||
URL: string; | ||
Options?: {[key: string]: string}; | ||
Options?: { [key: string]: string }; | ||
CACert: string; | ||
@@ -1414,3 +1415,3 @@ } | ||
Name: string; | ||
Options?: {[key: string]: string}; | ||
Options?: { [key: string]: string }; | ||
} | ||
@@ -1562,2 +1563,7 @@ | ||
interface ContainerWaitOptions { | ||
/** Since v1.30 */ | ||
condition?: 'not-running' | 'next-exit' | 'removed'; | ||
} | ||
interface ContainerLogsOptions { | ||
@@ -1564,0 +1570,0 @@ stdout?: boolean; |
{ | ||
"name": "@types/dockerode", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "TypeScript definitions for dockerode", | ||
@@ -64,4 +64,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "bcd404a7d1a651b0f1dbefd946a9a9f026268df3750c8be155bc7176dbce75c8", | ||
"typesPublisherContentHash": "793ee248264f7735ec72a64268945bf203d946c0e7e468aa3f0acf83b9c28028", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 21 Oct 2020 16:40:53 GMT | ||
* Last updated: Mon, 09 Nov 2020 23:49:31 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56117
1563