Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetBucketVersioning (0.22 sec)

  1. cmd/bucket-targets.go

    	}
    	if tgt.Type == madmin.ReplicationService {
    		if !globalBucketVersioningSys.Enabled(bucket) {
    			return BucketReplicationSourceNotVersioned{Bucket: bucket}
    		}
    		vcfg, err := clnt.GetBucketVersioning(ctx, tgt.TargetBucket)
    		if err != nil {
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, Err: err, AccessKey: tgt.Credentials.AccessKey}
    		}
    		if !vcfg.Enabled() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    				writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationDestinationMissingLock, fmt.Errorf("target bucket %s is not object lock enabled", clnt.Bucket)), r.URL)
    				return
    			}
    		}
    		vcfg, err := clnt.GetBucketVersioning(ctx, clnt.Bucket)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationValidationError, err), r.URL)
    			return
    		}
    		if !vcfg.Enabled() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/api-router.go

    			Queries("object-lock", "")
    		// GetBucketReplicationConfig
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketReplicationConfigHandler)).
    			Queries("replication", "")
    		// GetBucketVersioning
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketVersioningHandler)).
    			Queries("versioning", "")
    		// GetBucketNotification
    		router.Methods(http.MethodGet).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		BucketLookup: lookupStyle(pathStyle),
    	})
    	if err != nil {
    		return err
    	}
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    
    	vcfg, err := c.GetBucketVersioning(ctx, remoteBkt)
    	if err != nil {
    		if miniogo.ToErrorResponse(err).Code == "NoSuchBucket" {
    			return batchReplicationJobError{
    				Code:           "NoSuchTargetBucket",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top