- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fakePod2 (0.23 sec)
-
pkg/kubelet/cm/memorymanager/memory_manager_test.go
} for _, testCase := range testCases { t.Run(testCase.description, func(t *testing.T) { iniContainerMap := containermap.NewContainerMap() iniContainerMap.Add("fakePod1", "fakeContainer1", "fakeID1") iniContainerMap.Add("fakePod1", "fakeContainer2", "fakeID2") mgr := &manager{ policy: returnPolicyByName(testCase), state: state.NewMemoryState(), containerMap: iniContainerMap,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
expectedAttachID: getAttachmentName("test-vol", "attachable", "fakeNode"), expectError: false, }, { name: "failed attach with vol source", makeAttachment: func() *storage.VolumeAttachment { testAttachID := getAttachmentName("test-vol", "attachable", "fakeNode") successfulAttachment := makeTestAttachment(testAttachID, "fakeNode", "volSrc01") successfulAttachment.Status.Attached = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
func(b *testing.B) { // create sample pods fakePods := make([]example.Pod, tc.totalObjectNum, tc.totalObjectNum) for i := range fakePods { fakePods[i].Namespace = "default" fakePods[i].Name = fmt.Sprintf("pod-%d", i) fakePods[i].ResourceVersion = strconv.Itoa(i) if i%(tc.totalObjectNum/tc.expectObjectNum) == 0 { fakePods[i].Spec.NodeName = "node-0" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
tensorflow/c/kernels_test.cc
std::unique_ptr<OpKernel> GetFakeKernelWithAttr(const char* op_name, AttrValue v, Status* status) { NodeDef def; def.set_op(op_name); def.set_name("FakeNode"); def.set_device("FakeDevice"); (*def.mutable_attr())["Attr"] = v; return CreateOpKernel(DeviceType("FakeDevice"), nullptr, nullptr, def, 1, status); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
prefix: "/pods", pred: storage.SelectionPredicate{ Field: fields.OneTermEqualSelector("spec.nodeName", "fakeNode"), Label: labels.Everything(), Limit: 5, }, rv: list.ResourceVersion, rvMatch: metav1.ResourceVersionMatchNotOlderThan, expectedOut: []example.Pod{*preset[0]}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
deletionTimestamp := &now if !terminating { deletionTimestamp = nil } return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: "ns", Name: "fakepod", DeletionTimestamp: deletionTimestamp, Labels: map[string]string{"foo": "bar"}, }, Spec: v1.PodSpec{ Containers: []v1.Container{{Ports: []v1.ContainerPort{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0)