@types/dockerode
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -15,45 +15,61 @@ // Type definitions for dockerode 2.4 | ||
inspect(callback: Callback<ContainerInspectInfo>): void; | ||
inspect(options?: {}): { id: string }; | ||
inspect(options?: {}): Promise<ContainerInspectInfo>; | ||
rename(options: {}, callback: Callback<any>): void; | ||
rename(options: {}): Promise<any>; | ||
update(options: {}, callback: Callback<any>): void; | ||
update(options: {}): Promise<any>; | ||
top(options: {}, callback: Callback<any>): void; | ||
top(callback: Callback<any>): void; | ||
top(options?: {}): Promise<any>; | ||
changes(callback: Callback<any>): void; | ||
changes(): Promise<any>; | ||
export(callback: Callback<NodeJS.ReadableStream>): void; | ||
export(): Promise<NodeJS.ReadableStream>; | ||
start(options: {}, callback: Callback<any>): void; | ||
start(callback: Callback<any>): void; | ||
start(options?: {}): Promise<any>; | ||
pause(options: {}, callback: Callback<any>): void; | ||
pause(callback: Callback<any>): void; | ||
pause(options?: {}): Promise<any>; | ||
unpause(options: {}, callback: Callback<any>): void; | ||
unpause(callback: Callback<any>): void; | ||
unpause(options?: {}): Promise<any>; | ||
exec(options: {}, callback: Callback<any>): void; | ||
exec(options: {}): Promise<any>; | ||
commit(options: {}, callback: Callback<any>): void; | ||
commit(callback: Callback<any>): void; | ||
commit(options?: {}): Promise<any>; | ||
stop(options: {}, callback: Callback<any>): void; | ||
stop(callback: Callback<any>): void; | ||
stop(options?: {}): Promise<any>; | ||
restart(options: {}, callback: Callback<any>): void; | ||
restart(callback: Callback<any>): void; | ||
restart(options?: {}): Promise<any>; | ||
kill(options: {}, callback: Callback<any>): void; | ||
kill(callback: Callback<any>): void; | ||
kill(options?: {}): Promise<any>; | ||
resize(options: {}, callback: Callback<any>): void; | ||
resize(callback: Callback<any>): void; | ||
resize(options?: {}): Promise<any>; | ||
wait(callback: Callback<any>): void; | ||
wait(): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
@@ -64,17 +80,25 @@ /** Deprecated since RAPI v1.20 */ | ||
copy(callback: Callback<any>): void; | ||
/** Deprecated since RAPI v1.20 */ | ||
copy(options?: {}): Promise<any>; | ||
getArchive(options: {}, callback: Callback<NodeJS.ReadableStream>): void; | ||
getArchive(options: {}): Promise<NodeJS.ReadableStream>; | ||
infoArchive(options: {}, callback: Callback<any>): void; | ||
infoArchive(options: {}): Promise<any>; | ||
/** @param file Filename (will read synchronously), Buffer or stream */ | ||
putArchive(file: string | Buffer | NodeJS.ReadableStream, options: {}, callback: Callback<NodeJS.WritableStream>): void; | ||
putArchive(file: string | Buffer | NodeJS.ReadableStream, options: {}): Promise<NodeJS.ReadWriteStream>; | ||
logs(options: { stdout?: boolean, stderr?: boolean, follow?: boolean, since?: number, details?: boolean, tail?: number, timestamps?: boolean }, callback: Callback<NodeJS.ReadableStream>): void; | ||
logs(options: ContainerLogsOptions, callback: Callback<NodeJS.ReadableStream>): void; | ||
logs(callback: Callback<NodeJS.ReadableStream>): void; | ||
logs(options?: ContainerLogsOptions): Promise<NodeJS.ReadableStream>; | ||
stats(options: {}, callback: Callback<any>): void; | ||
stats(callback: Callback<any>): void; | ||
stats(options?: {}): Promise<any>; | ||
attach(options: {}, callback: Callback<NodeJS.ReadableStream>): void; | ||
attach(options: {}): Promise<NodeJS.ReadableStream>; | ||
@@ -87,15 +111,21 @@ modem: any; | ||
inspect(callback: Callback<ImageInspectInfo>): void; | ||
inspect(): Promise<ImageInspectInfo>; | ||
history(callback: Callback<any>): void; | ||
history(): Promise<any>; | ||
get(callback: Callback<NodeJS.ReadableStream>): void; | ||
get(): Promise<NodeJS.ReadableStream>; | ||
push(options: {}, callback: Callback<NodeJS.ReadableStream>): void; | ||
push(callback: Callback<NodeJS.ReadableStream>): void; | ||
push(options?: {}): Promise<NodeJS.ReadableStream>; | ||
tag(options: {}, callback: Callback<any>): void; | ||
tag(callback: Callback<any>): void; | ||
tag(options?: {}): Promise<any>; | ||
remove(options: {}, callback: Callback<ImageRemoveInfo>): void; | ||
remove(callback: Callback<ImageRemoveInfo>): void; | ||
remove(options?: {}): Promise<any>; | ||
@@ -108,5 +138,7 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
@@ -119,7 +151,10 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
update(options: {}, callback: Callback<any>): void; | ||
update(options: {}): Promise<any>; | ||
@@ -132,2 +167,3 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
@@ -140,2 +176,3 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
@@ -152,24 +189,33 @@ modem: any; | ||
inspect(callback: Callback<PluginInspectInfo>): void; | ||
inspect(): Promise<PluginInspectInfo>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
privileges(callback: Callback<any>): void; | ||
privileges(): Promise<any>; | ||
pull(options: {}, callback: Callback<any>): void; | ||
pull(options: {}): Promise<any>; | ||
enable(options: {}, callback: Callback<any>): void; | ||
enable(callback: Callback<any>): void; | ||
enable(options?: {}): Promise<any>; | ||
disable(options: {}, callback: Callback<any>): void; | ||
disable(callback: Callback<any>): void; | ||
disable(options?: {}): Promise<any>; | ||
push(options: {}, callback: Callback<any>): void; | ||
push(callback: Callback<any>): void; | ||
push(options?: {}): Promise<any>; | ||
configure(options: {}, callback: Callback<any>): void; | ||
configure(callback: Callback<any>): void; | ||
configure(options?: {}): Promise<any>; | ||
upgrade(auth: any, options: {}, callback: Callback<any>): void; | ||
upgrade(auth: any, callback: Callback<any>): void; | ||
upgrade(auth: any, options?: {}): Promise<any>; | ||
} | ||
@@ -179,8 +225,11 @@ | ||
inspect(callback: Callback<SecretInfo>): void; | ||
inspect(): Promise<SecretInfo>; | ||
update(options: {}, callback: Callback<any>): void; | ||
update(callback: Callback<any>): void; | ||
update(options?: {}): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
@@ -193,11 +242,15 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
remove(options: {}, callback: Callback<any>): void; | ||
remove(callback: Callback<any>): void; | ||
remove(options?: {}): Promise<any>; | ||
connect(options: {}, callback: Callback<any>): void; | ||
connect(callback: Callback<any>): void; | ||
connect(options?: {}): Promise<any>; | ||
disconnect(options: {}, callback: Callback<any>): void; | ||
disconnect(callback: Callback<any>): void; | ||
disconnect(options?: {}): Promise<any>; | ||
@@ -210,6 +263,9 @@ modem: any; | ||
inspect(callback: Callback<any>): void; | ||
inspect(): Promise<any>; | ||
start(options: {}, callback: Callback<any>): void; | ||
start(options: {}): Promise<any>; | ||
resize(options: {}, callback: Callback<any>): void; | ||
resize(options: {}): Promise<any>; | ||
@@ -601,2 +657,3 @@ modem: any; | ||
timeout?: number; | ||
Promise?: typeof Promise; | ||
} | ||
@@ -734,2 +791,12 @@ | ||
} | ||
interface ContainerLogsOptions { | ||
stdout?: boolean; | ||
stderr?: boolean; | ||
follow?: boolean; | ||
since?: number; | ||
details?: boolean; | ||
tail?: number; | ||
timestamps?: boolean; | ||
} | ||
} | ||
@@ -743,16 +810,23 @@ | ||
createContainer(options: Dockerode.ContainerCreateOptions, callback: Callback<Dockerode.Container>): void; | ||
createContainer(options: Dockerode.ContainerCreateOptions): Promise<Dockerode.Container>; | ||
createImage(options: {}, callback: Callback<Dockerode.Image>): void; | ||
createImage(auth: any, options: {}, callback: Callback<Dockerode.Image>): void; | ||
createImage(options: {}): Promise<Dockerode.Image>; | ||
createImage(auth: any, options: {}): Promise<Dockerode.Image>; | ||
loadImage(file: string, options: {}, callback: Callback<any>): void; | ||
loadImage(file: string, callback: Callback<any>): void; | ||
loadImage(file: string, options?: {}): Promise<any>; | ||
importImage(file: string, options: {}, callback: Callback<any>): void; | ||
importImage(file: string, callback: Callback<any>): void; | ||
importImage(file: string, options?: {}): Promise<any>; | ||
checkAuth(options: any, callback: Callback<any>): void; | ||
checkAuth(options: any): Promise<any>; | ||
buildImage(file: string | NodeJS.ReadableStream, options: {}, callback: Callback<any>): void; | ||
buildImage(file: string | NodeJS.ReadableStream, callback: Callback<any>): void; | ||
buildImage(file: string | NodeJS.ReadableStream, options?: {}): Promise<any>; | ||
@@ -781,61 +855,85 @@ getContainer(id: string): Dockerode.Container; | ||
listContainers(callback: Callback<Dockerode.ContainerInfo[]>): void; | ||
listContainers(options?: {}): Promise<Dockerode.ContainerInfo[]>; | ||
listImages(options: {}, callback: Callback<Dockerode.ImageInfo[]>): void; | ||
listImages(callback: Callback<Dockerode.ImageInfo[]>): void; | ||
listImages(options?: {}): Promise<Dockerode.ImageInfo[]>; | ||
listServices(options: {}, callback: Callback<any[]>): void; | ||
listServices(callback: Callback<any[]>): void; | ||
listServices(options?: {}): Promise<any[]>; | ||
listNodes(options: {}, callback: Callback<any[]>): void; | ||
listNodes(callback: Callback<any[]>): void; | ||
listNodes(options?: {}): Promise<any[]>; | ||
listTasks(options: {}, callback: Callback<any[]>): void; | ||
listTasks(callback: Callback<any[]>): void; | ||
listTasks(options?: {}): Promise<any[]>; | ||
listSecrets(options: {}, callback: Callback<Dockerode.SecretInfo[]>): void; | ||
listSecrets(callback: Callback<Dockerode.SecretInfo[]>): void; | ||
listSecrets(options?: {}): Promise<Dockerode.SecretInfo[]>; | ||
listPlugins(options: {}, callback: Callback<Dockerode.PluginInfo[]>): void; | ||
listPlugins(callback: Callback<Dockerode.PluginInfo[]>): void; | ||
listPlugins(options?: {}): Promise<Dockerode.PluginInfo[]>; | ||
listVolumes(options: {}, callback: Callback<any[]>): void; | ||
listVolumes(callback: Callback<any[]>): void; | ||
listVolumes(options?: {}): Promise<any[]>; | ||
listNetworks(options: {}, callback: Callback<any[]>): void; | ||
listNetworks(callback: Callback<any[]>): void; | ||
listNetworks(options?: {}): Promise<any[]>; | ||
createSecret(options: {}, callback: Callback<any>): void; | ||
createSecret(options: {}): Promise<any>; | ||
createPlugin(options: {}, callback: Callback<any>): void; | ||
createPlugin(options: {}): Promise<any>; | ||
createVolume(options: {}, callback: Callback<any>): void; | ||
createVolume(options: {}): Promise<any>; | ||
createService(options: {}, callback: Callback<any>): void; | ||
createService(options: {}): Promise<any>; | ||
createNetwork(options: {}, callback: Callback<any>): void; | ||
createNetwork(options: {}): Promise<any>; | ||
searchImages(options: {}, callback: Callback<any>): void; | ||
searchImages(options: {}): Promise<any>; | ||
pruneImages(options: {}, callback: Callback<Dockerode.PruneImagesInfo>): void; | ||
pruneImages(callback: Callback<Dockerode.PruneImagesInfo>): void; | ||
pruneImages(options?: {}): Promise<Dockerode.PruneImagesInfo>; | ||
pruneContainers(options: {}, callback: Callback<Dockerode.PruneContainersInfo>): void; | ||
pruneContainers(callback: Callback<Dockerode.PruneContainersInfo>): void; | ||
pruneContainers(options?: {}): Promise<Dockerode.PruneContainersInfo>; | ||
pruneVolumes(options: {}, callback: Callback<Dockerode.PruneVolumesInfo>): void; | ||
pruneVolumes(callback: Callback<Dockerode.PruneVolumesInfo>): void; | ||
pruneVolumes(options?: {}): Promise<Dockerode.PruneVolumesInfo>; | ||
pruneNetworks(options: {}, callback: Callback<Dockerode.PruneNetworksInfo>): void; | ||
pruneNetworks(callback: Callback<Dockerode.PruneNetworksInfo>): void; | ||
pruneNetworks(options?: {}): Promise<Dockerode.PruneNetworksInfo>; | ||
info(callback: Callback<any>): void; | ||
info(): Promise<any>; | ||
version(callback: Callback<any>): void; | ||
version(): Promise<any>; | ||
ping(callback: Callback<any>): void; | ||
ping(): Promise<any>; | ||
getEvents(options: {}, callback: Callback<NodeJS.ReadableStream>): void; | ||
getEvents(callback: Callback<NodeJS.ReadableStream>): void; | ||
getEvents(options?: {}): Promise<NodeJS.ReadableStream>; | ||
pull(repoTag: string, options: {}, callback: Callback<any>, auth?: {}): Dockerode.Image; | ||
pull(repoTag: string, options: {}, auth?: {}): Promise<any>; | ||
@@ -846,12 +944,18 @@ run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, createOptions: {}, startOptions: {}, callback: Callback<any>): events.EventEmitter; | ||
run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, createOptions: {}, callback: Callback<any>): events.EventEmitter; | ||
run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, createOptions?: {}, startOptions?: {}): Promise<any>; | ||
swarmInit(options: {}, callback: Callback<any>): void; | ||
swarmInit(options: {}): Promise<any>; | ||
swarmJoin(options: {}, callback: Callback<any>): void; | ||
swarmJoin(options: {}): Promise<any>; | ||
swarmLeave(options: {}, callback: Callback<any>): void; | ||
swarmLeave(options: {}): Promise<any>; | ||
swarmUpdate(options: {}, callback: Callback<any>): void; | ||
swarmUpdate(options: {}): Promise<any>; | ||
swarmInspect(callback: Callback<any>): void; | ||
swarmInspect(): Promise<any>; | ||
@@ -858,0 +962,0 @@ modem: any; |
{ | ||
"name": "@types/dockerode", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "TypeScript definitions for dockerode", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "95ec6b0677f4ce433130c04364b1b4a36c1872fc070d3497d5d46c4cc80eb66e", | ||
"typesPublisherContentHash": "c6502d16d2b61348e6403bfc0332d7b68ef3d37e8eb119dffc43bcbd888e2563", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 31 Mar 2017 16:02:24 GMT | ||
* Last updated: Fri, 05 May 2017 16:07:17 GMT | ||
* Dependencies: stream, events, 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
29852
4
800