Skip to content

Commit

Permalink
support nydus as a accessory
Browse files Browse the repository at this point in the history
Recognize nydus image(with subject) as a kind of accessory and built the releationship with subject manifest

Signed-off-by: wang yan <wangyan@vmware.com>
  • Loading branch information
wy65701436 committed Jul 19, 2023
1 parent d4aa9b1 commit dcae901
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 373 deletions.
1 change: 1 addition & 0 deletions src/core/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ import (
_ "github.com/goharbor/harbor/src/pkg/accessory/model/base"
_ "github.com/goharbor/harbor/src/pkg/accessory/model/cosign"
_ "github.com/goharbor/harbor/src/pkg/accessory/model/notation"
_ "github.com/goharbor/harbor/src/pkg/accessory/model/nydus"
_ "github.com/goharbor/harbor/src/pkg/accessory/model/subject"
"github.com/goharbor/harbor/src/pkg/audit"
dbCfg "github.com/goharbor/harbor/src/pkg/config/db"
Expand Down
164 changes: 0 additions & 164 deletions src/server/middleware/nydus/nydus.go

This file was deleted.

207 changes: 0 additions & 207 deletions src/server/middleware/nydus/nydus_test.go

This file was deleted.

0 comments on commit dcae901

Please sign in to comment.