Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PolicyConfigUpdatedAt (0.2 sec)

  1. cmd/bucket-metadata_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "BucketTargetsConfigMetaJSON")
    				return
    			}
    		case "PolicyConfigUpdatedAt":
    			z.PolicyConfigUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "PolicyConfigUpdatedAt")
    				return
    			}
    		case "ObjectLockConfigUpdatedAt":
    			z.ObjectLockConfigUpdatedAt, err = dc.ReadTime()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    	}
    }
    
    // Return the last update of this bucket metadata, which
    // means, the last update of any policy document.
    func (b BucketMetadata) lastUpdate() (t time.Time) {
    	if b.PolicyConfigUpdatedAt.After(t) {
    		t = b.PolicyConfigUpdatedAt
    	}
    	if b.ObjectLockConfigUpdatedAt.After(t) {
    		t = b.ObjectLockConfigUpdatedAt
    	}
    	if b.EncryptionConfigUpdatedAt.After(t) {
    		t = b.EncryptionConfigUpdatedAt
    	}
    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/bucket-metadata-sys.go

    			meta = newBucketMetadata(bucket)
    		} else {
    			return updatedAt, err
    		}
    	}
    	updatedAt = UTCNow()
    	switch configFile {
    	case bucketPolicyConfig:
    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    		meta.NotificationConfigUpdatedAt = updatedAt
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. cmd/admin-bucket-handlers.go

    			configData, err := json.Marshal(bucketPolicy)
    			if err != nil {
    				rpt.SetStatus(bucket, fileName, err)
    				continue
    			}
    
    			bucketMap[bucket].PolicyConfigJSON = configData
    			bucketMap[bucket].PolicyConfigUpdatedAt = updatedAt
    			rpt.SetStatus(bucket, fileName, nil)
    		case bucketLifecycleConfig:
    			bucketLifecycle, err := lifecycle.ParseLifecycleConfig(io.LimitReader(reader, sz))
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top