- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for pubnames (0.36 sec)
-
pkg/controller/disruption/disruption_test.go
pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromInt32(3)) pdb.Spec.Selector = &metav1.LabelSelector{} pod, _ := newPod(t, "yo-yo-yo") add(t, dc.pdbStore, pdb) dc.sync(ctx, pdbName) ps.VerifyPdbStatus(t, pdbName, 0, 0, 3, 0, map[string]metav1.Time{}) add(t, dc.podStore, pod) dc.sync(ctx, pdbName) ps.VerifyPdbStatus(t, pdbName, 0, 1, 3, 1, map[string]metav1.Time{}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
pods, err := ctrl.findPodsByPVCKey(pvcKey) if err != nil { return nil, err } podNames := []string{} for _, pod := range pods { if util.IsPodTerminated(pod, pod.Status) { continue } if len(pod.Spec.NodeName) == 0 { podNames = append(podNames, pod.Name) } } return podNames, nil } // doDeleteVolume finds appropriate delete plugin and deletes given volume, returning
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
src/cmd/dist/test.go
xexit(1) } } func (t *tester) shouldRunTest(name string) bool { if t.runRx != nil { return t.runRx.MatchString(name) == t.runRxWant } if len(t.runNames) == 0 { return true } for _, runName := range t.runNames { if runName == name { return true } } return false } func (t *tester) maybeLogMetadata() error { if t.compileOnly {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
pkg/controller/podautoscaler/replica_calculator_test.go
if tc.resource != nil { metrics := &metricsapi.PodMetricsList{} for i, resValue := range tc.resource.levels { podName := fmt.Sprintf("%s-%d", podNamePrefix, i) if len(tc.resource.podNames) > i { podName = tc.resource.podNames[i] } // NB: the list reactor actually does label selector filtering for us, // so we have to make sure our results match the label selector podMetric := metricsapi.PodMetrics{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/reconciler/reconciler_test.go
testForceDetachMetric(t, int(initialForceDetachCount)+1, metrics.ForceDetachReasonOutOfService) } func Test_ReportMultiAttachError(t *testing.T) { type nodeWithPods struct { name k8stypes.NodeName podNames []string } tests := []struct { name string nodes []nodeWithPods expectedEvents []string }{ { "no pods use the volume", []nodeWithPods{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 07:00:14 UTC 2024 - 72.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
} } n := &Name{Name: id} return n } // moduleName parses: // // <module-name> ::= <module-subname> // ::= <module-name> <module-subname> // ::= <substitution> # passed in by caller // <module-subname> ::= W <source-name> // ::= W P <source-name> // // The module name is optional. If it is not present, this returns the parent.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)