-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ctrd,cli,daemon,pkg: update to adapt with containerd@v1.2.5
The containerd has been improved a lot in v1.2, which makes the service stable before. Based on this, we need to do the upgrade. Basically, both the contaienrd and shim API interfaces are stable so that we don't need to worry about the remote API calls. However, the package level interface has been changed a lot. The commit is used to align with containerd@v1.2.5. 1. events part: using exchange event helper instead of raw grpc conn 2. image part: a. import: new Import interface makes the import easier without Importer. b. commit: content helper has been upgraded with less arguments for caller. and `diff` package separates the Applier and Comparer interfaces. The changes can make the code clear in PouchContainer 3. lease: containerd client doesn't provide ListLeases interface directly. PouchContainer needs to get LeasesService and make the call by itself. 4. container IO: remove codes which comes from containerd. The code was used to align with containerd v1.2, which can make upgrade work easier. For now, we can remove this. Signed-off-by: Wei Fu <fuweid89@gmail.com>
- Loading branch information
Showing
20 changed files
with
126 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.