| 141 | } |
| 142 | |
| 143 | func (r *RuntimeService) PodSandboxStatus(podSandboxID string, _ ...grpc.CallOption) (*runtimeapi.PodSandboxStatus, error) { |
| 144 | resp, err := r.runtimeService.PodSandboxStatus(context.Background(), podSandboxID, false) |
| 145 | if err != nil { |
| 146 | return nil, err |
| 147 | } |
| 148 | return resp.GetStatus(), nil |
| 149 | } |
| 150 | |
| 151 | func (r *RuntimeService) ListPodSandbox(filter *runtimeapi.PodSandboxFilter, _ ...grpc.CallOption) ([]*runtimeapi.PodSandbox, error) { |
| 152 | return r.runtimeService.ListPodSandbox(context.Background(), filter) |