Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 529 for unmounted (0.13 sec)

  1. pkg/volume/downwardapi/downwardapi_test.go

    		rootDir:    rootDir,
    	}
    }
    
    func (test *downwardAPITest) tearDown() {
    	unmounter, err := test.plugin.NewUnmounter(test.name, testPodUID)
    	if err != nil {
    		test.t.Errorf("Failed to make a new Unmounter: %v", err)
    	}
    	if unmounter == nil {
    		test.t.Fatalf("Got a nil Unmounter")
    	}
    
    	if err := unmounter.TearDown(); err != nil {
    		test.t.Errorf("Expected success, got: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. pkg/volume/git_repo/git_repo_test.go

    		}
    	}
    
    	unmounter, err := plug.NewUnmounter("vol1", types.UID("poduid"))
    	if err != nil {
    		allErrs = append(allErrs,
    			fmt.Errorf("failed to make a new Unmounter: %w", err))
    		return allErrs
    	}
    	if unmounter == nil {
    		allErrs = append(allErrs,
    			fmt.Errorf("got a nil Unmounter"))
    		return allErrs
    	}
    
    	if err := unmounter.TearDown(); err != nil {
    		allErrs = append(allErrs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/volume/projected/projected.go

    	defer func() {
    		// Clean up directories if setup fails
    		if !setupSuccess {
    			unmounter, unmountCreateErr := s.plugin.NewUnmounter(s.volName, s.podUID)
    			if unmountCreateErr != nil {
    				klog.Errorf("error cleaning up mount %s after failure. Create unmounter failed with %v", s.volName, unmountCreateErr)
    				return
    			}
    			tearDownErr := unmounter.TearDown()
    			if tearDownErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    	// nolint: lll
    	ExpectedXfccHeader = `By=spiffe://cluster.local/ns/mounted-certs/sa/server;Hash=86948ccdaf2de73b20d389dc212aaf2d72f9f1ca239327cc2e8b05e61b1676d1;Subject="CN=client.mounted-certs.svc.cluster.local";URI=spiffe://cluster.local/ns/mounted-certs/sa/client;DNS=client.mounted-certs.svc`
    )
    
    func TestClientToServiceTls(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. pkg/volume/configmap/configmap.go

    	defer func() {
    		// Clean up directories if setup fails
    		if !setupSuccess {
    			unmounter, unmountCreateErr := b.plugin.NewUnmounter(b.volName, b.podUID)
    			if unmountCreateErr != nil {
    				klog.Errorf("error cleaning up mount %s after failure. Create unmounter failed with %v", b.volName, unmountCreateErr)
    				return
    			}
    			tearDownErr := unmounter.TearDown()
    			if tearDownErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin.go

    	}
    
    	// load volume info from file
    	dir := unmounter.GetPath()
    	dataDir := filepath.Dir(dir) // dropoff /mount at end
    	data, err := loadVolumeData(dataDir, volDataFileName)
    	if err != nil {
    		return nil, errors.New(log("unmounter failed to load volume data file [%s]: %v", dir, err))
    	}
    	unmounter.driverName = csiDriverName(data[volDataKey.driverName])
    	unmounter.volumeID = data[volDataKey.volHandle]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    func (jm *Controller) enactJobFinished(job *batch.Job, finishedCond *batch.JobCondition) bool {
    	if finishedCond == nil {
    		return false
    	}
    	if uncounted := job.Status.UncountedTerminatedPods; uncounted != nil {
    		if len(uncounted.Succeeded) > 0 || len(uncounted.Failed) > 0 {
    			return false
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/driver-call.go

    	attachCmd        = "attach"
    	waitForAttachCmd = "waitforattach"
    	mountDeviceCmd   = "mountdevice"
    
    	detachCmd        = "detach"
    	unmountDeviceCmd = "unmountdevice"
    
    	mountCmd   = "mount"
    	unmountCmd = "unmount"
    
    	expandVolumeCmd = "expandvolume"
    	expandFSCmd     = "expandfs"
    
    	// Option keys
    	optionFSType         = "kubernetes.io/fsType"
    	optionReadWrite      = "kubernetes.io/readwrite"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  9. pkg/volume/fc/fc_test.go

    	fakeManager2 := newFakeDiskManager()
    	defer fakeManager2.Cleanup()
    	unmounter, err := plug.(*fcPlugin).newUnmounterInternal("vol1", types.UID("poduid"), fakeManager2, fakeMounter, fakeExec)
    	if err != nil {
    		t.Errorf("Failed to make a new Unmounter: %v", err)
    	}
    	if unmounter == nil {
    		t.Errorf("Got a nil Unmounter: %v", err)
    	}
    
    	if err := unmounter.TearDown(); 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)
  10. pkg/volume/iscsi/iscsi_test.go

    	fakeManager2 := NewFakeDiskManager()
    	defer fakeManager2.Cleanup()
    	unmounter, err := plug.(*iscsiPlugin).newUnmounterInternal("vol1", types.UID("poduid"), fakeManager2, fakeMounter, fakeExec)
    	if err != nil {
    		t.Errorf("Failed to make a new Unmounter: %v", err)
    	}
    	if unmounter == nil {
    		t.Error("Got a nil Unmounter")
    	}
    
    	if err := unmounter.TearDown(); 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)
Back to top