Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for foo4 (0.04 sec)

  1. pkg/kubelet/util/queue/work_queue_test.go

    	}
    }
    
    func TestGetWork(t *testing.T) {
    	q, clock := newTestBasicWorkQueue()
    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    	q.Enqueue(types.UID("foo4"), 1*time.Minute)
    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/config/config_test.go

    	// should register an add
    	podUpdate := CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new"))
    	channel <- podUpdate
    	expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.ADD, TestSource, CreateValidPod("foo", "new"), CreateValidPod("foo2", "new"), CreateValidPod("foo3", "new")))
    
    	// should ignore ADDs that are identical
    	expectNoPodUpdate(t, ch)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pilot/pkg/model/gateway_test.go

    	gwHTTPWildcard := makeConfig("foo3", "not-default", "*", "name3", "http", 8, "ingressgateway", "", networking.ServerTLSSettings_SIMPLE)
    	gwTCPWildcard := makeConfig("foo4", "not-default-2", "*", "name4", "tcp", 8, "ingressgateway", "", networking.ServerTLSSettings_SIMPLE)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		storedObj *example.Pod
    	}{
    		{
    			key: computePodKey(foo1),
    			obj: foo1,
    		},
    		{
    			key: computePodKey(bar2),
    			obj: bar2,
    		},
    		{
    			key: computePodKey(foo3),
    			obj: foo3,
    		},
    		{
    			key: computePodKey(foo4),
    			obj: foo4,
    		},
    	}
    
    	var currentRV string
    	for i, ps := range preset {
    		preset[i].storedObj = &example.Pod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    		},
    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo4"},
    				Status:     api.NodeStatus{Conditions: []api.NodeCondition{{Type: api.NodeReady, Status: api.ConditionFalse}}},
    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion
    			expected: []metav1.TableRow{{Cells: []interface{}{"foo4", "NotReady", "<none>", "<unknown>", ""}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "foo",
    			Namespace: "foo-ns",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name:  "foo1",
    					Image: "busybox",
    				},
    				{
    					Name:  "foo2",
    					Image: "busybox",
    				},
    				{
    					Name:  "foo3",
    					Image: "busybox",
    				},
    			},
    		},
    		Status: v1.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

            val instance = createFromPaths(listOf("foo*/*bar*/*baz/*.xml"))
            assertTrue(instance.isFileSystemCheckIgnoredFor(File("foo/bar/baz/.xml")))
            assertTrue(instance.isFileSystemCheckIgnoredFor(File("foo1/2bar3/4baz/abc.xml")))
        }
    
        @Test
        fun `recognizes double-asterisk wildcards across path segments`() {
            val instance = createFromPaths(listOf("foo/**/bar/**"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	// podA will be stored with name foo12345
    	podA := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    	// podB will generate the same name as podA "foo1" in the first try
    	podB := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{GenerateName: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine2"},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils_test.go

    		},
    		{
    			orig:    []string{"v1/pod/foo", "v1/set/bob"},
    			new:     []string{"v1/pod/foo", "v1/set/bob"},
    			changed: false,
    		},
    		{
    			orig:    []string{"v1/pod/foo", "v1/set/bob"},
    			new:     []string{"v1/pod/foo", "v1/set/bob", "v1/set/bob"},
    			changed: true,
    		},
    		{
    			orig:    []string{"v1/pod/foo", "v1/set/bob"},
    			new:     []string{"v1/set/bob", "v1/pod/foo"},
    			changed: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller_test.go

    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: metav1.NamespaceAll},
    			},
    			expectedName: "",
    		},
    		// matching labels, different namespace
    		{
    			job: &batch.Job{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo"},
    				Spec: batch.JobSpec{
    					Selector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{"foo": "bar"},
    					},
    				},
    			},
    			pod: &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top