- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 96 for makeBody (0.15 sec)
-
pkg/registry/core/node/strategy_test.go
compareNode: makeNode(nil, false, true), }, { name: "update with Spec.ConfigSource and Status.Config (old has them)", node: makeNode(nil, true, true), oldNode: makeNode(nil, true, true), compareNode: makeNode(nil, true, true), }, { name: "update with Spec.ConfigSource and Status.Config (old has Status.Config)",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 9.7K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
var pods = []*v1.Pod{ st.MakePod().Name("p0").Namespace("ns1").Annotation("annot1", "val1").NominatedNodeName("node1").Obj(), st.MakePod().Name("p1").Namespace("ns1").Annotation("annot", "val").Obj(), st.MakePod().Name("p2").Namespace("ns2").Annotation("annot2", "val2").Annotation("annot3", "val3").NominatedNodeName("node3").Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K 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/controller/garbagecollector/graph_builder_test.go
name: "namespaced alternate version", deps: []*node{ makeNode(ns1child1, withOwners(nsabsentparentns1)), makeNode(ns1child2, withOwners(nsabsentparent_version)), }, verifiedAbsent: nsabsentparentns1, expectedAlternate: &nsabsentparent_version, // switch to alternate version }, { name: "namespaced alternate kind", deps: []*node{ makeNode(ns1child1, withOwners(nsabsentparentns1)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 17 15:49:32 UTC 2020 - 7.6K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
}, }, }, waitSchedulingPods: []*v1.Pod{ st.MakePod().Name("pod1").UID("pod1").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod2").UID("pod2").SchedulerName(testSchedulerProfile1).Obj(), st.MakePod().Name("pod3").UID("pod3").SchedulerName(testSchedulerProfile2).Obj(), st.MakePod().Name("pod4").UID("pod4").SchedulerName(testSchedulerProfile3).Obj(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go
pod: &v1.Pod{}, nodeInfo: framework.NewNodeInfo(st.MakePod().Volume(volState).Obj()), name: "one state", preFilterWantStatus: framework.NewStatus(framework.Skip), wantStatus: nil, }, { pod: st.MakePod().Volume(volState).Obj(), nodeInfo: framework.NewNodeInfo(st.MakePod().Volume(volState).Obj()), name: "same state",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 17.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates_test.go
pod: st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(), oldObj: st.MakePod().Name("p").SchedulingGates([]string{"foo", "bar"}).Obj(), newObj: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(), expectedHint: framework.QueueSkip, }, "queue-on-gates-become-empty": { pod: st.MakePod().Name("p").SchedulingGates([]string{"foo"}).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/delete_test.go
pod: makePod(0), options: makeOption(2), }, // want 0 wantDeletionGracePeriodSeconds: utilpointer.Int64(0), wantGracePeriodSeconds: utilpointer.Int64(2), wantGraceful: false, wantGracefulPending: false, }, { name: "when DeletionGracePeriodSeconds=1, GracePeriodSeconds=-1", args: args{ pod: makePod(1), options: makeOption(-1), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 11:44:07 UTC 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/repair/repair_test_helpers.go
// Pod specs var ( brokenPodTerminating = makePod(makePodArgs{ PodName: "broken-pod-terminating", Annotations: map[string]string{ "sidecar.istio.io/status": "something", }, Labels: map[string]string{ "testlabel": "true", }, NodeName: "test-node", InitContainerStatus: &brokenInitContainerTerminating, }) brokenPodWaiting = makePod(makePodArgs{ PodName: "broken-pod-waiting",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 12 17:39:53 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/scheduler/internal/cache/snapshot_test.go
{ name: "pods not scheduled", pods: []*v1.Pod{ st.MakePod().Name("foo").Namespace("foo").Obj(), st.MakePod().Name("bar").Namespace("bar").Obj(), }, expected: sets.New[string](), }, { name: "scheduled pods that do not use any PVC", pods: []*v1.Pod{ st.MakePod().Name("foo").Namespace("foo").Node("node-1").Obj(), st.MakePod().Name("bar").Namespace("bar").Node("node-2").Obj(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 08:00:25 UTC 2023 - 12K bytes - Viewed (0)