Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create api types package for structured responses #10986

Merged
merged 2 commits into from
Mar 2, 2015

Commits on Feb 24, 2015

  1. Move stats api types into api/types package

    Move the stats structs from the api/stats package into a new package
    api/types that will contain all the api structs for docker's api request
    and responses.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 24, 2015
    Configuration menu
    Copy the full SHA
    7fed7d7 View commit details
    Browse the repository at this point in the history
  2. Add ContainerCreateResponse type

    This type is produced on the server side and is a type safe struct that
    can be encoded to json.  It is consumed via the client.
    
    Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
    crosbymichael committed Feb 24, 2015
    Configuration menu
    Copy the full SHA
    f57c265 View commit details
    Browse the repository at this point in the history