Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for silent (0.21 sec)

  1. cmd/peer-rest-client.go

    func (client *peerRESTClient) String() string {
    	return client.host.String()
    }
    
    // IsOnline returns true if the peer client is online.
    func (client *peerRESTClient) IsOnline() bool {
    	return client.restClient.IsOnline()
    }
    
    // Close - marks the client as closed.
    func (client *peerRESTClient) Close() error {
    	client.restClient.Close()
    	return nil
    }
    
    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. internal/rest/client.go

    func (n *NetworkError) Unwrap() error {
    	return n.Err
    }
    
    // Client - http based RPC client.
    type Client struct {
    	connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_         int32 // For 64 bits alignment
    	lastConn  int64
    
    	// HealthCheckFn is the function set to test for health.
    	// If not set the client will not keep track of health.
    	// Calling this returns true or false if the target
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		if _, loaded := c.outgoing.LoadOrStore(client.MuxID, client); client.MuxID != 0 && !loaded {
    			if debugReqs {
    				_, found := c.outgoing.Load(client.MuxID)
    				fmt.Println(client.MuxID, c.String(), "Connection.newMuxClient: RELOADED MUX. loaded:", loaded, "found:", found)
    			}
    			return client, nil
    		}
    		client.MuxID = atomic.AddUint64(&c.NextID, 1)
    	}
    }
    
    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)
  4. cmd/admin-heal-ops.go

    	// even if we aren't listening.
    	task.respCh = make(chan healResult, 1)
    	select {
    	case globalBackgroundHealRoutine.tasks <- task:
    		if serverDebugLog {
    			fmt.Printf("Task in the queue: %#v\n", task)
    		}
    	case <-h.ctx.Done():
    		return nil
    	}
    
    	// task queued, now wait for the response.
    	select {
    	case res := <-task.respCh:
    		if !h.reportProgress {
    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)
  5. cmd/iam-etcd-store.go

    type IAMEtcdStore struct {
    	sync.RWMutex
    
    	*iamCache
    
    	usersSysType UsersSysType
    
    	client *etcd.Client
    }
    
    func newIAMEtcdStore(client *etcd.Client, usersSysType UsersSysType) *IAMEtcdStore {
    	return &IAMEtcdStore{
    		iamCache:     newIamCache(),
    		client:       client,
    		usersSysType: usersSysType,
    	}
    }
    
    func (ies *IAMEtcdStore) rlock() *iamCache {
    	ies.RLock()
    	return ies.iamCache
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    	// Buffers sent on out can not be referenced once sent.
    	StreamHandlerFn func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr
    
    	// StreamHandler handles fully bidirectional streams,
    	// There is flow control in both directions.
    	StreamHandler struct {
    		// Handle an incoming request. Initial payload is sent.
    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)
  7. cmd/storage-rest-client.go

    }
    
    func (client *storageRESTClient) IsLocal() bool {
    	return false
    }
    
    func (client *storageRESTClient) Hostname() string {
    	return client.endpoint.Host
    }
    
    func (client *storageRESTClient) Endpoint() Endpoint {
    	return client.endpoint
    }
    
    func (client *storageRESTClient) Healing() *healingTracker {
    	// This call is not implemented for remote client on purpose.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    			toDelCopy := make([]ObjectToDelete, len(toDel))
    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				select {
    				case <-ctx.Done():
    					return
    				default:
    				}
    
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricExpire, ri.JobID, attempts)
    				// Copying toDel to select from objects whose
    				// deletion failed
    				copy(toDelCopy, toDel)
    				var failed int
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. chainable_api.go

    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  10. operator/cmd/mesh/manifest_shared_test.go

    	testClient, err = client.New(testRestConfig, client.Options{Scheme: s})
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    	ctx context.Context,
    	clnt client.WithWatch,
    	obj client.Object,
    	patch client.Patch,
    	opts ...client.PatchOption,
    ) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top