Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 139 for setPath (0.18 sec)

  1. pkg/volume/local/local.go

    	mounter  mount.Interface
    	hostUtil hostutil.HostUtils
    	plugin   *localVolumePlugin
    	volume.MetricsProvider
    }
    
    func (l *localVolume) GetPath() string {
    	return l.plugin.host.GetPodVolumeDir(l.podUID, utilstrings.EscapeQualifiedName(localVolumePluginName), l.volName)
    }
    
    type localVolumeMounter struct {
    	*localVolume
    	readOnly     bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    	if addr := addr.GetPipe(); addr != nil {
    		return addr.GetPath()
    	}
    	if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    		case *core.EnvoyInternalAddress_ServerListenerName:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	return fv.SetUpAt(fv.getPath(), mounterArgs)
    }
    
    func (fv *FakeVolume) GetSetUpCallCount() int {
    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.SetUpCallCount
    }
    
    func (fv *FakeVolume) SetUpAt(dir string, mounterArgs volume.MounterArgs) error {
    	return os.MkdirAll(dir, 0750)
    }
    
    func (fv *FakeVolume) GetPath() string {
    	fv.RLock()
    	defer fv.RUnlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

        }
    
        private Collection<File> cleanup(List<File> files) {
            List<File> result = new LinkedList<>();
            String prefix = Jvm.current().getJavaHome().getPath() + File.separator;
            for (File file : files) {
                if (file.getPath().startsWith(prefix)) {
                    // IDEA adds the JDK's bootstrap classpath to the classpath it uses to run test - remove this
                    continue;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/TestReport.java

                    testReport.generateReport(resultsProvider, getDestinationDirectory().get().getAsFile());
                } else {
                    getLogger().info("{} - no binary test results found in dirs: {}.", getPath(), getTestResults().getFiles());
                    setDidWork(false);
                }
            } finally {
                stoppable(resultsProvider).stop();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. pkg/volume/emptydir/empty_dir_test.go

    		&mountDetector,
    		volume.VolumeOptions{})
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    	if mounter == nil {
    		t.Errorf("Got a nil Mounter")
    	}
    
    	volPath := mounter.GetPath()
    	if volPath != volumePath {
    		t.Errorf("Got unexpected path: %s", volPath)
    	}
    	if config.volumeDirExists {
    		if err := os.MkdirAll(volPath, perm); err != nil {
    			t.Errorf("fail to create path: %s", volPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_plugin_test.go

    			mountPath := filepath.Dir(csiMounter.GetPath())
    			err = prepareVolumeInfoFile(mountPath, plug, tc.originSpec.Name(), csiMounter.volumeID, testDriver, string(csiMounter.volumeLifecycleMode), "")
    			if err != nil {
    				t.Fatalf("failed to save fake volume info file: %s", err)
    			}
    
    			// rebuild spec
    			rec, err := plug.ConstructVolumeSpec("test-pv", filepath.Dir(csiMounter.GetPath()))
    			if err != nil {
    				t.Fatal(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
            return Arrays.asList(repositorySystem.buildArtifactRepository(repository));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	case <-time.After(5 * time.Second):
    		return "", ErrorWatchTimeout
    	}
    }
    
    // Fake volume/metrics provider
    var _ volume.Volume = &fakeVolume{}
    
    type fakeVolume struct{}
    
    func (v *fakeVolume) GetPath() string { return "" }
    
    func (v *fakeVolume) GetMetrics() (*volume.Metrics, error) {
    	return expectedMetrics(), nil
    }
    
    func expectedMetrics() *volume.Metrics {
    	vMetrics := &volume.Metrics{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

            private final String path
    
            ReceivedFileLocation(Map<String, Object> location) {
                path = location['path'] as String
            }
    
            @Override
            String getPath() {
                path
            }
        }
    
        static class ReceivedLineInFileLocation extends ReceivedFileLocation implements LineInFileLocation {
            private final int line
            private final int column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top