Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for cleanAll (0.18 sec)

  1. cmd/kube-controller-manager/app/testing/testserver.go

    	var errCh chan error
    	tearDown := func() {
    		cancel()
    
    		// If the kube-controller-manager was started, let's wait for
    		// it to shutdown cleanly.
    		if errCh != nil {
    			err, ok := <-errCh
    			if ok && err != nil {
    				logger.Error(err, "Failed to shutdown test server cleanly")
    			}
    		}
    		if len(result.TmpDir) != 0 {
    			os.RemoveAll(result.TmpDir)
    		}
    	}
    	defer func() {
    		if result.TearDownFn == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/SharedResourceLeaseRegistryTest.groovy

        def coordinationService = new DefaultResourceLockCoordinationService()
        def sharedResourceLeaseRegistry = new SharedResourceLeaseRegistry(coordinationService)
    
        def "can cleanly lock and unlock a shared resource"() {
            given:
            sharedResourceLeaseRegistry.registerSharedResource('resource', 1)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/README.md

    
    ## Compatibility
    
    There are *NO compatibility guarantees* for this repository.  It is in direct support of Kubernetes, so branches
    will track Kubernetes and be compatible with that repo.  As we more cleanly separate the layers, we will review the
    compatibility guarantee.
    
    
    ## Where does it come from?
    
    `cli-runtime` is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cli-runtime.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 03 01:38:34 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/README.md

    
    ## Compatibility
    
    There are *NO compatibility guarantees* for this repository, yet.  It is in direct support of Kubernetes, so branches
    will track Kubernetes and be compatible with that repo.  As we more cleanly separate the layers, we will review the
    compatibility guarantee. We have a goal to make this easier to use in the future.
    
    
    ## Where does it come from?
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 03 01:38:34 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  5. pkg/probe/dialer_others.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 16:57:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-agent/status/dialer_others.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/status/dialer_windows.go

    // Using 1 second instead of 0 because SO_LINGER socket option to 0 causes pending data to be
    // discarded and the connection to be aborted with an RST rather than for the pending data to be
    // transmitted and the connection closed cleanly with a FIN.
    // Ref: https://issues.k8s.io/89898
    func ProbeDialer() *net.Dialer {
    	dialer := &net.Dialer{
    		Control: func(network, address string, c syscall.RawConn) error {
    			return c.Control(func(fd uintptr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 02:39:05 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/tool/tool.go

    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

        ) {
            this.userInput = userInput;
            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
            executor = Executors.newSingleThreadExecutor(r -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonProcessState.java

            this.stopState.set(stopState);
        }
    
        @Override
        public void close() {
            if (stopState.get() == DaemonStopState.Forced) {
                // The daemon could not be stopped cleanly, so the services could still be doing work.
                // Don't attempt to stop the services, just stop this process
                return;
            }
    
            // Daemon has finished work, so stop the services
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top