Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PolicyConfigJSON (0.15 sec)

  1. cmd/bucket-metadata_gen.go

    			z.LockEnabled, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "LockEnabled")
    				return
    			}
    		case "PolicyConfigJSON":
    			z.PolicyConfigJSON, err = dc.ReadBytes(z.PolicyConfigJSON)
    			if err != nil {
    				err = msgp.WrapError(err, "PolicyConfigJSON")
    				return
    			}
    		case "NotificationConfigXML":
    			z.NotificationConfigXML, err = dc.ReadBytes(z.NotificationConfigXML)
    			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

    // The first error encountered is returned.
    func (b *BucketMetadata) parseAllConfigs(ctx context.Context, objectAPI ObjectLayer) (err error) {
    	if len(b.PolicyConfigJSON) != 0 {
    		b.policyConfig, err = policy.ParseBucketPolicyConfig(bytes.NewReader(b.PolicyConfigJSON), b.Name)
    		if err != nil {
    			return err
    		}
    	} else {
    		b.policyConfig = nil
    	}
    
    	if len(b.NotificationConfigXML) != 0 {
    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:
    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

    				continue
    			}
    
    			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:
    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