MCPcopy
hub / github.com/containerd/containerd / ListContainers

Method ListContainers

integration/remote/remote_runtime.go:171–173  ·  view source on GitHub ↗
(filter *runtimeapi.ContainerFilter, _ ...grpc.CallOption)

Source from the content-addressed store, hash-verified

169}
170
171func (r *RuntimeService) ListContainers(filter *runtimeapi.ContainerFilter, _ ...grpc.CallOption) ([]*runtimeapi.Container, error) {
172 return r.runtimeService.ListContainers(context.Background(), filter)
173}
174
175func (r *RuntimeService) ContainerStatus(containerID string, _ ...grpc.CallOption) (*runtimeapi.ContainerStatus, error) {
176 resp, err := r.runtimeService.ContainerStatus(context.Background(), containerID, false)

Callers

nothing calls this directly

Calls 1

ListContainersMethod · 0.65

Tested by

no test coverage detected