Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Joe Farrell 278b40576e Fixed typo in README
Signed-off-by: joe2far <joe2farrell@gmail.com>
2016-06-03 17:44:19 +01:00
allencloud f1339f593d fix several typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-04-24 16:14:58 +08:00
David Calavera 663018389e Move Docker version comparisons to the types package.
Most of the comparisons are done at the API level.
In the long term, it makes more sense to have these functions
in this package, so people can reuse them implementing other clients.

This change removes the custom Version type. The custom type doesn't
provide any extra value since you can wrap any string in it an the
comparisons can easily be done with plain strings.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-04-12 09:30:20 -07:00
David Calavera 0c77b4b120 Fix repository imports and packages.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-01-04 18:26:13 -05:00
David Calavera 23b784d9d9 Move Config and HostConfig from runconfig to types/container.
- Make the API client library completely standalone.
- Move windows partition isolation detection to the client, so the
  driver doesn't use external types.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-22 13:34:30 -05:00
David Calavera d407eac317 Replace usage of pkg/nat with go-connections/nat.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-22 13:31:46 -05:00
David Calavera 77b18ba090 Fix network inspect for default networks.
- Keep old fields in NetworkSetting to respect the deprecation policy.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-10-30 16:55:21 -04:00
David Calavera 85bc8f457f Extract network settings types for inspect.
Keeping backwards compatibility.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
2015-10-27 19:16:21 -04:00
Antonio Murdaca 70774718db Return empty Config fields, now omitempty, for API < 1.21
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-10-19 19:09:36 +02:00
Antonio Murdaca 90909a208f Fix Config.Cpuset from API < 1.20
Signed-off-by: Antonio Murdaca <amurdaca@redhat.com>
2015-10-13 09:09:05 +02:00
David Calavera 60d6d6c4c4 Extract api types to version packages.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-09-30 14:14:27 -04:00