diff --git a/docs/PLUGINS.md b/docs/PLUGINS.md index 8a9b84f9f..4aedf1a87 100644 --- a/docs/PLUGINS.md +++ b/docs/PLUGINS.md @@ -48,7 +48,7 @@ Update the containerd config file, which by default is at `/etc/containerd/config.toml`. Add a `[proxy_plugins]` section along with a section for your given plugin `[proxy_plugins.myplugin]`. The `address` must refer to a local socket file which the containerd process has access to. The -currently supported types are `snapshot` and `content`. +currently supported types are `snapshot`, `content`, and `diff`. ```toml version = 2 @@ -63,8 +63,7 @@ version = 2 Implementing a proxy plugin is as easy as implementing the gRPC API for a service. For implementing a proxy plugin in Go, look at the go doc for -[content store service](https://godoc.org/github.com/containerd/containerd/api/services/content/v1#ContentServer) -and [snapshotter service](https://godoc.org/github.com/containerd/containerd/api/services/snapshots/v1#SnapshotsServer). +[content store service](https://godoc.org/github.com/containerd/containerd/api/services/content/v1#ContentServer), [snapshotter service](https://godoc.org/github.com/containerd/containerd/api/services/snapshots/v1#SnapshotsServer), and [diff service](https://pkg.go.dev/github.com/containerd/containerd/api/services/diff/v1#DiffServer). The following example creates a snapshot plugin binary which can be used with any implementation of