mirror of
https://github.com/containers/skopeo.git
synced 2025-08-23 00:36:10 +00:00
fix to interfaces
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
0440473c63
commit
5d740b4611
@ -15,10 +15,10 @@ type Registry interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Image interface {
|
type Image interface {
|
||||||
Layers(layers []string) error // var args
|
Layers(layers ...string) error // configure download directory? Call it DownloadLayers?
|
||||||
Manifest(version string) (ImageManifest, error)
|
Manifest(version string) (ImageManifest, error)
|
||||||
RawManifest(version string) ([]byte, error)
|
RawManifest(version string) ([]byte, error)
|
||||||
DockerTar() ([]byte, error) // ???
|
DockerTar() ([]byte, error) // ??? also, configure output directory
|
||||||
}
|
}
|
||||||
|
|
||||||
type ImageManifest struct {
|
type ImageManifest struct {
|
||||||
@ -27,10 +27,10 @@ type ImageManifest struct {
|
|||||||
RepoTags []string
|
RepoTags []string
|
||||||
Comment string
|
Comment string
|
||||||
Created string
|
Created string
|
||||||
ContainerConfig *containerTypes.Config // remove docker/docker code
|
ContainerConfig *containerTypes.Config // remove docker/docker code, this isn't needed
|
||||||
DockerVersion string
|
DockerVersion string
|
||||||
Author string
|
Author string
|
||||||
Config *containerTypes.Config // remove docker/docker code
|
Config *containerTypes.Config // remove docker/docker code, needs just Labels here for now
|
||||||
Architecture string
|
Architecture string
|
||||||
Os string
|
Os string
|
||||||
Layers []string // ???
|
Layers []string // ???
|
||||||
|
Loading…
Reference in New Issue
Block a user