Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for podrest (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	backingStorage := &dummyStorage{
    		getListFn: func(_ context.Context, _ string, _ storage.ListOptions, listObj runtime.Object) error {
    			podList := listObj.(*example.PodList)
    			var err error
    			switch listCalls {
    			case 0:
    				podList.ListMeta = metav1.ListMeta{ResourceVersion: "1"}
    			case 1:
    				podList.ListMeta = metav1.ListMeta{ResourceVersion: "10"}
    			default:
    				err = fmt.Errorf("unexpected list call")
    			}
    			listCalls++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    }
    
    var xxx_messageInfo_PodCondition proto.InternalMessageInfo
    
    func (m *PodList) Reset()      { *m = PodList{} }
    func (*PodList) ProtoMessage() {}
    func (*PodList) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c0604dbfc428ecfb, []int{2}
    }
    func (m *PodList) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PodList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. pkg/kubelet/config/common.go

    		}
    	}
    
    	return true, v1Pod, nil
    }
    
    func tryDecodePodList(data []byte, defaultFn defaultFunc) (parsed bool, pods v1.PodList, err error) {
    	obj, err := runtime.Decode(legacyscheme.Codecs.UniversalDecoder(), data)
    	if err != nil {
    		return false, pods, err
    	}
    
    	newPods, ok := obj.(*api.PodList)
    	// Check whether the object could be converted to list of pods.
    	if !ok {
    		err = fmt.Errorf("invalid pods list: %#v", obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    	pods = []*v1.Pod{}
    	testKubelet.fakeRuntime.PodList = []*containertest.FakePod{{Pod: runningPod, NetnsPath: ""}}
    	syncAndVerifyPodDir(t, testKubelet, pods, []*v1.Pod{apiPod}, true)
    
    	// The pod is deleted and also not active on the node. The pod directory
    	// should be removed.
    	pods = []*v1.Pod{}
    	testKubelet.fakeRuntime.PodList = []*containertest.FakePod{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    [[sec:pmd_tasks]]
    == Tasks
    
    The PMD plugin adds the following tasks to the project:
    
    `pmdMain` — link:{groovyDslPath}/org.gradle.api.plugins.quality.Pmd.html[Pmd]::
    +
    Runs PMD against the production Java source files.
    
    `pmdTest` — link:{groovyDslPath}/org.gradle.api.plugins.quality.Pmd.html[Pmd]::
    +
    Runs PMD against the test Java source files.
    
    The PMD plugin adds the following dependencies to tasks defined by the Java plugin.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/printers/json_test.go

    		"yaml": NewTypeSetter(scheme.Scheme).ToPrinter(&YAMLPrinter{}),
    	}
    	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"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/covdata/tool_test.go

    	// data file and a counter file. If we get more than just this one
    	// pair, something went wrong.
    	podlist, err := pods.CollectPods([]string{outdir}, true)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(podlist) != 1 {
    		t.Fatalf("expected 1 pod, got %d pods", len(podlist))
    	}
    	ncdfs := len(podlist[0].CounterDataFiles)
    	if ncdfs != 1 {
    		t.Fatalf("expected 1 counter data file, got %d", ncdfs)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    									LastTransitionTime: metav1.Date(2015, 1, 1, 12, 0, 0, 0, time.UTC),
    								},
    							},
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			timeToPass: 60 * time.Minute,
    			newNodeStatus: v1.NodeStatus{
    				Conditions: []v1.NodeCondition{
    					{
    						Type:   v1.NodeReady,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  9. src/cmd/internal/cov/readcovdata.go

    	PanicOnWarning
    )
    
    func (r *CovDataReader) Visit() error {
    	podlist, err := pods.CollectPods(r.indirs, false)
    	if err != nil {
    		return fmt.Errorf("reading inputs: %v", err)
    	}
    	if len(podlist) == 0 {
    		r.warn("no applicable files found in input directories")
    	}
    	for _, p := range podlist {
    		if err := r.visitPod(p); err != nil {
    			return err
    		}
    	}
    	r.vis.Finish()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

     *
     */
    class FileModelSourceTest {
    
        /**
         * Test of equals method, of class FileModelSource.
         */
        @Test
        void testEquals() throws Exception {
            File tempFile = createTempFile("pomTest");
            FileModelSource instance = new FileModelSource(tempFile);
    
            assertFalse(instance.equals(null));
            assertFalse(instance.equals(new Object()));
            assertTrue(instance.equals(instance));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top