containerd/cmd/ctr/commands
Brian Goff 1a10211e3f WithLease: always return context and done fn
We should never return a nil context because of the way this function is
typically used... e.g.

```
  ctx, done, err := containerd.WithLease(ctx)
```

If there is an error `ctx` will be nil and any error handling may cause
an NPE if it tries to use `ctx`.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2020-04-25 21:16:43 -07:00
..
containers Add ctr c info --spec flag to output spec 2020-03-05 12:10:14 -05:00
content Add option to pull all metadata 2019-08-26 11:05:21 -07:00
events ctr events: do not exit on an error 2020-01-29 13:10:16 +09:00
images WithLease: always return context and done fn 2020-04-25 21:16:43 -07:00
install Add optional install path 2018-09-11 10:36:00 -04:00
leases *: replace 3600 seconds with 1 hour 2018-08-02 11:40:03 -07:00
namespaces runtime/opts: move WithNamespaceCgroupDeletion from containerd to its own package 2019-08-27 19:02:55 +00:00
plugins create local version of introspection service 2020-01-02 12:34:23 -08:00
pprof enhance: support specific duration for profile collection 2018-10-10 22:57:54 +08:00
run ctr: do not assume runc options by default 2020-03-24 18:45:34 +08:00
shim ctr: make ctr shim command easy to use 2019-05-17 11:56:08 +08:00
snapshots * fix: view snapshot is deleted before diff 2019-07-14 07:06:04 -04:00
tasks cpu metrics consistency 2019-12-17 12:30:12 +02:00
version adding go version to client description 2019-10-06 13:38:51 +02:00
client.go implement ctr -connect-timeout 2019-09-16 13:56:53 +02:00
commands_unix.go Move ContainerFlags to "commands" package 2018-06-20 18:33:59 -07:00
commands_windows.go Adding ctr memory and cpu flags 2018-12-10 13:31:59 -08:00
commands.go Update ctr resolver to use new config package 2020-03-31 22:52:10 -07:00
resolver.go Update ctr resolver to use new config package 2020-03-31 22:52:10 -07:00
signals.go signals: move ParseSignal to containerd package 2018-09-27 15:53:38 -07:00
utils.go Implemented image encryption/decryption libraries and ctr commands 2019-07-17 15:19:58 -04:00