Skip to content

Commit

Permalink
support nydus as a accessory (#18953)
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 <[email protected]>
  • Loading branch information
wy65701436 authored and MinerYang committed Jul 24, 2023
1 parent 54a889e commit 14b10f9
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.

Loading

0 comments on commit 14b10f9

Please sign in to comment.