Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for to (0.15 sec)

  1. cmd/object-handlers_test.go

    	// HTTP request to test the case of `objectLayer` being set to `nil`.
    	// There is no need to use an existing bucket or valid input for creating the request,
    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		// Create bucket replication rule to this peer.
    
    		// To add the bucket replication rule, we fetch the current
    		// server configuration, and convert it to minio-go's
    		// replication configuration type (by converting to xml and
    		// parsing it back), use minio-go's add rule function, and
    		// finally convert it back to the server type (again via xml).
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  3. cmd/bucket-replication.go

    		return false, toAPIError(ctx, BucketRemoteTargetNotFound{Bucket: bucket})
    	}
    	return sameTarget, toAPIError(ctx, nil)
    }
    
    // performs a http request to remote endpoint to check if deployment id of remote endpoint is same as
    // local cluster deployment id. This is to prevent replication to self, especially in case of a loadbalancer
    // in front of MinIO.
    func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error {
    	reqURL := &url.URL{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. src/cmd/cgo/internal/test/callback.go

    import (
    	"path"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    // Pass a func value from nestedCall to goCallback using an integer token.
    var callbackMutex sync.Mutex
    var callbackToken int
    var callbackFuncs = make(map[int]func())
    
    // nestedCall calls into C, back into Go, and finally to f.
    func nestedCall(f func()) {
    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the request to complete object upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the status code of the response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing http request to delete the bucket.
    	// making an attempt to delete an non-empty bucket.
    	// expected to fail.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    	// be enabled as well - this is to allow for key-rotation.
    	if !isDirectiveReplace(r.Header.Get(xhttp.AmzMetadataDirective)) && !isDirectiveReplace(r.Header.Get(xhttp.AmzTagDirective)) &&
    		srcInfo.metadataOnly && srcOpts.VersionID == "" && !objectEncryption {
    		// If x-amz-metadata-directive is not set to REPLACE then we need
    		// to error out if source and destination are same.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				Description: MetricDescription{
    					Namespace: minioNamespace,
    					Subsystem: notifySubsystem,
    					Name:      "events_skipped_total",
    					Help:      "Events that were skipped to be sent to the targets due to the in-memory queue being full",
    					Type:      counterMetric,
    				},
    				Value: float64(nstats.EventsSkipped),
    			})
    			metrics = append(metrics, MetricV2{
    				Description: MetricDescription{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top