- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for fakeNode (0.4 sec)
-
pkg/scheduler/scheduler_test.go
if !ok { return []string{}, nil } return []string{nodeName}, nil } const ( filterWithoutEnqueueExtensions = "filterWithoutEnqueueExtensions" fakeNode = "fakeNode" fakePod = "fakePod" emptyEventsToRegister = "emptyEventsToRegister" queueSort = "no-op-queue-sort-plugin" fakeBind = "bind-plugin"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K 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) -
pkg/volume/csi/csi_plugin_test.go
host = volumetest.NewFakeVolumeHostWithCSINodeName(t, tmpDir, client, ProbeVolumePlugins(), "fakeNode", csiDriverLister, nil, ) case kubeletVolumeHostType: host = volumetest.NewFakeKubeletVolumeHostWithCSINodeName(t, tmpDir, client, ProbeVolumePlugins(), "fakeNode", csiDriverLister, volumeAttachmentLister, ) case attachDetachVolumeHostType:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
// stop1 should be killed early, as part of test if !stopped1 { close(stop1) } }() defer close(stop2) go c1.Run(stop1) go c2.Run(stop2) go store.Run(stop2) n := fakeNode("reg1", "zone1", "subzone1") var p1conn1, p1conn2 *fakeConn p := fakeProxy("1.2.3.4", wgA, "nw1", "sa-a") p.Locality = n.Locality var p2conn1 *fakeConn p2 := fakeProxy("1.2.3.4", wgA, "nw2", "sa-a")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K 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/kubelet/prober/scale_test.go
).(*manager) defer cleanup(t, m) now := time.Now() fakePods := make([]*fakePod, numTestPods) for i := 0; i < numTestPods; i++ { fake, err := newFakePod(tt.http) if err != nil { t.Fatalf("unexpected error creating fake pod: %v", err) } defer fake.stop() handler := fake.probeHandler() fakePods[i] = fake pod := v1.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
processEvent(makeAddEvent(pod2ns1, deployment1apps)), assertState(state{ graphNodes: []*node{makeNode(pod1ns1, withOwners(deployment1extensions)), makeNode(deployment1extensions, virtual), makeNode(pod2ns1, withOwners(deployment1apps))}, pendingAttemptToDelete: []*node{makeNode(deployment1extensions, virtual), makeNode(pod2ns1, withOwners(deployment1apps))}, // mismatched child enqueued for delete attempt }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
Obj(), nodes: []*v1.Node{ st.MakeNode().Name("node-a").Label("zone", "zone1").Label("node", "node-a").Obj(), st.MakeNode().Name("node-b").Label("zone", "zone1").Label("node", "node-b").Obj(), st.MakeNode().Name("node-x").Label("zone", "zone2").Label("node", "node-x").Obj(), st.MakeNode().Name("node-y").Label("zone", "zone2").Label("node", "node-y").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 143.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
st.MakePod().Name("p-d3").Node("node-d").Label("foo", "").Obj(), }, nodes: []*v1.Node{ st.MakeNode().Name("node-a").Label(v1.LabelHostname, "node-a").Obj(), st.MakeNode().Name("node-b").Label(v1.LabelHostname, "node-b").Obj(), st.MakeNode().Name("node-c").Label(v1.LabelHostname, "node-c").Obj(), st.MakeNode().Name("node-d").Label(v1.LabelHostname, "node-d").Obj(), }, failedNodes: []*v1.Node{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0)