buildkit/vendor/github.com/containerd/continuity
CrazyMax 39f6b4e739
Bump github.com/containerd/containerd to v1.6.0-rc.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-28 10:18:59 +01:00
..
devices Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
driver Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
fs Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
pathdriver vendor: update containerd to v1.2.0-rc.1 2018-10-12 15:27:54 -07:00
proto go.mod: containerd v1.5.0-rc.2 2021-04-21 03:43:35 +09:00
sysx Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
.gitignore Migrate from vndr to go mod 2019-01-31 22:44:47 +00:00
.golangci.yml update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
.mailmap Migrate from vndr to go mod 2019-01-31 22:44:47 +00:00
AUTHORS update to containerd v1.6.0-beta.1 2021-10-26 22:48:51 +02:00
LICENSE vendor: update containerd and continuity 2019-04-25 23:33:52 -07:00
Makefile update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
README.md update to containerd v1.6.0-beta.1 2021-10-26 22:48:51 +02:00
context.go Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
digests.go update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
groups_unix.go update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
hardlinks.go update containerd to v1.4.0, runc to v1.0.0-rc92 2020-08-18 22:19:53 +09:00
hardlinks_unix.go Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
hardlinks_windows.go vendor: update containerd to v1.2.0-rc.1 2018-10-12 15:27:54 -07:00
ioutils.go vendor: update containerd to v1.2.0-rc.1 2018-10-12 15:27:54 -07:00
manifest.go Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
resource.go vendor: update containerd to v1.2.0-rc.1 2018-10-12 15:27:54 -07:00
resource_unix.go Bump github.com/containerd/containerd to v1.6.0-rc.1 2022-01-28 10:18:59 +01:00
resource_windows.go vendor: update containerd to v1.2.0-rc.1 2018-10-12 15:27:54 -07:00

README.md

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

Platforms

continuity primarily targets Linux. continuity may compile for and work on other operating systems, but those platforms are not tested.

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.