Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 42c5c1a9ec14f00d5a5367131493cbd6de7d72b0 Component: engine
12 lines
285 B
Go
12 lines
285 B
Go
package layer
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/docker/distribution"
|
|
)
|
|
|
|
func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, platform Platform, descriptor distribution.Descriptor) (Layer, error) {
|
|
return ls.registerWithDescriptor(ts, parent, platform, descriptor)
|
|
}
|