- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CalledFunctions (0.32 sec)
-
pkg/kubelet/cm/fake_container_manager.go
cm.CalledFunctions = append(cm.CalledFunctions, "QOSContainersInfo") return QOSContainersInfo{} } func (cm *FakeContainerManager) UpdateQOSCgroups() error { cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "UpdateQOSCgroups") return nil } func (cm *FakeContainerManager) Status() Status { cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "Status") return Status{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 17:33:04 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/kubelet/cm/fake_pod_container_manager.go
} func (m *FakePodContainerManager) Exists(_ *v1.Pod) bool { m.Lock() defer m.Unlock() m.CalledFunctions = append(m.CalledFunctions, "Exists") return true } func (m *FakePodContainerManager) EnsureExists(_ *v1.Pod) error { m.Lock() defer m.Unlock() m.CalledFunctions = append(m.CalledFunctions, "EnsureExists") return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
f.Lock() defer f.Unlock() f.CalledFunctions = append(f.CalledFunctions, "Version") return &FakeVersion{Version: f.VersionInfo}, f.Err } func (f *FakeRuntime) APIVersion() (kubecontainer.Version, error) { f.Lock() defer f.Unlock() f.CalledFunctions = append(f.CalledFunctions, "APIVersion") return &FakeVersion{Version: f.APIVersionInfo}, f.Err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/images/image_manager_test.go
ctx := context.Background() puller, fakeClock, fakeRuntime, container, fakePodPullingTimeRecorder := pullerTestEnv(t, c, useSerializedEnv, nil) for _, expected := range c.expected { fakeRuntime.CalledFunctions = nil fakeClock.Step(time.Second) _, _, err := puller.EnsureImageExists(ctx, pod, container, nil, nil, "") fakeRuntime.AssertCalls(expected.calls) assert.Equal(t, expected.err, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
fakeContainerManager.PodContainerManager.Lock() defer fakeContainerManager.PodContainerManager.Unlock() destroyCount = 0 for _, functionName := range fakeContainerManager.PodContainerManager.CalledFunctions { if functionName == "Destroy" { destroyCount = destroyCount + 1 } } return destroyCount >= 1, nil }) assert.NoError(t, err, "wait should not return error")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0)