fc21bf280b
Signed-off-by: John Howard <jhoward@microsoft.com>
16 lines
293 B
Go
16 lines
293 B
Go
package layer
|
|
|
|
import "github.com/docker/distribution"
|
|
|
|
var _ distribution.Describable = &roLayer{}
|
|
|
|
func (rl *roLayer) Descriptor() distribution.Descriptor {
|
|
return rl.descriptor
|
|
}
|
|
|
|
func (rl *roLayer) Platform() Platform {
|
|
if rl.platform == "" {
|
|
return "windows"
|
|
}
|
|
return rl.platform
|
|
}
|