Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 568 for bucket4 (0.15 sec)

  1. docs/bucket/replication/setup_replication.sh

       ],
       "Resource": [
        "arn:aws:s3:::bucket/*"
       ]
      }
     ]
    }
    EOF
    mc admin policy create dest replpolicy ./replpolicy.json
    cat ./replpolicy.json
    
    # assign this replication policy to repluser
    mc admin policy attach dest replpolicy --user=repluser
    
    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. internal/crypto/sse-s3.go

    		AssociatedData: kms.Context{bucket: path.Join(bucket, object)},
    	})
    	if err != nil {
    		return key, err
    	}
    	err = key.Unseal(unsealKey, sealedKey, s3.String(), bucket, object)
    	return key, err
    }
    
    // UnsealObjectsKeys extracts and decrypts all sealed object keys
    // from the metadata using the KMS and returns the decrypted object
    // keys.
    //
    // The metadata, buckets and objects slices must have the same length.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	}
    
    	// Heal latest buckets first.
    	sort.Slice(buckets, func(i, j int) bool {
    		return buckets[i].Created.After(buckets[j].Created)
    	})
    
    	for _, bucket := range buckets {
    		if err = h.healBucket(objAPI, bucket.Name, false); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // healBucket - traverses and heals given bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    	case "List":
    		var files []os.FileInfo
    
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			buckets, err := clnt.ListBuckets(r.Context())
    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    					info:  minio.ObjectInfo{Key: bucket.Name, LastModified: bucket.CreationDate},
    					isDir: true,
    				})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "Buckets")
    				return
    			}
    			if cap(z.Buckets) >= int(zb0002) {
    				z.Buckets = (z.Buckets)[:zb0002]
    			} else {
    				z.Buckets = make([]string, zb0002)
    			}
    			for za0001 := range z.Buckets {
    				z.Buckets[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Buckets", za0001)
    					return
    				}
    			}
    		case "rbs":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static int consistentHash(long input, int buckets) {
        checkArgument(buckets > 0, "buckets must be positive: %s", buckets);
        LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input);
        int candidate = 0;
        int next;
    
        // Jump from bucket to bucket until we go out of range
        while (true) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. cmd/event-notification.go

    		if !strings.HasPrefix(targetID.ID, "httpclient+") {
    			arns = append(arns, targetID.ToARN(region).String())
    		}
    	}
    
    	return arns
    }
    
    // Loads notification policies for all buckets into EventNotifier.
    func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/sts/web-identity.go

    			return
    		}
    		buckets, err := clnt.ListBuckets(r.Context())
    		if err != nil {
    			log.Println(fmt.Errorf("Error while listing buckets, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		creds, _ := sts.Get()
    
    		bucketNames := []string{}
    
    		for _, bucket := range buckets {
    			log.Println(fmt.Sprintf("Bucket discovered: %s", bucket.Name))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. cmd/veeam-sos-api.go

    }
    
    func veeamSOSAPIHeadObject(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	gr, err := veeamSOSAPIGetObject(ctx, bucket, object, nil, opts)
    	if gr != nil {
    		gr.Close()
    		return gr.ObjInfo, nil
    	}
    	return ObjectInfo{}, err
    }
    
    func veeamSOSAPIGetObject(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, opts ObjectOptions) (gr *GetObjectReader, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers-site-replication.go

    }
    
    // SRPeerBucketOps - PUT /minio/admin/v3/site-replication/bucket-ops?bucket=x&operation=y
    func (a adminAPIHandlers) SRPeerBucketOps(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationOperationAction)
    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	operation := madmin.BktOp(vars["operation"])
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top