Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseBucketTargetConfig (0.18 sec)

  1. cmd/bucket-targets.go

    		ID:     uuid,
    		Region: t.Region,
    		Bucket: t.TargetBucket,
    	}
    	return arn.String()
    }
    
    // Returns parsed target config. If KMS is configured, remote target is decrypted
    func parseBucketTargetConfig(bucket string, cdata, cmetadata []byte) (*madmin.BucketTargets, error) {
    	var (
    		data []byte
    		err  error
    		t    madmin.BucketTargets
    		meta map[string]string
    	)
    	if len(cdata) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/bucket-metadata.go

    		if err != nil {
    			return err
    		}
    	} else {
    		b.replicationConfig = nil
    	}
    
    	if len(b.BucketTargetsConfigJSON) != 0 {
    		b.bucketTargetConfig, err = parseBucketTargetConfig(b.Name, b.BucketTargetsConfigJSON, b.BucketTargetsConfigMetaJSON)
    		if err != nil {
    			return err
    		}
    	} else {
    		b.bucketTargetConfig = &madmin.BucketTargets{}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top