Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for verifyPods (0.13 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    			UID:       types.UID(podUID),
    			Name:      podName,
    			Namespace: podNamespace,
    		},
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    // verifyPods returns true if the two pod slices are equal.
    func verifyPods(a, b []*kubecontainer.Pod) bool {
    	if len(a) != len(b) {
    		return false
    	}
    
    	// Sort the containers within a pod.
    	for i := range a {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. pkg/volume/downwardapi/downwardapi_test.go

    			files: map[string]string{"name_file_name": "metadata.name"},
    			steps: []testStep{
    				verifyMode{stepName{"name_file_name"}, 0644},
    			},
    		},
    		{
    			name:  "test_item_mode",
    			files: map[string]string{"name_file_name": "metadata.name"},
    			modes: map[string]int32{"name_file_name": 0400},
    			steps: []testStep{
    				verifyMode{stepName{"name_file_name"}, 0400},
    			},
    		},
    	}
    	for _, testCase := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/verify.go

    		mod := mod // use a copy to avoid data races
    		go func() {
    			errsc <- verifyMod(ctx, mod)
    			<-sem
    		}()
    	}
    
    	ok := true
    	for _, errsc := range errsChans {
    		errs := <-errsc
    		for _, err := range errs {
    			base.Errorf("%s", err)
    			ok = false
    		}
    	}
    	if ok {
    		fmt.Printf("all modules verified\n")
    	}
    }
    
    func verifyMod(ctx context.Context, mod module.Version) []error {
    	if gover.IsToolchain(mod.Path) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top