Skip to content

Move container configuration types to api/types/container.#18762

Merged
LK4D4 merged 7 commits intomoby:masterfrom
calavera:runconfig_to_types
Dec 22, 2015
Merged

Move container configuration types to api/types/container.#18762
LK4D4 merged 7 commits intomoby:masterfrom
calavera:runconfig_to_types

Conversation

@calavera
Copy link
Copy Markdown
Contributor

That way the structs can be shared between the API client library, the
docker client and the docker daemon without importing the whole docker
project as a library.

All the validations remain in the runconfig package. It's up to client and server to check values.

/cc @dnephin

Signed-off-by: David Calavera david.calavera@gmail.com

@calavera calavera force-pushed the runconfig_to_types branch 4 times, most recently from 375566a to e1fce33 Compare December 18, 2015 04:21
@tiborvass
Copy link
Copy Markdown
Contributor

@calavera needs rebase :P

@calavera
Copy link
Copy Markdown
Contributor Author

I've rebased these changes and split them in smaller chunks. The last one is still slightly big, but hopefully won't be too hard to review.

@calavera calavera force-pushed the runconfig_to_types branch 4 times, most recently from 212d6cb to 0590d24 Compare December 18, 2015 22:45
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why .back?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad commit, removed!

@thaJeztah
Copy link
Copy Markdown
Member

One nit about tagging go-connections. Looked through the changes, and didn't see strange things :)

@jessfraz
Copy link
Copy Markdown
Contributor

LGTM

@calavera
Copy link
Copy Markdown
Contributor Author

@thaJeztah there is a v0.1.0 tag, there are no code changes between the tag and this commit, only docs changed between them.

@thaJeztah
Copy link
Copy Markdown
Member

@calavera should probably be used then 😇 (in a follow up?)

@calavera
Copy link
Copy Markdown
Contributor Author

@thaJeztah the tag is older than the commit 😄 I'll be happy to tag a v0.2.0 and follow up as soon as we have more code in there.

@thaJeztah
Copy link
Copy Markdown
Member

@calavera hehe, no worries, it's just a nit, so "lgtm"

@icecrime
Copy link
Copy Markdown
Contributor

Ping @duglin @MHBauer!

This is a very docker concept that nobody elses need.
We only maintain it to keep the API backwards compatible.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
…rary.

It's a very simple function that we can duplicate.

Signed-off-by: David Calavera <david.calavera@gmail.com>
- 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>
@LK4D4
Copy link
Copy Markdown
Contributor

LK4D4 commented Dec 22, 2015

LGTM

LK4D4 added a commit that referenced this pull request Dec 22, 2015
Move container configuration types to api/types/container.
@LK4D4 LK4D4 merged commit 030347c into moby:master Dec 22, 2015
@calavera calavera deleted the runconfig_to_types branch December 22, 2015 22:25
hqhq added a commit to hqhq/moby that referenced this pull request Dec 24, 2015
It's in Resources, but wrongly added back to HostConfig in
moby#18762

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
aditirajagopal pushed a commit to aditirajagopal/docker that referenced this pull request Feb 8, 2016
It's in Resources, but wrongly added back to HostConfig in
moby#18762

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants