Vendor changes

Vendoring (NEW) in github.com/Microsoft/hcsshim
This commit is contained in:
Madhan Raj Mookkandy
2017-08-25 12:41:16 -07:00
parent 5b87513972
commit 63020d5f72
50 changed files with 7013 additions and 564 deletions

23
vendor/github.com/Microsoft/hcsshim/processimage.go generated vendored Normal file
View File

@@ -0,0 +1,23 @@
package hcsshim
import "os"
// ProcessBaseLayer post-processes a base layer that has had its files extracted.
// The files should have been extracted to <path>\Files.
func ProcessBaseLayer(path string) error {
err := processBaseImage(path)
if err != nil {
return &os.PathError{Op: "ProcessBaseLayer", Path: path, Err: err}
}
return nil
}
// ProcessUtilityVMImage post-processes a utility VM image that has had its files extracted.
// The files should have been extracted to <path>\Files.
func ProcessUtilityVMImage(path string) error {
err := processUtilityImage(path)
if err != nil {
return &os.PathError{Op: "ProcessUtilityVMImage", Path: path, Err: err}
}
return nil
}