(ctx context.Context, pod *api.PodSandbox)
| 984 | } |
| 985 | |
| 986 | func (m *mockPlugin) RemovePodSandbox(ctx context.Context, pod *api.PodSandbox) error { |
| 987 | if !m.inNamespace(pod.Namespace) { |
| 988 | return nil |
| 989 | } |
| 990 | |
| 991 | m.Log("RemovePodSandbox %s/%s", pod.Namespace, pod.Name) |
| 992 | delete(m.pods, pod.Id) |
| 993 | m.q.Add(PodSandboxEvent(pod, RemovePodSandbox)) |
| 994 | return m.removePodSandbox(m, pod) |
| 995 | } |
| 996 | |
| 997 | func (m *mockPlugin) CreateContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) (*api.ContainerAdjustment, []*api.ContainerUpdate, error) { |
| 998 | if !m.inNamespace(pod.Namespace) { |
nothing calls this directly
no test coverage detected