Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for siteb (0.14 sec)

  1. cmd/site-replication.go

    		info.Sites = append(info.Sites, peer)
    	}
    	sort.Slice(info.Sites, func(i, j int) bool {
    		return info.Sites[i].Name < info.Sites[j].Name
    	})
    
    	info.ServiceAccountAccessKey = c.state.ServiceAccountAccessKey
    	return info, nil
    }
    
    const (
    	makeBucketWithVersion   = "MakeBucketWithVersioning"
    	configureReplication    = "ConfigureReplication"
    	deleteBucket            = "DeleteBucket"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/admin-router.go

    		// Cluster Replication APIs
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/add").HandlerFunc(adminMiddleware(adminAPI.SiteReplicationAdd))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/remove").HandlerFunc(adminMiddleware(adminAPI.SiteReplicationRemove))
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/site-replication/info").HandlerFunc(adminMiddleware(adminAPI.SiteReplicationInfo))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    		return
    	}
    
    	if globalSiteReplicationSys.isEnabled() && !v.Enabled() {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    			Description:    "Cluster replication is enabled on this site, versioning cannot be suspended on bucket.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	// this option is set when active-active replication is in place between site A -> B,
    	// and site B does not have the object yet.
    	if opts.ProxyRequest || (opts.ProxyHeaderSet && !opts.ProxyRequest) { // true only when site B sets MinIOSourceProxyRequest header
    		return nil, oi, proxy
    	}
    	var perr error
    	for _, t := range proxyTargets.Targets {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/peer-rest-server.go

    		ProxyStats:       globalReplicationStats.getProxyStats(bucketName),
    	}
    	return &bs, nil
    }
    
    // GetSRMetricsHandler - fetches current in-memory replication stats at site level from this peer
    func (s *peerRESTServer) GetSRMetricsHandler(mss *grid.MSS) (*SRMetricsSummary, *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return nil, grid.NewRemoteErr(errServerNotInitialized)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	if err != nil || resp == nil {
    		return BucketStats{}, err
    	}
    	return *resp, nil
    }
    
    // GetSRMetrics loads site replication metrics, optionally for a specific bucket
    func (client *peerRESTClient) GetSRMetrics() (SRMetricsSummary, error) {
    	resp, err := getSRMetricsRPC.Call(context.Background(), client.gridConn(), grid.NewMSS())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/bucket-encryption-handlers.go

    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, bucketSSEConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	//
    	// We encode the xml bytes as base64 to ensure there are no encoding
    	// errors.
    	cfgStr := base64.StdEncoding.EncodeToString(configData)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/bucket-object-lock.go

    			return true
    		}
    	}
    	return false
    }
    
    // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted
    // with governance bypass headers set in the request.
    // Objects under site wide WORM can never be overwritten.
    // For objects in "Governance" mode, overwrite is allowed if a) object retention date is past OR
    // governance bypass headers are set and user has governance bypass permissions.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. cmd/admin-bucket-handlers.go

    		Type:      madmin.SRBucketMetaTypeQuotaConfig,
    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    		bucketMeta.Quota = nil
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, bucketMeta))
    
    	// Write success response.
    	writeSuccessResponseHeadersOnly(w)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. cmd/config-current.go

    	// save top-level help for deprecated sub-systems in a separate map.
    	deprecatedHelpKVMap := map[string]config.HelpKV{
    		config.RegionSubSys: {
    			Key:         config.RegionSubSys,
    			Description: "[DEPRECATED - use `site` instead] label the location of the server",
    		},
    		config.PolicyOPASubSys: {
    			Key:         config.PolicyOPASubSys,
    			Description: "[DEPRECATED - use `policy_plugin` instead] enable external OPA for policy enforcement",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
Back to top