Skip to content

Commit e0d43e5

Browse files
committed
chore: oci refactor and repo precheck
1 parent ee91d68 commit e0d43e5

4 files changed

Lines changed: 179 additions & 232 deletions

File tree

internal/core/ports/services_ports.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"github.com/gofiber/fiber/v2"
88
"github.com/highcard-dev/daemon/internal/core/domain"
99
v1 "github.com/opencontainers/image-spec/specs-go/v1"
10-
"oras.land/oras-go/v2/content/file"
1110
"oras.land/oras-go/v2/registry/remote"
1211
)
1312

@@ -85,10 +84,8 @@ type OciRegistryInterface interface {
8584
Pull(dir string, artifact string) error
8685
PullSelective(dir string, artifact string, includeData bool, progress *domain.SnapshotProgress) error
8786
CanUpdateTag(descriptor v1.Descriptor, folder string, tag string) (bool, error)
88-
PackFolders(fs *file.Store, dirs []string, artifactType domain.ArtifactType, path string) ([]v1.Descriptor, error)
8987
Push(folder string, repo string, tag string, overrides map[string]string, packMeta bool, scrollFile *domain.File) (v1.Descriptor, error)
9088
PushMeta(folder string, repo string) (v1.Descriptor, error)
91-
CreateMetaDescriptors(fs *file.Store, dir string, artifact string) ([]v1.Descriptor, error)
9289
}
9390

9491
type CronManagerInterface interface {

0 commit comments

Comments
 (0)