Commit Graph

38 Commits

Author SHA1 Message Date
Geoff Rich
5fc1e8a77b Re-add import back in. 2018-06-28 07:40:44 +10:00
Geoff Rich
a5a806bcff Add array of streams option to run command. 2018-06-28 07:37:14 +10:00
Rob Moran
c2aeb9799d Fix some of the generic response types 2018-02-18 10:10:16 +00:00
Rob Moran
8923b0dbcb createImage doesn't return Dockerode.Image 2018-02-17 23:29:47 +00:00
Rob Moran
63f6f74847 Added contributor 2018-02-16 16:10:01 +00:00
Rob Moran
aa9e921b86 loadImage and importImage can also accept streams 2018-02-16 16:06:03 +00:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
4b2d0110d5
Fix many "import *" that should be "import =" (#23443) 2018-02-05 15:35:41 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Assaf Lavie
6d020e2e28 Fix ContainerInspectInfo according to Docker REST API documentation. (#22598)
The Ports field is a map of string to _array_ of Ip/Port objects, as you
can see in the docs: https://docs.docker.com/engine/api/v1.32/#operation/ContainerInspect

As a result of this error type checks are not being run. e.g. Doing
`container.inspect().NetworkSettings.Ports['test'][0].BadField` will
compile without error, despite `BadField` to existing in the interface.
2018-01-03 12:02:36 -08:00
Pablo Aguirre
9be4e75a0b docker system df type 2017-12-21 16:12:39 +01:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Marius Meisenzahl
d8bfa21dbe Added parameter AutoRemove to HostConfig (#20175) 2017-10-02 10:34:26 -07:00
Nathan Shively-Sanders
08292a6f4a Merge pull request #19549 from LazarusX/fix_dockerode_type
Update Dockerode options types
2017-09-10 17:27:55 -07:00
Ray Fang
95544191ba Add KeyObject as a type for key 2017-09-05 13:37:17 +08:00
Ray Fang
db1801beea Add other types supported by NodeJS TLS API 2017-09-05 12:48:49 +08:00
Ray Fang
df8538a82d Update version 2017-09-05 10:54:56 +08:00
Ray Fang
1bbe2c257f Update 'definitions by' section 2017-09-05 10:48:24 +08:00
Ray Fang
16258c4b37 Fix issues with types of Dockerode options 2017-09-05 10:25:26 +08:00
Derek Brown
a9babc189e Add DiskQuota option to HostConfig
Added in latest version of API:

https://docs.docker.com/engine/api/v1.30/#operation/ContainerCreate
2017-09-01 13:48:21 -04:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Byeong Hun Yoo
8742a3dec1 Add missing parameter type to buildImage (#18436)
https://github.com/apocas/dockerode#building-an-image3
2017-07-27 08:02:58 -07:00
Derek Brown
33eaf4b8a6 Added Node Properties (used for Docker Swarm) (#18322)
* Added Node Properties (used for Docker Swarm)

* Update index.d.ts
2017-07-24 11:23:05 -07:00
Konrad Księski
968741c3b6 Update Node interface methods for dockerode package 2017-06-27 16:36:13 +02:00
Michiel de Bruijne
f8c68213bf [node] set correct type for process.env and fix node dependents 2017-06-24 21:39:39 +02:00
Carl Winkler
ef8ff1dff4 Add support and tests for Dockerode promise API (#16337) 2017-05-05 09:01:16 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Nicolas Laplante
7a83c0174e fix one missing dtslint error 2017-03-30 19:48:51 -04:00
Nicolas Laplante
5379903578 fix dtslint errors 2017-03-30 19:46:10 -04:00
Nicolas Laplante
35e2e1c1ea merge upstream master 2017-03-30 19:36:21 -04:00
Andy
ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Nicolas Laplante
c7e08e933c add type definitions 2017-03-26 11:48:12 -04:00
Nicolas Laplante
8a9add5b87 remove minor from version 2017-03-25 13:10:28 -04:00
Nicolas Laplante
171855d201 add tests for new api 2017-03-25 13:09:02 -04:00
Nicolas Laplante
105eb86257 upgrade dockerode version 2017-03-25 13:08:52 -04:00
Nicolas Laplante
a7d8ae9f4f add definition author 2017-03-25 13:08:42 -04:00
Nicolas Laplante
0b91832778 add types & mtehods from dockerode current (v2.4.2) 2017-03-25 12:56:05 -04:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00