Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Kappen (0.25 sec)

  1. cmd/bucket-targets.go

    	defer hcTimer.Stop()
    	for {
    		select {
    		case <-hcTimer.C:
    			sys.hMutex.RLock()
    			eps := make([]madmin.ServerProperties, 0, len(sys.hc))
    			for _, ep := range sys.hc {
    				eps = append(eps, madmin.ServerProperties{Endpoint: ep.Endpoint, Scheme: ep.Scheme})
    			}
    			sys.hMutex.RUnlock()
    
    			if len(eps) > 0 {
    				cctx, cancel := context.WithTimeout(ctx, 30*time.Second)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    			p.storage.setWriteAttribute(p.totalWrites.Add(1))
    		}
    		done(&err)
    	}()
    
    	// Copy inline data to a new buffer to function with deadlines.
    	if len(fi.Data) > 0 {
    		fi.Data = append(grid.GetByteBufferCap(len(fi.Data))[:0], fi.Data...)
    	}
    	return xioutil.WithDeadline[RenameDataResp](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) (res RenameDataResp, err error) {
    		if len(fi.Data) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/common-main.go

    				continue
    			}
    			if !ellipses.HasEllipses(endpoint) {
    				endpoints = append(endpoints, endpoint)
    				continue
    			}
    			patterns, err := ellipses.FindEllipsesPatterns(endpoint)
    			if err != nil {
    				logger.Fatal(err, fmt.Sprintf("Invalid KES endpoint %q", endpoint))
    			}
    			for _, lbls := range patterns.Expand() {
    				endpoints = append(endpoints, strings.Join(lbls, ""))
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. internal/grid/grid_test.go

    			Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    				for in := range request {
    					b := append([]byte{}, payload...)
    					b = append(b, in...)
    					resp <- b
    				}
    				t.Log(GetCaller(ctx).Name, "Handler done")
    				return nil
    			},
    			OutCapacity: 1,
    			InCapacity:  1,
    		}))
    		// 2: Return as error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  5. cmd/config-current.go

    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply heal config: %w", err))
    		} else {
    			globalHealConfig.Update(healCfg)
    		}
    	case config.BatchSubSys:
    		batchCfg, err := batch.LookupConfig(s[config.BatchSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply batch config: %w", err))
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom.go

    func (pd *PoolDecommissionInfo) bucketPop(bucket string) bool {
    	pd.DecommissionedBuckets = append(pd.DecommissionedBuckets, bucket)
    	for i, b := range pd.QueuedBuckets {
    		if b == bucket {
    			// Bucket is done.
    			pd.QueuedBuckets = append(pd.QueuedBuckets[:i], pd.QueuedBuckets[i+1:]...)
    			// Clear tracker info.
    			if pd.Bucket == bucket {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  7. cmd/storage-rest-client.go

    }
    
    // DeleteVol - Deletes a volume over the network.
    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    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/endpoint-ellipses.go

    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    	if !found {
    		list = append(list, node{nodeName: u.Host, disks: []string{u.String()}})
    	}
    	*el = list
    	return nil
    }
    
    type poolArgs struct {
    	args          []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	}
    	info, err := s.getStorage().StatVol(context.Background(), params.Get(storageRESTVolume))
    	if err != nil {
    		return nil, grid.NewRemoteErr(err)
    	}
    	return &info, nil
    }
    
    // AppendFileHandler - append data from the request to the file specified.
    func (s *storageRESTServer) AppendFileHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    		// Check if bucket exists.
    		if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    			writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		buckets = append(buckets, BucketInfo{Name: bucket})
    	} else {
    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top