Commit Graph
54 Commits
Author SHA1 Message Date
Pascal SthamerandGitHub 84efa71066 Mount config for creating a container 2018-12-12 14:05:43 +01:00
Pascal SthamerandGitHub ba36ee1631 Fix tslint error 2018-12-12 12:53:43 +01:00
Pascal SthamerandGitHub cea66cd28f Forgot to update return types 2018-12-12 12:44:19 +01:00
Pascal SthamerandGitHub c73305cc54 Include container.stats types 2018-12-12 12:42:20 +01:00
Pascal SthamerandGitHub 01401844ac Remove duplicate DockerVersion interface 2018-12-11 18:57:07 +01:00
e1b2162dce Fix typo
Co-Authored-By: P4sca1 <sthamer.pascal@gmail.com>
2018-12-11 18:53:50 +01:00
Pascal SthamerandGitHub c477ba3fd0 Merge branch 'master' into master 2018-12-11 18:08:03 +01:00
Pascal Sthamer 1d69ae6694 dockerode definition update 2018-12-11 17:50:07 +01:00
Kapil SachdevaandPranav Senthilnathan f577cf04e3 dockerode - fix the EndpointsConfig in ContainerCreateOptions / add necessary new definitions (#30417) 2018-11-14 16:04:42 -08:00
Cameron Diver 00cfabb9a7 Fix typo in dockerode DeviceMapping interface
Signed-off-by: Cameron Diver <cameron@balena.io>
2018-11-07 10:57:57 +00:00
Kapil Sachdeva 2ecb8765a0 dockerode - add definition for AuthConfig 2018-11-06 10:29:16 -06:00
Kapil Sachdeva 4ca1d661b9 dockerode - remove the formatting (done by vscode) to ease the review 2018-11-06 10:22:37 -06:00
Kapil Sachdeva adb0eb59dd dockerod - misc fixes and additional typings 2018-11-05 13:31:42 -06:00
Raul Hidalgo CaballeroandGitHub a1bfc7d50d Update index.d.ts 2018-10-29 01:34:50 +01:00
Raul Hidalgo CaballeroandGitHub dc78e5c1fb Update index.d.ts 2018-10-29 00:58:24 +01:00
Raul Hidalgo CaballeroandGitHub 3224edf06e Add Version Interface 2018-10-28 23:31:02 +01:00
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
AndyandGitHub 4b2d0110d5 Fix many "import *" that should be "import =" (#23443) 2018-02-05 15:35:41 -08:00
AndyandGitHub bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Assaf LavieandMohamed Hegazy 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
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Marius MeisenzahlandRyan Cavanaugh d8bfa21dbe Added parameter AutoRemove to HostConfig (#20175) 2017-10-02 10:34:26 -07:00
Nathan Shively-SandersandGitHub 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 BrownandGitHub 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
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Byeong Hun YooandAndy 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 BrownandAndy 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 WinklerandMohamed Hegazy ef8ff1dff4 Add support and tests for Dockerode promise API (#16337) 2017-05-05 09:01:16 -07:00
AndyandGitHub 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
AndyandGitHub 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