Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for extractReplicateDiffOpts (0.21 sec)

  1. cmd/bucket-replication-utils.go

    	}
    	if parts[3] == "*" {
    		return -1, nil
    	}
    	var usz uint64
    	usz, err = strconv.ParseUint(parts[3], 10, 64)
    	if err != nil {
    		return sz, err
    	}
    	return int64(usz), nil
    }
    
    func extractReplicateDiffOpts(q url.Values) (opts madmin.ReplDiffOpts) {
    	opts.Verbose = q.Get("verbose") == "true"
    	opts.ARN = q.Get("arn")
    	opts.Prefix = q.Get("prefix")
    	return
    }
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    	}
    
    	// Check if bucket exists.
    	if _, err := objectAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	opts := extractReplicateDiffOpts(r.Form)
    	if opts.ARN != "" {
    		tgt := globalBucketTargetSys.GetRemoteBucketTargetByArn(ctx, bucket, opts.ARN)
    		if tgt.Empty() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top