Commit Graph

7 Commits

Author SHA1 Message Date
Nalin Dahyabhai 5aa416e20d Update some comments
Descriptions of types that include the type names didn't always match
since we last renamed things.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #1272
Approved by: rhatdan
2019-01-11 12:31:58 +00:00
Nalin Dahyabhai 377fd209d8 Add docker.HealthConfig.StartPeriod
The HealthConfig.StartPeriod field was added to docker late in 2016.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #943
Approved by: TomSweeneyRedHat
2018-11-21 12:56:24 +00:00
TomSweeneyRedHat 9af14c4540 Use manifest from container/image
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #870
Approved by: rhatdan
2018-07-19 15:42:01 +00:00
Nalin Dahyabhai b7ccc2397b Import and namespace more types
Import more manifest and schema variables and types, and rename some of
them to incorporate version numbers.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #118
Approved by: rhatdan
2017-05-24 18:20:10 +00:00
Nalin Dahyabhai 6f4bd94b95 Update reference comments for docker types origins
Update comments which reference where the types in docker/types.go came
from to reflect renames of the upstream repositories.  The contents of
the types themselves, since they are encoded into images that are kept
on disk, shouldn't change often, if ever.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #102
Approved by: rhatdan
2017-05-18 18:28:44 +00:00
Nalin Dahyabhai 58e56e3efc Import container.{Config,HealthCheck},nat.PortSet
Import the container.Config and container.HealthCheck API types, and the
nat.Port and nat.PortSet types from go-connections.  Use the strslice
package from containers/image instead of rolling or importing our own.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #102
Approved by: rhatdan
2017-05-18 18:28:44 +00:00
Nalin Dahyabhai ce3505a4d7 Internalize some Docker types
Internalize the type declaration of a Docker image, so that we don't
need to pull in code when we just want to know how to parse out a JSON
object.  Carry a copy of the license that covered the sources from which
the definitions came.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #75
Approved by: nalind
2017-04-19 19:05:06 +00:00