Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getTargetPath (0.25 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/ConfigurationTargetIdentifier.java

        }
    
        public abstract Type getTargetType();
    
        /**
         * If type == project, that project's path (not identity path).
         * Else, null.
         */
        @Nullable
        public abstract String getTargetPath();
    
        public abstract String getBuildPath();
    
        /**
         * Returns null if the thing is of an unknown type.
         * This can happen with {@code apply(from: "foo", to: someTask)},
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java

                return identifier == null ? null : identifier.getTargetType().label;
            }
    
            @Nullable
            @Override
            public String getTargetPath() {
                return identifier == null ? null : identifier.getTargetPath();
            }
    
            @Override
            public String getBuildPath() {
                return identifier == null ? null : identifier.getBuildPath();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_util_test.go

    	}
    
    	for i, tc := range testCases {
    		t.Logf("test case: %s", tc.name)
    		specVolID := fmt.Sprintf("spec-volid-%d", i)
    		targetPath := getTargetPath(testPodUID, specVolID, plug.host)
    		mountDir := filepath.Join(targetPath, "mount")
    		if err := os.MkdirAll(mountDir, 0755); err != nil && !os.IsNotExist(err) {
    			t.Errorf("failed to create dir [%s]: %v", mountDir, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/plugins/ApplyPluginBuildOperationType.java

             * One of "gradle", "settings", "project".
             */
            String getTargetType();
    
            /**
             * If the target is a project, its path.
             */
            @Nullable
            String getTargetPath();
    
            /**
             * The build path of the target.
             */
            String getBuildPath();
    
            /**
             * A unique ID for this plugin application, within this build operation tree.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/configuration/ApplyScriptPluginBuildOperationType.java

             */
            @Nullable
            String getTargetType();
    
            /**
             * If the target is a project, its path.
             */
            @Nullable
            String getTargetPath();
    
            /**
             * The build path, if the target is a known type (i.e. targetType != null)
             */
            @Nullable
            String getBuildPath();
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginManager.java

            public String getTargetType() {
                return targetIdentifier.getTargetType().label;
            }
    
            @Nullable
            @Override
            public String getTargetPath() {
                return targetIdentifier.getTargetPath();
            }
    
            @Override
            public String getBuildPath() {
                return targetIdentifier.getBuildPath();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. pkg/volume/csi/fake/fake_client.go

    	if f.nextErr != nil {
    		return nil, f.nextErr
    	}
    
    	if req.GetVolumeId() == "" {
    		return nil, errors.New("missing volume id")
    	}
    	if req.GetTargetPath() == "" {
    		return nil, errors.New("missing target path")
    	}
    	fsTypes := "block|ext4|xfs|zfs"
    	fsType := req.GetVolumeCapability().GetMount().GetFsType()
    	if !strings.Contains(fsTypes, fsType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

            @Override
            public SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, RelativePathSupplier relativePath) {
                boolean isRoot = relativePath.isRoot();
                String targetPath = getTargetPath(relativePath);
                snapshot.accept(new FileSystemLocationSnapshotVisitor() {
                    @Override
                    public void visitDirectory(DirectorySnapshot directorySnapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_mounter.go

    // volume.Volume methods
    var _ volume.Volume = &csiMountMgr{}
    
    func (c *csiMountMgr) GetPath() string {
    	dir := GetCSIMounterPath(filepath.Join(getTargetPath(c.podUID, c.specVolumeID, c.plugin.host)))
    	klog.V(4).Info(log("mounter.GetPath generated [%s]", dir))
    	return dir
    }
    
    func getTargetPath(uid types.UID, specVolumeID string, host volume.VolumeHost) string {
    	specVolID := utilstrings.EscapeQualifiedName(specVolumeID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_mounter_test.go

    	defer os.RemoveAll(tmpDir)
    	registerFakePlugin(testDriver, "endpoint", []string{"1.0.0"}, t)
    	pv := makeTestPV("test-pv", 10, testDriver, testVol)
    
    	// save the data file prior to unmount
    	targetDir := getTargetPath(testPodUID, pv.ObjectMeta.Name, plug.host)
    	dir := filepath.Join(targetDir, "mount")
    	if err := os.MkdirAll(dir, 0755); err != nil && !os.IsNotExist(err) {
    		t.Errorf("failed to create dir [%s]: %v", dir, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top