diff-exporter

command module
v0.0.0-...-b82d7c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 0

README

diff-exporter

The diff-exporter extracts (exports) the diff layer given a running container ID and a bundle path (that contains the config.json). The layer is saved to the location provided by the -outputFile parameter. The output layer is of tar.gz mediatype and the filename is the sha256 of its contents.

Building

Make sure GOPATH is set. Then run:

go build

It generates a diff-exporter.exe in the current directory.

Usage

diff-exporter.exe <-outputFile outputFile> <-containerId containerId> <-bundlePath bundlePath>

Testing

Requirements

To run the entire suite of tests, do ginkgo -r .

The tests require the following env variables to be set:

  • GROOT_BINARY

  • GROOT_IMAGE_STORE

  • WINC_BINARY

  • WINC_TEST_ROOTFS

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
integration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL