Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for waiters (0.12 sec)

  1. cmd/kubeadm/app/cmd/upgrade/common.go

    		// return the fake clientset used for dry-running
    		return fakeclient, nil
    	}
    	return kubeconfigutil.ClientSetFromFile(file)
    }
    
    // getWaiter gets the right waiter implementation
    func getWaiter(dryRun bool, client clientset.Interface, timeout time.Duration) apiclient.Waiter {
    	if dryRun {
    		return dryrunutil.NewWaiter()
    	}
    	return apiclient.NewKubeWaiter(client, timeout, os.Stdout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

      podSubnet: ""
      serviceSubnet: 10.96.0.0/12
    `, kubeadmapiv1.SchemeGroupVersion.String())
    
    // fakeWaiter is a fake apiclient.Waiter that returns errors it was initialized with
    type fakeWaiter struct {
    	errsToReturn map[string]error
    }
    
    func NewFakeStaticPodWaiter(errsToReturn map[string]error) apiclient.Waiter {
    	return &fakeWaiter{
    		errsToReturn: errsToReturn,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. pkg/controlplane/instance.go

    	ServiceNodePortRange utilnet.PortRange
    	// If non-zero, the "kubernetes" services uses this port as NodePort.
    	KubernetesServiceNodePort int
    
    	// Number of masters running; all masters must be started with the
    	// same value for this field. (Numbers > 1 currently untested.)
    	MasterCount int
    
    	// MasterEndpointReconcileTTL sets the time to live in seconds of an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    	}
    	return err
    }
    
    // Reset the read pointer and writer pointer to zero.
    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    		r.readCond.Broadcast()
    		r.writeCond.Broadcast()
    	}
    
    	// Unlock the mutex so readers/writers can finish.
    	r.mu.Unlock()
    	r.wg.Wait()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/block.go

    // resetWithControl resets b and adds control v.
    // It is equivalent to b.Reset(kind); b.AddControl(v),
    // except that it is one call instead of two and avoids a bounds check.
    // It is intended for use by rewrite rules, where this matters.
    func (b *Block) resetWithControl(kind BlockKind, v *Value) {
    	b.Kind = kind
    	b.ResetControls()
    	b.Aux = nil
    	b.AuxInt = 0
    	b.Controls[0] = v
    	v.Uses++
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/gateway_test.go

    			[]config.Config{gwTCPWildcard, gwHTTPWildcard},
    			1,
    			1,
    			map[string]int{},
    			2,
    		},
    		{
    			"tcp-tcp-server-config",
    			[]config.Config{gwHTTPWildcard, gwTCPWildcard}, // order matters
    			1,
    			1,
    			map[string]int{"http.8": 1},
    			2,
    		},
    		{
    			"http-http2-server-config",
    			[]config.Config{gwHTTPWildcard, gwHTTP2Wildcard},
    			1,
    			1,
    			// http and http2 both present
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    	saturateDone.Add(max)
    
    	donePing := make(chan bool)
    	state := 0
    
    	// waiter will be called for all queries, including
    	// initial setup queries. The state is only assigned when
    	// no queries are made.
    	//
    	// Only allow the first batch of queries to finish once the
    	// second batch of Ping queries have finished.
    	waiter := func(ctx context.Context) {
    		switch state {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. src/runtime/tracestack.go

    	}
    	id, _ := t.tab.put(noescape(unsafe.Pointer(&pcs[0])), uintptr(len(pcs))*unsafe.Sizeof(uintptr(0)))
    	return id
    }
    
    // dump writes all previously cached stacks to trace buffers,
    // releases all memory and resets state. It must only be called once the caller
    // can guarantee that there are no more writers to the table.
    func (t *traceStackTable) dump(gen uintptr) {
    	stackBuf := make([]uintptr, traceStackSize)
    	w := unsafeTraceWriter(gen, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. pkg/kubelet/certificate/kubelet.go

    		// For backwards compatibility, the kubelet supports the ability to
    		// provide a higher privileged certificate as initial data that will
    		// then be rotated immediately. This code path is used by kubeadm on
    		// the masters.
    		BootstrapCertificatePEM: bootstrapCertData,
    		BootstrapKeyPEM:         bootstrapKeyData,
    
    		CertificateStore:        certificateStore,
    		CertificateRenewFailure: certificateRenewFailure,
    	})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/net/http/h2_bundle.go

    }
    
    // Close marks the closeWaiter as closed and unblocks any waiters.
    func (cw http2closeWaiter) Close() {
    	close(cw)
    }
    
    // Wait waits for the closeWaiter to become closed.
    func (cw http2closeWaiter) Wait() {
    	<-cw
    }
    
    // bufferedWriter is a buffered writer that writes to w.
    // Its buffered writer is lazily allocated as needed, to minimize
    // idle memory usage with many connections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top