(ctx context.Context, pod *api.PodSandbox)
| 962 | } |
| 963 | |
| 964 | func (m *mockPlugin) PostUpdatePodSandbox(ctx context.Context, pod *api.PodSandbox) error { |
| 965 | if !m.inNamespace(pod.Namespace) { |
| 966 | return nil |
| 967 | } |
| 968 | |
| 969 | m.Log("PostUpdatePodSandbox %s/%s", pod.Namespace, pod.Name) |
| 970 | m.pods[pod.Id] = pod |
| 971 | m.q.Add(PodSandboxEvent(pod, PostUpdatePodSandbox)) |
| 972 | return m.postUpdatePodSandbox(m, pod) |
| 973 | } |
| 974 | |
| 975 | func (m *mockPlugin) StopPodSandbox(ctx context.Context, pod *api.PodSandbox) error { |
| 976 | if !m.inNamespace(pod.Namespace) { |
nothing calls this directly
no test coverage detected