Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newBucketMetadata (1.17 sec)

  1. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) Get(bucket string) (BucketMetadata, error) {
    	if isMinioMetaBucketName(bucket) {
    		return newBucketMetadata(bucket), errConfigNotFound
    	}
    
    	sys.RLock()
    	defer sys.RUnlock()
    
    	meta, ok := sys.metadataMap[bucket]
    	if !ok {
    		return newBucketMetadata(bucket), errConfigNotFound
    	}
    
    	return meta, nil
    }
    
    // GetVersioningConfig returns configured versioning config
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    	replicationConfig      *replication.Config
    	bucketTargetConfig     *madmin.BucketTargets
    	bucketTargetConfigMeta map[string]string
    }
    
    // newBucketMetadata creates BucketMetadata with the supplied name and Created to Now.
    func newBucketMetadata(name string) BucketMetadata {
    	return BucketMetadata{
    		Name: name,
    		notificationConfig: &event.Config{
    			XMLNS: "http://s3.amazonaws.com/doc/2006-03-01/",
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    				NoLock:     true,
    				NoRecreate: true,
    			})
    		}
    		return err
    	}
    
    	// If it doesn't exist we get a new, so ignore errors
    	meta := newBucketMetadata(bucket)
    	meta.SetCreatedAt(opts.CreatedAt)
    	if opts.LockEnabled {
    		meta.VersioningConfigXML = enabledBucketVersioningConfig
    		meta.ObjectLockConfigXML = enabledBucketObjectLockConfig
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top