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

refactor: wrap the container's specs #614

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

rudyfly
Copy link
Collaborator

@rudyfly rudyfly commented Jan 19, 2018

1.Describe what this PR did
Wrap the container's specs, in the spec setup functions, it maybe need
some daemon manager to get/set container information, so wrapping the
containerManager/volumeManager/networkManager into the spec.

2.Does this pull request fix one issue?

NONE

3.Describe how you did it

4.Describe how to verify it

5.Special notes for reviews

Signed-off-by: Rudy Zhang rudyflyzhang@gmail.com

Wrap the container's specs, in the spec setup functions, it maybe need
some daemon manager to get/set container information, so wrapping the
containerManager/volumeManager/networkManager into the spec.

Signed-off-by: Rudy Zhang <rudyflyzhang@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #614 into master will decrease coverage by 0.07%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #614      +/-   ##
=========================================
- Coverage   13.58%   13.5%   -0.08%     
=========================================
  Files          65      65              
  Lines        3541    3561      +20     
=========================================
  Hits          481     481              
- Misses       3010    3030      +20     
  Partials       50      50
Impacted Files Coverage Δ
daemon/mgr/spec.go 0% <ø> (ø) ⬆️
daemon/mgr/spec_network.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_namespace.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_cgroup_cpu.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_devices.go 0% <0%> (ø) ⬆️
daemon/mgr/container.go 3.81% <0%> (-0.05%) ⬇️
daemon/mgr/spec_volume.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_process.go 0% <0%> (ø) ⬆️
daemon/mgr/spec_cgroup_memory.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2e2321...4bae9bc. Read the comment docs.

@allencloud allencloud added this to Container in Pouch-v0.2 Jan 19, 2018
@skoowoo
Copy link
Contributor

skoowoo commented Jan 23, 2018

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Jan 23, 2018
@skoowoo skoowoo merged commit ef077dc into AliyunContainerService:master Jan 23, 2018
@allencloud allencloud moved this from Container to done in Pouch-v0.2 Jan 23, 2018
@rudyfly rudyfly deleted the spec branch October 29, 2018 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor LGTM one maintainer or community participant agrees to merge the pull reuqest. size/M
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants