Update documentation for containerd v2.0 packages

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
This commit is contained in:
Austin Vazquez
2023-11-15 21:48:00 +00:00
parent 134dc8782b
commit 1af0cba1a8
10 changed files with 52 additions and 42 deletions

View File

@@ -12,7 +12,7 @@ It is trivial for clients to switch namespaces.
## Who specifies the namespace?
The client specifies the namespace via the `context`.
There is a `github.com/containerd/containerd/namespaces` package that allows a user to get and set the namespace on a context.
There is a `github.com/containerd/containerd/v2/namespaces` package that allows a user to get and set the namespace on a context.
```go
// set a namespace