Skip to content

Commit

Permalink
Move oci/wclayer to internal for now
Browse files Browse the repository at this point in the history
We may want to iterate on this interface a bit before we support it
outside of hcsshim.
  • Loading branch information
John Starks committed May 15, 2018
1 parent e585ff8 commit eb0cc25
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/wclayer/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

winio "github.com/Microsoft/go-winio"
"github.com/Microsoft/hcsshim/internal/appargs"
"github.com/Microsoft/hcsshim/oci/wclayer"
"github.com/Microsoft/hcsshim/internal/ociwclayer"
"github.com/urfave/cli"
)

Expand Down Expand Up @@ -61,6 +61,6 @@ var exportCommand = cli.Command{
w = gzip.NewWriter(w)
}

return wclayer.ExportLayer(w, path, layers)
return ociwclayer.ExportLayer(w, path, layers)
},
}
4 changes: 2 additions & 2 deletions cmd/wclayer/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/Microsoft/go-winio"
"github.com/Microsoft/hcsshim/internal/appargs"
"github.com/Microsoft/hcsshim/oci/wclayer"
"github.com/Microsoft/hcsshim/internal/ociwclayer"
"github.com/urfave/cli"
)

Expand Down Expand Up @@ -56,7 +56,7 @@ var importCommand = cli.Command{
if err != nil {
return err
}
_, err = wclayer.ImportLayer(r, path, layers)
_, err = ociwclayer.ImportLayer(r, path, layers)
return err
},
}
Expand Down
4 changes: 2 additions & 2 deletions oci/wclayer/export.go → internal/ociwclayer/export.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package wclayer provides functions for importing and exporting Windows
// Package ociwclayer provides functions for importing and exporting Windows
// container layers from and to their OCI tar representation.
package wclayer
package ociwclayer

import (
"io"
Expand Down
2 changes: 1 addition & 1 deletion oci/wclayer/import.go → internal/ociwclayer/import.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wclayer
package ociwclayer

import (
"bufio"
Expand Down

0 comments on commit eb0cc25

Please sign in to comment.