Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 631 for waitc (0.04 sec)

  1. src/syscall/exec_plan9.go

    		// If fork fails there is nothing to wait for.
    		if ret.err != nil || ret.pid == 0 {
    			forkc <- ret
    			return
    		}
    
    		waitc := make(chan *waitErr, 1)
    
    		// Mark that the process is running.
    		procs.Lock()
    		if procs.waits == nil {
    			procs.waits = make(map[int]chan *waitErr)
    		}
    		procs.waits[ret.pid] = waitc
    		procs.Unlock()
    
    		forkc <- ret
    
    		var w waitErr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/apiclient/wait.go

    	// WaitForAPI waits for the API Server's /healthz endpoint to become "ok"
    	// TODO: remove WaitForAPI once WaitForAllControlPlaneComponents goes GA:
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	WaitForAPI() error
    	// WaitForPodsWithLabel waits for Pods in the kube-system namespace to become Ready
    	WaitForPodsWithLabel(kvLabel string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. istioctl/pkg/wait/wait.go

    const pollInterval = time.Second
    
    // Cmd represents the wait command
    func Cmd(cliCtx cli.Context) *cobra.Command {
    	namespace := cliCtx.Namespace()
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "wait [flags] <type> <name>[.<namespace>]",
    		Short: "Wait for an Istio resource",
    		Long:  `Waits for the specified condition to be true of an Istio resource.`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/wait.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/kubernetes"
    	kctldeployment "k8s.io/kubectl/pkg/util/deployment"
    
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/util/progress"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultWaitResourceTimeout is the maximum wait time for all resources(namespace/deployment/pod) to be created.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    				makePVC("pvc-a", waitSC.Name).withBoundPV("pv-a").PersistentVolumeClaim,
    				makePVC("pvc-b", waitSC.Name).withBoundPV("pv-b").PersistentVolumeClaim,
    			},
    			pvs: []*v1.PersistentVolume{
    				makePV("pv-a", waitSC.Name).withPhase(v1.VolumeBound).withNodeAffinity(map[string][]string{
    					v1.LabelHostname: {"node-a"},
    				}).PersistentVolume,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Monitor.java

        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Waits for the guard to be satisfied. Waits indefinitely, but may be interrupted. May be called
       * only by a thread currently occupying this monitor.
       *
       * @throws InterruptedException if interrupted while waiting
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // wait: user specified WaitFunc function that controls at what interval the condition
    // function should be invoked periodically and whether it is bound by a timeout.
    // condition: user specified ConditionWithContextFunc function.
    //
    // Deprecated: will be removed in favor of loopConditionUntilContext.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    		err := wait.PollImmediate(500*time.Millisecond, 30*time.Second, func() (bool, error) {
    			exists, err := existsInDiscoveryV1(crd, apiExtensionsClient, version)
    			return !exists, err
    		})
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // DeleteV1CustomResourceDefinitions deletes all CRD matching the provided deleteListOpts and waits until all the CRDs disappear from discovery.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Service.java

      void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}.
       *
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 15.0
       */
      void awaitTerminated();
    
      /**
       * Waits for the {@link Service} to reach a terminal state (either {@link Service.State#TERMINATED
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/os/exec/exec.go

    //
    // If any of c.Stdin, c.Stdout or c.Stderr are not an [*os.File], Wait also waits
    // for the respective I/O loop copying to or from the process to complete.
    //
    // Wait releases any resources associated with the [Cmd].
    func (c *Cmd) Wait() error {
    	if c.Process == nil {
    		return errors.New("exec: not started")
    	}
    	if c.ProcessState != nil {
    		return errors.New("exec: Wait was already called")
    	}
    
    	state, err := c.Process.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top