Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for setupFns (0.16 sec)

  1. pkg/bootstrap/instance_test.go

    			if err != nil {
    				t.Error("Error reading generated file ", err)
    				return
    			}
    
    			// apply minor modifications for the generated file so that tests are consistent
    			// across different env setups
    			err = os.WriteFile(fn, correctForEnvDifference(read, !c.checkLocality, out), 0o700)
    			if err != nil {
    				t.Error("Error modifying generated file ", err)
    				return
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/common.go

    func VerifyAPIServerBindAddress(address string) error {
    	ip := netutils.ParseIPSloppy(address)
    	if ip == nil {
    		return errors.Errorf("cannot parse IP address: %s", address)
    	}
    	// There are users with network setups where default routes are present, but network interfaces
    	// use only link-local addresses (e.g. as described in RFC5549).
    	// In many cases that matching global unicast IP address can be found on loopback interface,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// +optional
    	NodeRegistration NodeRegistrationOptions `json:"nodeRegistration,omitempty"`
    
    	// LocalAPIEndpoint represents the endpoint of the API server instance that's deployed on this control plane node
    	// In HA setups, this differs from ClusterConfiguration.ControlPlaneEndpoint in the sense that ControlPlaneEndpoint
    	// is the global endpoint for the cluster, which then loadbalances the requests to each individual API server. This
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    		// Only useful in distributed setups
    		return nil, nil
    	}
    
    	hosts := endpoints.hostsSorted()
    	remote = make([]*peerRESTClient, 0, len(hosts))
    	all = make([]*peerRESTClient, len(hosts))
    	for i, host := range hosts {
    		if host == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    	if !typ.manual() {
    		throw("manual span allocation called with non-manually-managed type")
    	}
    	return h.allocSpan(npages, typ, 0)
    }
    
    // setSpans modifies the span map so [spanOf(base), spanOf(base+npage*pageSize))
    // is s.
    func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
    	p := base / pageSize
    	ai := arenaIndex(base)
    	ha := h.arenas[ai.l1()][ai.l2()]
    	for n := uintptr(0); n < npage; n++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	if dnsTTL <= 0 {
    		if orchestrated {
    			dnsTTL = 30 * time.Second
    		} else {
    			dnsTTL = 10 * time.Minute
    		}
    	}
    
    	// Call to refresh will refresh names in cache.
    	go func() {
    		// Baremetal setups set DNS refresh window up to dnsTTL duration.
    		t := time.NewTicker(dnsTTL)
    		defer t.Stop()
    		for {
    			select {
    			case <-t.C:
    				globalDNSCache.Refresh()
    
    			case <-GlobalContext.Done():
    				return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/buildid.go

    // on all different systems are semantically equivalent, which is of course only true
    // modulo bugs. (Producing the exact same executables also requires that the different
    // build setups agree on details like $GOROOT and file name paths, but at least the
    // tool IDs do not make it impossible.)
    func (b *Builder) toolID(name string) string {
    	b.id.Lock()
    	id := b.toolIDCache[name]
    	b.id.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/types.go

    	NodeRegistration NodeRegistrationOptions
    
    	// LocalAPIEndpoint represents the endpoint of the API server instance that's deployed on this control plane node
    	// In HA setups, this differs from ClusterConfiguration.ControlPlaneEndpoint in the sense that ControlPlaneEndpoint
    	// is the global endpoint for the cluster, which then loadbalances the requests to each individual API server. This
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	NodeRegistration NodeRegistrationOptions `json:"nodeRegistration,omitempty"`
    
    	// LocalAPIEndpoint represents the endpoint of the API server instance that's deployed on this control plane node
    	// In HA setups, this differs from ClusterConfiguration.ControlPlaneEndpoint in the sense that ControlPlaneEndpoint
    	// is the global endpoint for the cluster, which then loadbalances the requests to each individual API server. This
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	// setCount * setDriveCount with each memory upto blockSizeV2.
    	buffers := bpool.NewBytePoolCap(n, blockSizeV2, blockSizeV2*2)
    	if n >= 16384 {
    		// pre-populate buffers only n >= 16384 which is (32Gi/2Mi)
    		// for all setups smaller than this avoid pre-alloc.
    		buffers.Populate()
    	}
    	globalBytePoolCap.Store(buffers)
    
    	var localDrives []StorageAPI
    	local := endpointServerPools.FirstLocal()
    	for i, ep := range endpointServerPools {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top