Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for Ball (0.13 sec)

  1. cmd/peer-rest-client.go

    	all = make([]*peerRESTClient, len(hosts))
    	for i, host := range hosts {
    		if host == nil {
    			continue
    		}
    		all[i] = newPeerRESTClient(host, endpoints.FindGridHostsFromPeer(host))
    		remote = append(remote, all[i])
    	}
    	if len(all) != len(remote)+1 {
    		peersLogIf(context.Background(), fmt.Errorf("Expected number of all hosts (%v) to be remote +1 (%v)", len(all), len(remote)), logger.WarningKind)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    func NewGetObjectReaderFromReader(r io.Reader, oi ObjectInfo, opts ObjectOptions, cleanupFns ...func()) (*GetObjectReader, error) {
    	if opts.CheckPrecondFn != nil && opts.CheckPrecondFn(oi) {
    		// Call the cleanup funcs
    		for i := len(cleanupFns) - 1; i >= 0; i-- {
    			cleanupFns[i]()
    		}
    		return nil, PreConditionFailed{}
    	}
    	return &GetObjectReader{
    		ObjInfo:    oi,
    		Reader:     r,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  3. istioctl/pkg/multixds/gather.go

    		err       error
    	)
    
    	if options.XdsViaAgents {
    		responses, err = queryDebugSynczViaAgents(all, dr, istioNamespace, kubeClient, centralOpts, options)
    	} else {
    		// Self-administered case.  Find all Istiods in revision using K8s, port-forward and call each in turn
    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    		if _, ok := err.(ControlPlaneNotFoundError); ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/api-router.go

    		// Dummy Bucket Calls
    		// GetBucketACL -- this is a dummy call.
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketACLHandler)).
    			Queries("acl", "")
    		// PutBucketACL -- this is a dummy call.
    		router.Methods(http.MethodPut).
    			HandlerFunc(s3APIMiddleware(api.PutBucketACLHandler)).
    			Queries("acl", "")
    		// GetBucketCors - this is a dummy call.
    		router.Methods(http.MethodGet).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    				internalLogIf(GlobalContext, err)
    			}
    			continue
    		}
    		objsValid++
    
    		// Add all valid to candidates.
    		r.candidates = append(r.candidates, xl.versions)
    
    		// We select the first object we find as a candidate and see if all match that.
    		// This is to quickly identify if all agree.
    		if selected == nil {
    			selected = entry
    			objsAgree = 1
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/admin-heal-ops.go

    	}
    }
    
    // getScannedItemsCount - returns a count of all scanned items
    func (h *healSequence) getScannedItemsCount() int64 {
    	var count int64
    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	for _, v := range h.scannedItemsMap {
    		count += v
    	}
    	return count
    }
    
    // getScannedItemsMap - returns map of all scanned items against type
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  7. internal/grid/handlers.go

    			if r != rZero {
    				pool.Put(r)
    			}
    		}
    }
    
    // NewSingleHandler creates a typed handler that can provide Marshal/Unmarshal.
    // Use Register to register a server handler.
    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    	s := SingleHandler[Req, Resp]{id: h}
    	s.newReq, s.recycleReq = recycleFunc[Req](newReq)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    	return h&flag != 0
    }
    
    // adminMiddleware performs some common admin handler functionality for all
    // handlers:
    //
    // - updates request context with `logger.ReqInfo` and api name based on the
    // name of the function handler passed (this handler must be a method of
    // `adminAPIHandlers`).
    //
    // - sets up call to send AuditLog
    //
    // While this is a middleware function (i.e. it takes a handler function and
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    	if c.State() != StateConnected {
    		return nil, ErrDisconnected
    	}
    	// Create mux client and call.
    	client, err := c.newMuxClient(ctx)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "resource", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	wg.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top