Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for attaching (0.81 sec)

  1. pkg/volume/csi/csi_test.go

    				go func() {
    					attachID, err := volAttacher.Attach(volSpec, attachDetachVolumeHost.GetNodeName())
    					if err != nil {
    						t.Errorf("csiTest.VolumeAll attacher.Attach failed: %s", err)
    						return
    					}
    					t.Logf("csiTest.VolumeAll got attachID %s", attachID)
    				}()
    
    				// Simulates external-attacher and marks VolumeAttachment.Status.Attached = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  2. pkg/volume/portworx/portworx_util.go

    		klog.Errorf("Failed to get portworx driver. Err: %v", err)
    		return "", err
    	}
    
    	devicePath, err := driver.Attach(m.volName, attachOptions)
    	if err != nil {
    		klog.Errorf("Error attaching Portworx Volume (%v): %v", m.volName, err)
    		return "", err
    	}
    	return devicePath, nil
    }
    
    // DetachVolume detaches a Portworx Volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      builder.create<FetchOp>(main_graph_op.getLoc(), std::move(fetches));
    }
    
    // Creates a new Location for the initializer function. This creates a loc by
    // attaching a to the initializer function's type so that it is identifiable.
    Location CreateInitOpLoc(MLIRContext* ctx, func::FuncOp init_func_ops) {
      const std::string init_type = GetInitializerType(init_func_ops);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/signing_plugin.adoc

    Alternatively, you may want to skip signing entirely whether or not signatory credentials are available.
    If so, you can configure the link:{groovyDslPath}/org.gradle.plugins.signing.Sign.html[Sign] tasks to be skipped, for example by attaching a predicate using the `onlyIf()` method shown in the following example:
    
    .Specifying when signing is skipped
    ====
    include::sample[dir="snippets/signing/conditional/kotlin",files="build.gradle.kts[tags=only-if]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher.go

    	if err := c.waitForVolumeAttachmentWithLister(spec, pvSrc.VolumeHandle, attachID, c.watchTimeout); err != nil {
    		return "", err
    	}
    
    	klog.V(4).Info(log("attacher.Attach finished OK with VolumeAttachment object [%s]", attachID))
    
    	// Don't return attachID as a devicePath. We can reconstruct the attachID using getAttachmentName()
    	return "", nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  6. pkg/volume/util/util.go

    		}
    	}
    	// For linux runtime, it skips because unmount will automatically flush disk data
    	return nil
    }
    
    // IsMultiAttachAllowed checks if attaching this volume to multiple nodes is definitely not allowed/possible.
    // In its current form, this function can only reliably say for which volumes it's definitely forbidden. If it returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_block_test.go

    	}
    
    	pvName := pv.GetName()
    	nodeName := string(plug.host.GetNodeName())
    
    	csiMapper.csiClient = setupClient(t, true)
    
    	attachID := getAttachmentName(csiMapper.volumeID, string(csiMapper.driverName), string(nodeName))
    	attachment := makeTestAttachment(attachID, nodeName, pvName)
    	attachment.Status.Attached = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/reconciler/reconciler.go

    							"duration", rc.maxWaitForUnmountDuration,
    							"node", klog.KRef("", string(attachedVolume.NodeName)),
    							"volumeName", attachedVolume.VolumeName)
    					} else {
    						metrics.RecordForcedDetachMetric(metrics.ForceDetachReasonOutOfService)
    						logger.Info("attacherDetacher.DetachVolume started: node has out-of-service taint, force detaching",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 21:02:38 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin.go

    	node := string(p.host.GetNodeName())
    	attachID := getAttachmentName(pvSource.VolumeHandle, pvSource.Driver, node)
    	volData := map[string]string{
    		volDataKey.specVolID:    spec.Name(),
    		volDataKey.volHandle:    pvSource.VolumeHandle,
    		volDataKey.driverName:   pvSource.Driver,
    		volDataKey.nodeName:     node,
    		volDataKey.attachmentID: attachID,
    	}
    
    	err = saveVolumeData(dataDir, volDataFileName, volData)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

            execHandle.abort()
            def result = execHandle.waitForFinish()
    
            then:
            execHandle.state == ExecHandleState.ABORTED
            result.exitValue != 0
        }
    
        void "detaching does not trigger 'finished' notification"() {
            def out = new ByteArrayOutputStream()
            ExecHandleListener listener = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
Back to top