Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for Hallas (0.14 sec)

  1. cmd/batch-expire.go

    					_, err := api.DeleteObject(ctx, exp.Bucket, encodeDirObject(exp.Name), ObjectOptions{
    						DeletePrefix:       true,
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    					})
    					if err != nil {
    						stopFn(exp, err)
    						batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s versionID=%s due to %v (attempts=%d)", toExpire[i].Bucket, toExpire[i].Name, toExpire[i].VersionID, err, attempts))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  2. cmd/peer-rest-client.go

    		Scheme: scheme,
    		Host:   peer.String(),
    		Path:   peerRESTPath,
    	}
    
    	restClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    	// Use a separate client to avoid recursive calls.
    	healthClient := rest.NewClient(serverURL, globalInternodeTransport, newCachedAuthToken())
    	healthClient.NoMetrics = true
    
    	// Construct a new health function.
    	restClient.HealthCheckFn = func() bool {
    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)
  3. cmd/test-utils_test.go

    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    	// call the handler using the HTTP Request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    			r = &GetObjectReader{
    				ObjInfo:    oi,
    				Reader:     inputReader,
    				cleanUpFns: cFns,
    			}
    			return r, nil
    		}
    	}
    	return fn, off, length, nil
    }
    
    // Close - calls the cleanup actions in reverse order
    func (g *GetObjectReader) Close() error {
    	if g == nil {
    		return nil
    	}
    	// sync.Once is used here to ensure that Close() is
    	// idempotent.
    	g.once.Do(func() {
    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)
  5. cmd/peer-rest-server.go

    	madminSysConfig        = grid.NewJSONPool[madmin.SysConfig]()
    	madminSysErrors        = grid.NewJSONPool[madmin.SysErrors]()
    	madminSysServices      = grid.NewJSONPool[madmin.SysServices]()
    
    	// Request -> Response RPC calls
    	deleteBucketMetadataRPC        = grid.NewSingleHandler[*grid.MSS, grid.NoPayload](grid.HandlerDeleteBucketMetadata, grid.NewMSS, grid.NewNoPayload).IgnoreNilConn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    	}
    }
    
    func (c *Connection) handlePing(ctx context.Context, m message) {
    	if m.MuxID == 0 {
    		gridLogIf(ctx, c.queueMsg(m, &pongMsg{}))
    		return
    	}
    	// Single calls do not support pinging.
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		pong := v.ping(m.Seq)
    		gridLogIf(ctx, c.queueMsg(m, &pong))
    	} else {
    		pong := pongMsg{NotFound: true}
    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)
  7. cmd/site-replication.go

    func (c *SiteReplicationSys) newConcErr(errMap map[string]error, actionName string) error {
    	return concErr{
    		errMap:     errMap,
    		summaryErr: c.toErrorFromErrMap(errMap, actionName),
    	}
    }
    
    // concDo calls actions concurrently. selfActionFn is run for the current
    // cluster and peerActionFn is run for each peer replication cluster.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  8. cmd/bucket-replication.go

    			continue
    		}
    		wg.Add(1)
    		go func(tgt *TargetClient) {
    			defer wg.Done()
    
    			var tgtInfo replicatedTargetInfo
    			if ri.OpType == replication.ObjectReplicationType {
    				// all incoming calls go through optimized path.
    				tgtInfo = ri.replicateObject(ctx, objectAPI, tgt)
    			} else {
    				tgtInfo = ri.replicateAll(ctx, objectAPI, tgt)
    			}
    
    			mu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  9. cni/pkg/nodeagent/informers_test.go

    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 1 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 1)
    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    	CurrentSendCalls int64 // CurrentSendCalls is the number of concurrent async Send calls to all targets
    	CurrentQueue     int   // Populated if target has a store.
    	TotalEvents      int64
    	FailedEvents     int64 // Number of failed events per target
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	// The number of concurrent async Send calls to all targets
    	currentSendCalls  atomic.Int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top