mirror of
https://github.com/containers/skopeo.git
synced 2025-08-22 16:26:00 +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 {
|
||||
Layers(layers []string) error // var args
|
||||
Layers(layers ...string) error // configure download directory? Call it DownloadLayers?
|
||||
Manifest(version string) (ImageManifest, error)
|
||||
RawManifest(version string) ([]byte, error)
|
||||
DockerTar() ([]byte, error) // ???
|
||||
DockerTar() ([]byte, error) // ??? also, configure output directory
|
||||
}
|
||||
|
||||
type ImageManifest struct {
|
||||
@ -27,10 +27,10 @@ type ImageManifest struct {
|
||||
RepoTags []string
|
||||
Comment string
|
||||
Created string
|
||||
ContainerConfig *containerTypes.Config // remove docker/docker code
|
||||
ContainerConfig *containerTypes.Config // remove docker/docker code, this isn't needed
|
||||
DockerVersion 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
|
||||
Os string
|
||||
Layers []string // ???
|
||||
|
Loading…
Reference in New Issue
Block a user