const fakeSeccompProfileRoot … const fakeNodeAllocatableMemory … const fakeNodeAllocatableCPU … const fakePodLogsDirectory … type fakeHTTP … func (f *fakeHTTP) Do(req *http.Request) (*http.Response, error) { … } type fakePodStateProvider … func newFakePodStateProvider() *fakePodStateProvider { … } func (f *fakePodStateProvider) IsPodTerminationRequested(uid types.UID) bool { … } func (f *fakePodStateProvider) ShouldPodRuntimeBeRemoved(uid types.UID) bool { … } func (f *fakePodStateProvider) ShouldPodContentBeRemoved(uid types.UID) bool { … } type fakePodPullingTimeRecorder … func (f *fakePodPullingTimeRecorder) RecordImageStartedPulling(podUID types.UID) { … } func (f *fakePodPullingTimeRecorder) RecordImageFinishedPulling(podUID types.UID) { … } func newFakeKubeRuntimeManager(runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, machineInfo *cadvisorapi.MachineInfo, osInterface kubecontainer.OSInterface, runtimeHelper kubecontainer.RuntimeHelper, keyring credentialprovider.DockerKeyring, tracer trace.Tracer) (*kubeGenericRuntimeManager, error) { … }