Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 32 of 32 for makeBucket (0.24 sec)

  1. cmd/test-utils_test.go

    	initConfigSubsystem(ctx, obj)
    
    	globalIAMSys.Init(ctx, obj, globalEtcdClient, 2*time.Second)
    
    	// get random bucket name.
    	bucketName := getRandomBucketName()
    	// Create bucket.
    	err := obj.MakeBucket(context.Background(), bucketName, makeBucketOptions)
    	if err != nil {
    		// failed to create newbucket, return err.
    		return "", nil, err
    	}
    	// Register the API end points with Erasure object layer.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	err := objAPI.MakeBucket(ctx, bucket, opts)
    	if err != nil {
    		// Check if this is a bucket exists error.
    		_, ok1 := err.(BucketExists)
    		_, ok2 := err.(BucketAlreadyExists)
    		if !ok1 && !ok2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top