ro_layer_windows.go 293 B

12345678910111213141516
  1. package layer
  2. import "github.com/docker/distribution"
  3. var _ distribution.Describable = &roLayer{}
  4. func (rl *roLayer) Descriptor() distribution.Descriptor {
  5. return rl.descriptor
  6. }
  7. func (rl *roLayer) Platform() Platform {
  8. if rl.platform == "" {
  9. return "windows"
  10. }
  11. return rl.platform
  12. }