Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for source (0.3 sec)

  1. cmd/storage-rest-client.go

    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    	// a cached value - caller should make sure to use this
    	// function on a fresh disk or make sure to look at the error
    	// from a different networked call to validate the GetDiskID()
    	return *client.diskID.Load(), nil
    }
    
    func (client *storageRESTClient) SetDiskID(id string) {
    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)
  2. cmd/bucket-targets.go

    		return
    	}
    	// Setup bandwidth throttling
    
    	globalBucketMonitor.SetBandwidthLimit(bucket, arn, limit)
    }
    
    // RemoveTarget - removes a remote bucket target for this source bucket.
    func (sys *BucketTargetSys) RemoveTarget(ctx context.Context, bucket, arnStr string) error {
    	if arnStr == "" {
    		return BucketRemoteArnInvalid{Bucket: bucket}
    	}
    
    	arn, err := madmin.ParseARN(arnStr)
    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)
  3. cmd/erasure-object.go

    	for _, onlineDisk := range onlineDisks {
    		if onlineDisk != nil && onlineDisk.IsOnline() {
    			online++
    		}
    	}
    	return online
    }
    
    // CopyObject - copy object source object to destination object.
    // if source object and destination object are same we only
    // update metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/batch-handlers.go

    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    		if job.Replicate.Source.Snowball.Compress == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	defer p.Recycle()
    	return s.RenameDataHandler(&p.RenameDataHandlerParams)
    }
    
    // RenameFileHandler - rename a file from source to destination
    func (s *storageRESTServer) RenameFileHandler(p *RenameFileHandlerParams) (grid.NoPayload, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    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)
  6. cmd/metrics-v3-handler.go

    func (h *metricsV3Server) handle(path string, isListingRequest bool, buckets []string) http.Handler {
    	var notFoundHandler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		http.Error(w, "Metrics Resource Not found", http.StatusNotFound)
    	})
    
    	// Require that metrics path has at least component.
    	if path == "/" {
    		return notFoundHandler
    	}
    
    	if isListingRequest {
    		handler := h.listMetrics(path)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    		Type:      gaugeMetric,
    	}
    }
    
    func getRepReceivedBytesMD(namespace MetricNamespace) MetricDescription {
    	helpText := "Total number of bytes replicated to this bucket from another source bucket"
    	if namespace == clusterMetricNamespace {
    		helpText = "Total number of bytes replicated to this cluster from site replication peer"
    	}
    	return MetricDescription{
    		Namespace: namespace,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    			t.Fatalf("Test failed to create HTTP request for copy object part: <ERROR> %v", err)
    		}
    
    		// "X-Amz-Copy-Source" header contains the information about the source bucket and the object to copied.
    		req.Header.Set("X-Amz-Copy-Source", url.QueryEscape(pathJoin(bucketName, objectName)))
    		req.Header.Set("X-Amz-Copy-Source-Range", fmt.Sprintf("bytes=%d-%d", a, b))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. istioctl/pkg/util/ambient/util.go

    	if err != nil {
    		return isZtunnel
    	}
    	if v, ok := pod.Labels["app"]; ok {
    		return v == "ztunnel"
    	}
    	return isZtunnel
    }
    
    // InAmbient returns true if a resource is in ambient data plane mode.
    func InAmbient(obj metav1.Object) bool {
    	if obj == nil {
    		return false
    	}
    	switch t := obj.(type) {
    	case *corev1.Pod:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		// Built-in user should be imported without errors even if LDAP is
    		// enabled.
    		allUsersFile: `{
      "foo": {
        "secretKey": "foobar123",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top