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

pkg: add an underlying package hostpool to manage general host operation #1713

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

allencloud
Copy link
Member

Signed-off-by: Allen Sun shlallen1990@gmail.com

Describe what this PR does / why we need it

This pull request added an underlying package hostpool to manage general host operation. This could be regarded as the infradriver in @VinceCui 's refactoring pull request #1621.

While this pull request encapsulates all host into an Object, and all node operation could be a sub operation of this HostPool and Host sub functions.

This pull request just add a package and does no invasion to the current code system.

In the next days, I would do further investigation to sealer execution procedure, to find out what kinds of operation function could be add to the HostPool package. Further investigation to sealer execution procedure would be related to the background of issue #1651 .

Does this pull request fix one issue?

none

Describe how you did it

none

Describe how to verify it

none

Special notes for reviews

none

@allencloud allencloud added the refactor sealer code refactor related label Sep 16, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2022

Codecov Report

Base: 18.39% // Head: 18.39% // No change to project coverage 👍

Coverage data is based on head (827b54d) compared to base (cd61b99).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1713   +/-   ##
=======================================
  Coverage   18.39%   18.39%           
=======================================
  Files          66       66           
  Lines        5359     5359           
=======================================
  Hits          986      986           
  Misses       4247     4247           
  Partials      126      126           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@allencloud allencloud force-pushed the add-hostpool-pkg branch 3 times, most recently from ef7f80c to dd591b0 Compare September 16, 2022 07:37
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor sealer code refactor related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants