(ctx context.Context, pod *api.PodSandbox, ctr *api.Container)
| 1057 | } |
| 1058 | |
| 1059 | func (m *mockPlugin) PostUpdateContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error { |
| 1060 | if !m.inNamespace(pod.Namespace) { |
| 1061 | return nil |
| 1062 | } |
| 1063 | |
| 1064 | m.Log("PostUpdateContainer %s/%s/%s", pod.Namespace, pod.Name, ctr.Name) |
| 1065 | m.pods[pod.Id] = pod |
| 1066 | m.ctrs[ctr.Id] = ctr |
| 1067 | m.q.Add(ContainerEvent(ctr, PostUpdateContainer)) |
| 1068 | m.postUpdateContainer(m, pod, ctr) |
| 1069 | return nil |
| 1070 | } |
| 1071 | |
| 1072 | func (m *mockPlugin) StopContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) ([]*api.ContainerUpdate, error) { |
| 1073 | if !m.inNamespace(pod.Namespace) { |
nothing calls this directly
no test coverage detected