Danielle Lancashire
3125f7e1a0
cri_stats: handle missing cpu stats
...
Signed-off-by: Danielle Lancashire <dani@builds.terrible.systems>
2022-07-22 12:10:24 +00:00
James Sturtevant
0d6881898e
Refactor usageNanoCores be to used for all OSes
...
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2022-07-19 16:49:08 -07:00
Kazuyoshi Kato
e3db7de8f5
Remove gogo/protobuf and adjust types
...
This commit migrates containerd/protobuf from github.com/gogo/protobuf
to google.golang.org/protobuf and adjust types. Proto-generated structs
cannot be passed as values.
Fixes #6564 .
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2022-04-22 15:31:53 +00:00
Phil Estes
ee49c4d557
Add nolint:staticcheck to platform-specific calls
...
The linter on platforms that have a hardcoded response complains about
"if xyz == nil" checks; ignore those.
Signed-off-by: Phil Estes <estesp@amazon.com>
2022-03-17 18:24:00 -04:00
Shengjing Zhu
f4f41296c2
Replace golang.org/x/net/context with std library
...
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
2022-02-22 02:27:05 +08:00
haoyun
bbe46b8c43
feat: replace github.com/pkg/errors to errors
...
Signed-off-by: haoyun <yun.hao@daocloud.io>
Co-authored-by: zounengren <zouyee1989@gmail.com>
2022-01-07 10:27:03 +08:00
Alexander Minbaev
c8a009d18c
add-list-stat: return container list if filter is nil
...
Signed-off-by: Alexander Minbaev <alexander.minbaev@ibm.com>
2021-12-13 15:09:18 -06:00
Mike Brown
a5c417ac06
move up to CRI v1 and support v1alpha in parallel
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-06-28 09:34:12 -05:00
Derek McGowan
b22b627300
Move cri server packages under pkg/cri
...
Organizes the cri related server packages under pkg/cri
Signed-off-by: Derek McGowan <derek@mcg.dev>
2020-10-07 13:09:37 -07:00