Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 117 for unmounted (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/bootstrap/istio_ca.go

    		}
    
    		// Either the secret is not mounted because it is named `istio-ca-secret`,
    		// or it is `cacerts` secret mounted with "istio-generated" key set.
    		caOpts, err = s.createSelfSignedCACertificateOptions(&fileBundle, opts)
    		if err != nil {
    			return nil, err
    		}
    		caOpts.OnRootCertUpdate = s.updateRootCertAndGenKeyCert
    	} else {
    		// The secret is mounted and the "istio-generated" key is not used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_plugin_test.go

    		t.Fatalf("failed to save volume data: %v", err)
    	}
    
    	// test unmounter
    	unmounter, err := plug.NewUnmounter(pv.ObjectMeta.Name, testPodUID)
    	csiUnmounter := unmounter.(*csiMountMgr)
    
    	if err != nil {
    		t.Fatalf("Failed to make a new Unmounter: %v", err)
    	}
    
    	if csiUnmounter == nil {
    		t.Fatal("failed to create CSI Unmounter")
    	}
    
    	if csiUnmounter.podUID != testPodUID {
    		t.Error("podUID not set")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1/types.go

    	// A volume that is both attached and mounted on a node is considered to be used once, not twice.
    	// The same rule applies for a unique volume that is shared among multiple pods on the same node.
    	// If this field is not specified, then the supported number of volumes on this node is unbounded.
    	// +optional
    	Count *int32 `json:"count,omitempty" protobuf:"varint,1,opt,name=count"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/storage/v1/generated.proto

      // A volume that is both attached and mounted on a node is considered to be used once, not twice.
      // The same rule applies for a unique volume that is shared among multiple pods on the same node.
      // If this field is not specified, then the supported number of volumes on this node is unbounded.
      // +optional
      optional int32 count = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1beta1/generated.proto

      // A volume that is both attached and mounted on a node is considered to be used once, not twice.
      // The same rule applies for a unique volume that is shared among multiple pods on the same node.
      // If this field is nil, then the supported number of volumes on this node is unbounded.
      // +optional
      optional int32 count = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 25K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // A volume that is both attached and mounted on a node is considered to be used once, not twice.
      // The same rule applies for a unique volume that is shared among multiple pods on the same node.
      // If this field is nil, then the supported number of volumes on this node is unbounded.
      // +optional
      optional int32 count = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top