Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for BucketMetaHook (0.13 seconds)

  1. cmd/site-replication.go

    		return fmt.Errorf("unable to save STS credential and/or parent policy mapping: %w", err)
    	}
    
    	return nil
    }
    
    // BucketMetaHook - called when bucket meta changes happen and need to be
    // replicated to peer clusters.
    func (c *SiteReplicationSys) BucketMetaHook(ctx context.Context, item madmin.SRBucketMeta) error {
    	// The change has already been applied to the local cluster at this
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  2. cmd/bucket-handlers.go

    	//
    	// We encode the xml bytes as base64 to ensure there are no encoding
    	// errors.
    	cfgStr := base64.StdEncoding.EncodeToString(configData)
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:             madmin.SRBucketMetaTypeObjectLockConfig,
    		Bucket:           bucket,
    		ObjectLockConfig: &cfgStr,
    		UpdatedAt:        updatedAt,
    	}))
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
Back to Top