Transfer: Push: Enable to specify platforms
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
@@ -100,6 +100,11 @@ type ImageUnpacker interface {
|
||||
UnpackPlatforms() []UnpackConfiguration
|
||||
}
|
||||
|
||||
// ImagePlatformsGetter is type which returns configured platforms.
|
||||
type ImagePlatformsGetter interface {
|
||||
Platforms() []ocispec.Platform
|
||||
}
|
||||
|
||||
// UnpackConfiguration specifies the platform and snapshotter to use for resolving
|
||||
// the unpack Platform, if snapshotter is not specified the platform default will
|
||||
// be used.
|
||||
|
||||
Reference in New Issue
Block a user