- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 172 for addpad (0.1 sec)
-
pkg/kubelet/prober/testing/fake_manager.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" ) // FakeManager simulates a prober.Manager for testing. type FakeManager struct{} // Unused methods below. // AddPod simulates adding a Pod. func (FakeManager) AddPod(_ *v1.Pod) {} // RemovePod simulates removing a Pod. func (FakeManager) RemovePod(_ *v1.Pod) {} // Simulated stopping liveness and startup probes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 1.4K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter_test.go
}) s.nc.Create(node) } } func (s *nodeTainterTestServer) addCniPod(t *testing.T, node string, markReady bool) { s.addPod(t, node, markReady, cniPodLabels, systemNS) } func (s *nodeTainterTestServer) addPod(t *testing.T, node string, markReady bool, labels map[string]string, ns string) { t.Helper() ip := "1.2.3.4" name := "istio-cni-" + node if ns == "" { ns = systemNS
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc
tf_executor::CreateTFExecutorIslandCoarseningPass()); pm.addPass(TF::CreateTFFunctionalControlFlowToRegions()); pm.addPass(mlir::createInlinerPass()); pm.addPass(mlir::createSymbolDCEPass()); pm.addPass(mlir::createCanonicalizerPass()); pm.addPass(mlir::TF::CreateTFShapeInferencePass()); pm.addPass(mlir::createCanonicalizerPass()); pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 04:34:23 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
toco_flags.tf_quantization_mode().empty()) { pass_manager->addPass(mlir::TFL::CreatePrepareCompositeFunctionsPass()); } pass_manager->addPass(mlir::createInlinerPass()); pass_manager->addPass(mlir::createSymbolDCEPass()); if (pass_config.legalize_custom_tensor_list_ops) { pass_manager->addPass(mlir::TFL::CreateLegalizeTensorListPass()); } if (pass_config.lower_tensor_list_ops &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
defer cleanup(t, m) if err := expectProbes(m, nil); err != nil { t.Error(err) } // Adding a pod with no probes should be a no-op. m.AddPod(&noProbePod) if err := expectProbes(m, nil); err != nil { t.Error(err) } // Adding a pod with probes. m.AddPod(&probePod) probePaths := []probeKey{ {"probe_pod", "readiness", readiness}, {"probe_pod", "liveness", liveness},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
fakePodManager.AddPod(existingPod) dswp.findAndAddNewPods() } newContainer := container newContainer.SecurityContext.SELinuxOptions = tc.newContainerSELinuxOpts newPod := createPodWithVolume("dswp-test-pod", "dswp-test-volume-name", "file-bound", []v1.Container{newContainer}) // Act - add the new Pod fakePodManager.AddPod(newPod) dswp.findAndAddNewPods()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_test.go
"configmap:ns/cm3": {"pod:ns/pod2", "pod:ns/pod3"}, "serviceAccount:ns/sa1": {"pod:ns/pod2", "pod:ns/pod3"}, }) expectIndex(map[string][]string{}) // add two to get above the threshold addPod(1, 1) addPod(4, 1) expectGraph(map[string][]string{ "node:node1": {}, "node:node2": {}, "node:node3": {}, "pod:ns/pod1": {"node:node1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:14:19 UTC 2022 - 12.3K bytes - Viewed (0) -
pkg/scheduler/internal/cache/fake/fake_cache.go
// ForgetPod is a fake method for testing. func (c *Cache) ForgetPod(logger klog.Logger, pod *v1.Pod) error { c.ForgetFunc(pod) return nil } // AddPod is a fake method for testing. func (c *Cache) AddPod(logger klog.Logger, pod *v1.Pod) error { return nil } // UpdatePod is a fake method for testing. func (c *Cache) UpdatePod(logger klog.Logger, oldPod, newPod *v1.Pod) error { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 05:26:32 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
|--123 | |Fox |--123-- | """.trimMargin().replace("\n", "\r\n") val body = MultipartBody.Builder("123") .addPart("Quick".toRequestBody(null)) .addPart("Brown".toRequestBody(null)) .addPart("Fox".toRequestBody(null)) .build() assertThat(body.boundary).isEqualTo("123") assertThat(body.type).isEqualTo(MultipartBody.MIXED)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph_populator.go
graph: graph, } podHandler, _ := pods.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: g.addPod, UpdateFunc: g.updatePod, DeleteFunc: g.deletePod, }) pvsHandler, _ := pvs.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: g.addPV, UpdateFunc: g.updatePV, DeleteFunc: g.deletePV, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 6.5K bytes - Viewed (0)