Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for podrest (0.43 sec)

  1. pkg/kubelet/config/common_test.go

    		Status: v1.PodStatus{
    			PodIP: "1.2.3.4",
    			PodIPs: []v1.PodIP{
    				{
    					IP: "1.2.3.4",
    				},
    			},
    		},
    	}
    	podList := &v1.PodList{
    		Items: []v1.Pod{*pod},
    	}
    	json, err := runtime.Encode(clientscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion), podList)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	parsed, podListOut, err := tryDecodePodList(json, noDefault)
    	if !parsed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. pkg/kubelet/runonce_test.go

    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	kubepod "k8s.io/kubernetes/pkg/kubelet/pod"
    	podtest "k8s.io/kubernetes/pkg/kubelet/pod/testing"
    	"k8s.io/kubernetes/pkg/kubelet/secret"
    	"k8s.io/kubernetes/pkg/kubelet/server/stats"
    	"k8s.io/kubernetes/pkg/kubelet/status"
    	statustest "k8s.io/kubernetes/pkg/kubelet/status/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. pkg/kubelet/container/runtime_cache_test.go

    	// Cache old pods.
    	oldpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}}
    	runtime.PodList = oldpods
    	cache.UpdateCacheWithLock()
    
    	// Update the runtime to new pods.
    	newpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}, {Pod: &Pod{ID: "2222"}}, {Pod: &Pod{ID: "3333"}}}
    	runtime.PodList = newpods
    
    	// An older timestamp should not force an update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("build/reports/pmd/test.xml").exists()
        }
    
        def "analyze bad code"() {
            badCode()
    
            expect:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':pmdTest'.")
            failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:"))
            failure.assertHasResolutions(SCAN)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/replica_calculator.go

    	podList, err := c.podLister.Pods(namespace).List(selector)
    	if err != nil {
    		return 0, fmt.Errorf("unable to get pods while calculating replica count: %v", err)
    	}
    
    	if len(podList) == 0 {
    		return 0, fmt.Errorf("no pods returned by selector while calculating replica count")
    	}
    
    	readyPodCount := 0
    
    	for _, pod := range podList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/printers/jsonpath_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	objects := map[string]runtime.Object{
    		"pod":             &v1.Pod{ObjectMeta: om("pod")},
    		"emptyPodList":    &v1.PodList{},
    		"nonEmptyPodList": &v1.PodList{Items: []v1.Pod{{}}},
    		"endpoints": &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Addresses: []v1.EndpointAddress{{IP: "127.0.0.1"}, {IP: "localhost"}},
    				Ports:     []v1.EndpointPort{{Port: 8080}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 15 21:58:20 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginDependenciesIntegrationTest.groovy

                pmd {
                    incrementalAnalysis = false
                }
            """.stripIndent()
    
            then:
            fails("check")
            failure.assertHasDescription("Execution failed for task ':pmdTest'.")
            and:
            succeeds("dependencies", "--configuration", "pmd")
            output.contains "$testDependency"
        }
    
        def "fails properly using older version of PMD without incremental analysis support"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager_switch_test.go

    	testUserNsPodsManager := &testUserNsPodsManager{
    		podDir: t.TempDir(),
    		// List the same pods we will record, so the second time we create the userns
    		// manager, it will find these pods on disk with userns data.
    		podList: pods,
    	}
    	m, err := MakeUserNsManager(testUserNsPodsManager)
    	require.NoError(t, err)
    
    	// Record the pods on disk.
    	for _, podUID := range pods {
    		pod := v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: podUID}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprLateInitializer.kt

        operator fun component2() = lastEpisodeDate
    }
    
    // FILE: main.kt
    package home
    
    import data.PodcastWithExtraInfo
    
    fun preview(featuredPodcast: PodcastWithExtraInfo) {
        val (podcast, lastEpisodeDate) = featuredPodcast
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 595 bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/printers/managedfields_test.go

    					},
    				},
    			},
    			expected: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod1"},
    			},
    		},
    		{
    			name: "pod list",
    			object: &v1.PodList{
    				Items: []v1.Pod{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:          "pod1",
    							ManagedFields: []metav1.ManagedFieldsEntry{},
    						},
    					},
    					{
    						ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 16 14:52:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top