containerd/vendor/github.com/containerd/continuity
Sebastiaan van Stijn f9083f167a
vendor: containerd/containerd v1.4.0-beta.0
full diff: ed261720c8...v1.4.0-beta.0

Relevant changes:

- Replace errors.Cause() with errors.Is()
- Transfer error to ErrNotFound when kill a not exist container
- vendor: update containerd/cri, remove "docker/distribution" dependency
- vendor: containerd/continuity, containerd/fifo, containerd/go-runc
- vendor: opencontainers/go-digest v1.0.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-05-16 14:37:00 +02:00
..
devices Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
driver vendor: containerd/containerd v1.4.0-beta.0 2020-05-16 14:37:00 +02:00
fs vendor: containerd/containerd v1.4.0-beta.0 2020-05-16 14:37:00 +02:00
pathdriver Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
proto Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
sysx vendor: containerd/containerd v1.4.0-beta.0 2020-05-16 14:37:00 +02:00
context.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
digests.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
go.mod vendor: update containerd 0131015594 2020-03-05 23:49:40 +01:00
groups_unix.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
hardlinks_unix.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
hardlinks_windows.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
hardlinks.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
ioutils.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
LICENSE Update containerd to 59a625defb 2019-09-12 18:13:15 -07:00
manifest.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
README.md Update containerd to 59a625defb 2019-09-12 18:13:15 -07:00
resource_unix.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
resource_windows.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00
resource.go Update containerd to f88d3e5d6d. 2018-09-26 15:23:15 -07:00

continuity

GoDoc Build Status

A transport-agnostic, filesystem metadata manifest system

This project is a staging area for experiments in providing transport agnostic metadata storage.

Please see https://github.com/opencontainers/specs/issues/11 for more details.

Manifest Format

A continuity manifest encodes filesystem metadata in Protocol Buffers. Please refer to proto/manifest.proto.

Usage

Build:

$ make

Create a manifest (of this repo itself):

$ ./bin/continuity build . > /tmp/a.pb

Dump a manifest:

$ ./bin/continuity ls /tmp/a.pb
...
-rw-rw-r--      270 B   /.gitignore
-rw-rw-r--      88 B    /.mailmap
-rw-rw-r--      187 B   /.travis.yml
-rw-rw-r--      359 B   /AUTHORS
-rw-rw-r--      11 kB   /LICENSE
-rw-rw-r--      1.5 kB  /Makefile
...
-rw-rw-r--      986 B   /testutil_test.go
drwxrwxr-x      0 B     /version
-rw-rw-r--      478 B   /version/version.go

Verify a manifest:

$ ./bin/continuity verify . /tmp/a.pb

Break the directory and restore using the manifest:

$ chmod 777 Makefile
$ ./bin/continuity verify . /tmp/a.pb
2017/06/23 08:00:34 error verifying manifest: resource "/Makefile" has incorrect mode: -rwxrwxrwx != -rw-rw-r--
$ ./bin/continuity apply . /tmp/a.pb
$ stat -c %a Makefile
664
$ ./bin/continuity verify . /tmp/a.pb

Contribution Guide

Building Proto Package

If you change the proto file you will need to rebuild the generated Go with go generate.

$ go generate ./proto

Project details

continuity is a containerd sub-project, licensed under the Apache 2.0 license. As a containerd sub-project, you will find the:

information in our containerd/project repository.