| 173 | } |
| 174 | |
| 175 | func (r *RuntimeService) ContainerStatus(containerID string, _ ...grpc.CallOption) (*runtimeapi.ContainerStatus, error) { |
| 176 | resp, err := r.runtimeService.ContainerStatus(context.Background(), containerID, false) |
| 177 | if err != nil { |
| 178 | return nil, err |
| 179 | } |
| 180 | return resp.GetStatus(), nil |
| 181 | } |
| 182 | |
| 183 | func (r *RuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources, windowsResources *runtimeapi.WindowsContainerResources, _ ...grpc.CallOption) error { |
| 184 | return r.runtimeService.UpdateContainerResources(context.Background(), containerID, &runtimeapi.ContainerResources{ |