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

feat: handle different plantform in cache remote #184

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

PerseidMeteor
Copy link
Collaborator

We can use manifestIndex to record different remote cache on different plantforms.
And conversion will use cache which matches current plantfotm.

changes:

  • use manifest list to store different cache on different plantforms.

@imeoer
Copy link
Collaborator

imeoer commented Sep 5, 2023

Note: typo plantforms -> platforms.

pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
@PerseidMeteor PerseidMeteor force-pushed the feat-manifest-list branch 2 times, most recently from 266fe8d to 9df9e97 Compare September 13, 2023 12:18
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
pkg/driver/nydus/nydus.go Outdated Show resolved Hide resolved
@PerseidMeteor PerseidMeteor force-pushed the feat-manifest-list branch 3 times, most recently from cf50df1 to 75a7879 Compare September 20, 2023 06:43
pkg/content/cache.go Show resolved Hide resolved
pkg/content/cache.go Outdated Show resolved Hide resolved
pkg/converter/converter.go Outdated Show resolved Hide resolved
@PerseidMeteor PerseidMeteor force-pushed the feat-manifest-list branch 7 times, most recently from 23a5af4 to 33dcce7 Compare October 4, 2023 12:42
@PerseidMeteor PerseidMeteor force-pushed the feat-manifest-list branch 3 times, most recently from 1e02003 to 91a30b6 Compare October 8, 2023 11:20
We can use manifestIndex to record different remote cache on different plantforms. And conversion will use cache which matches current plantfotm.

Signed-off-by: YuQiang <y_q_email@163.com>
@imeoer imeoer merged commit 9c86e7c into goharbor:main Oct 9, 2023
@PerseidMeteor PerseidMeteor deleted the feat-manifest-list branch October 9, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants