Skip to content

Commit

Permalink
Move fsverity package to internal
Browse files Browse the repository at this point in the history
This functionality is not directly related to containerd and could move
to external package at some point.

Signed-off-by: Derek McGowan <[email protected]>
  • Loading branch information
dmcgowan committed Jul 1, 2024
1 parent 7103e38 commit 23170e2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions plugins/content/local/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ import (
"sync"
"time"

"github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/pkg/filters"
"github.com/containerd/containerd/v2/pkg/fsverity"
"github.com/containerd/errdefs"
"github.com/containerd/log"

"github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/internal/fsverity"
"github.com/containerd/containerd/v2/pkg/filters"

"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
Expand Down
5 changes: 3 additions & 2 deletions plugins/content/local/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ import (
"testing"
"time"

"github.com/containerd/errdefs"

"github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/core/content/testsuite"
"github.com/containerd/containerd/v2/internal/fsverity"
"github.com/containerd/containerd/v2/internal/randutil"
"github.com/containerd/containerd/v2/pkg/fsverity"
"github.com/containerd/containerd/v2/pkg/testutil"
"github.com/containerd/errdefs"

"github.com/opencontainers/go-digest"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
Expand Down
5 changes: 3 additions & 2 deletions plugins/content/local/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ import (
"runtime"
"time"

"github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/pkg/fsverity"
"github.com/containerd/errdefs"
"github.com/containerd/log"
"github.com/opencontainers/go-digest"

"github.com/containerd/containerd/v2/core/content"
"github.com/containerd/containerd/v2/internal/fsverity"
)

// writer represents a write transaction against the blob store.
Expand Down

0 comments on commit 23170e2

Please sign in to comment.