Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 616 for To (4.02 sec)

  1. internal/bucket/versioning/versioning_test.go

    			err:              nil,
    			excludedPrefixes: []string{"path/to/my/workload/_staging/", "path/to/my/workload/_temporary/"},
    		},
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Suspended</Status>
                                      <ExcludedPrefixes>
                                        <Prefix>path/to/my/workload/_staging</Prefix>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if len(result.Objects) != i+1 {
    			t.Errorf("%s: Expected length of objects to be %d, instead found to be %d", instanceType, len(result.Objects), i+1)
    		}
    		if result.IsTruncated {
    			t.Errorf("%s: Expected IsTruncated to be `false`, but instead found it to be `%v`", instanceType, result.IsTruncated)
    		}
    	}
    
    	// check after paging occurs pages work.
    	for i := 6; i <= 10; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  4. cmd/os-instrumented.go

    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/globals.go

    	// global Trace system to send HTTP request/response
    	// and Storage/OS calls info to registered listeners.
    	globalTrace = pubsub.New[madmin.TraceInfo, madmin.TraceType](8)
    
    	// global Listen system to send S3 API events to registered listeners
    	globalHTTPListen = pubsub.New[event.Event, pubsub.Mask](0)
    
    	// global console system to send console logs to
    	// registered listeners
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    		// - xl.meta for inlined objects has already read the data
    		//   into memory, any mutation on xl.meta subsequently is
    		//   inconsequential to the overall read operation.
    		// - xl.meta metadata is still verified for quorum under lock()
    		//   however writing the response doesn't need to serialize
    		//   concurrent writers
    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)
  7. cmd/metrics-v3-cluster-notification.go

    	notificationEventsErrorsTotalMD     = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
    	notificationEventsSentTotalMD       = NewCounterMD(notificationEventsSentTotal, "Total number of events sent to the targets")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/erasure-object_test.go

    		t.Fatal(err)
    	}
    
    	// Unzip sample object data to the existing disks
    	err = unzipArchive("testdata/xl-meta-inline-notinline.zip", path)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to read the object and check its md5sum
    	gr, err := objLayer.GetObjectNInfo(ctx, "testbucket", "file", nil, nil, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Expected GetObject to succeed, but failed with %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  9. cmd/object-api-getobjectinfo_test.go

    			}
    			if testCase.result.Name != result.Name {
    				t.Errorf("Test %d: %s: Expected Object name to be %s, but instead found it to be %s", i+1, instanceType, testCase.result.Name, result.Name)
    			}
    			if testCase.result.ContentType != result.ContentType {
    				t.Errorf("Test %d: %s: Expected Content Type of the object to be %v, but instead found it to be %v", i+1, instanceType, testCase.result.ContentType, result.ContentType)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  10. docs/sts/custom-token-identity.go

    	flag.StringVar(&token, "t", "", "Token to use with AssumeRoleWithCustomToken STS API (required)")
    	flag.StringVar(&roleArn, "r", "", "RoleARN to use with the request (required)")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    	flag.StringVar(&bucketToList, "b", "mybucket", "Bucket to list (defaults to mybucket)")
    }
    
    func main() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
Back to top