mirror of
https://github.com/containers/skopeo.git
synced 2025-09-22 18:37:21 +00:00
add v2ManifestFetcher
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
@@ -1 +1,22 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/docker/distribution"
|
||||
"github.com/docker/docker/reference"
|
||||
"github.com/docker/docker/registry"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
type v2ManifestFetcher struct {
|
||||
endpoint registry.APIEndpoint
|
||||
repoInfo *registry.RepositoryInfo
|
||||
repo distribution.Repository
|
||||
confirmedV2 bool
|
||||
}
|
||||
|
||||
func (mf *v2ManifestFetcher) Fetch(ctx context.Context, ref reference.Named) (*imageInspect, error) {
|
||||
fmt.Println("ciaone")
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user