Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Col1 (0.04 sec)

  1. src/cmd/go/internal/load/test.go

    	block := make([]testing.CoverBlock, len(counter))
    	for i := range counter {
    		block[i] = testing.CoverBlock{
    			Line0: pos[3*i+0],
    			Col0: uint16(pos[3*i+2]),
    			Line1: pos[3*i+1],
    			Col1: uint16(pos[3*i+2]>>16),
    			Stmts: numStmts[i],
    		}
    	}
    	coverBlocks[fileName] = block
    }
    {{end}}
    
    func main() {
    {{if .Cover}}
    	testing.RegisterCover(testing.Cover{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_volumes_test.go

    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    				},
    			},
    		},
    		Volumes: []v1.Volume{
    			{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. pkg/volume/git_repo/git_repo_test.go

    		},
    		{
    			name: "invalid-repository",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/volume/util/util_test.go

    						},
    					},
    					Volumes: []v1.Volume{
    						{
    							Name: "vol1",
    						},
    						{
    							Name: "vol2",
    						},
    						{
    							Name: "vol3",
    						},
    					},
    				},
    			},
    			expectedMounts: sets.New[string]("vol1", "vol2", "vol3"),
    			expectedSELinuxContexts: map[string][]*v1.SELinuxOptions{
    				"vol1": {
    					{
    						Type:  "initcontainer1_context_t",
    						Level: "s0:c3,c4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. pkg/volume/fc/fc_test.go

    	}
    	if mounter == nil {
    		t.Errorf("Got a nil Mounter: %v", err)
    	}
    
    	path := mounter.GetPath()
    	expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~fc/vol1")
    	if path != expectedPath {
    		t.Errorf("Unexpected path, expected %q, got: %q", expectedPath, path)
    	}
    
    	if err := mounter.SetUp(volume.MounterArgs{}); err != nil {
    		t.Errorf("Expected success, got: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/volume_manager_test.go

    	case v1.PersistentVolumeBlock:
    		pod.Spec.Containers[0].VolumeDevices = []v1.VolumeDevice{
    			{
    				Name:       "vol1",
    				DevicePath: "/dev/vol1",
    			},
    		}
    	case v1.PersistentVolumeFilesystem:
    		pod.Spec.Containers[0].VolumeMounts = []v1.VolumeMount{
    			{
    				Name:      "vol1",
    				MountPath: "/mnt/vol1",
    			},
    		}
    	default:
    		// The volume is not mounted nor mapped
    	}
    	pv := &v1.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		{ // pod is scheduled
    			testName:          "Scheduled pod",
    			volName:           "vol1",
    			podName:           "pod1",
    			podNodeName:       "mynode-1",
    			pvName:            "pv1",
    			vaName:            "va1",
    			vaNodeName:        "mynode-1",
    			vaAttachStatus:    false,
    			expected_attaches: map[string][]string{"mynode-1": {"vol1"}},
    			expected_detaches: map[string][]string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. pkg/volume/iscsi/iscsi_test.go

    	}
    	if mounter == nil {
    		t.Error("Got a nil Mounter")
    	}
    
    	path := mounter.GetPath()
    	expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~iscsi/vol1")
    	if path != expectedPath {
    		t.Errorf("Unexpected path, expected %q, got: %q", expectedPath, path)
    	}
    
    	if err := mounter.SetUp(volume.MounterArgs{}); err != nil {
    		t.Errorf("Expected success, got: %v", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  9. pkg/volume/hostpath/host_path_test.go

    	plug, err := plugMgr.FindPluginByName(hostPathPluginName)
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    
    	volPath := "/tmp/vol1"
    	spec := &v1.Volume{
    		Name:         "vol1",
    		VolumeSource: v1.VolumeSource{HostPath: &v1.HostPathVolumeSource{Path: volPath, Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))}},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  10. pkg/volume/emptydir/empty_dir_test.go

    	if err != nil {
    		t.Fatalf("can't make a temp dir: %v", err)
    	}
    	defer os.RemoveAll(basePath)
    
    	plug := makePluginUnderTest(t, "kubernetes.io/empty-dir", basePath)
    
    	spec := &v1.Volume{
    		Name: "vol1",
    	}
    	pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
    	mounter, err := plug.NewMounter(volume.NewSpecFromVolume(spec), pod, volume.VolumeOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top