(ctx context.Context, pod *api.PodSandbox, ctr *api.Container)
| 1008 | } |
| 1009 | |
| 1010 | func (m *mockPlugin) PostCreateContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error { |
| 1011 | if !m.inNamespace(pod.Namespace) { |
| 1012 | return nil |
| 1013 | } |
| 1014 | |
| 1015 | m.Log("PostCreateContainer %s/%s/%s", pod.Namespace, pod.Name, ctr.Name) |
| 1016 | m.pods[pod.Id] = pod |
| 1017 | m.ctrs[ctr.Id] = ctr |
| 1018 | m.q.Add(ContainerEvent(ctr, PostCreateContainer)) |
| 1019 | m.postCreateContainer(m, pod, ctr) |
| 1020 | return nil |
| 1021 | } |
| 1022 | |
| 1023 | func (m *mockPlugin) StartContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error { |
| 1024 | if !m.inNamespace(pod.Namespace) { |
nothing calls this directly
no test coverage detected