(ctx context.Context, pod *api.PodSandbox, ctr *api.Container)
| 1021 | } |
| 1022 | |
| 1023 | func (m *mockPlugin) StartContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error { |
| 1024 | if !m.inNamespace(pod.Namespace) { |
| 1025 | return nil |
| 1026 | } |
| 1027 | |
| 1028 | m.Log("StartContainer %s/%s/%s", pod.Namespace, pod.Name, ctr.Name) |
| 1029 | m.pods[pod.Id] = pod |
| 1030 | m.ctrs[ctr.Id] = ctr |
| 1031 | m.q.Add(ContainerEvent(ctr, StartContainer)) |
| 1032 | return nil |
| 1033 | } |
| 1034 | |
| 1035 | func (m *mockPlugin) PostStartContainer(ctx context.Context, pod *api.PodSandbox, ctr *api.Container) error { |
| 1036 | if !m.inNamespace(pod.Namespace) { |
nothing calls this directly
no test coverage detected