Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for configData (0.15 sec)

  1. cmd/bucket-metadata-sys.go

    		meta.PolicyConfigJSON = configData
    		meta.PolicyConfigUpdatedAt = updatedAt
    	case bucketNotificationConfig:
    		meta.NotificationConfigXML = configData
    		meta.NotificationConfigUpdatedAt = updatedAt
    	case bucketLifecycleConfig:
    		meta.LifecycleConfigXML = configData
    		meta.LifecycleConfigUpdatedAt = updatedAt
    	case bucketSSEConfig:
    		meta.EncryptionConfigXML = configData
    		meta.EncryptionConfigUpdatedAt = updatedAt
    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/admin-bucket-handlers.go

    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				configData, err := json.Marshal(config)
    				if err != nil {
    					writeErrorResponse(ctx, w, exportError(ctx, err, cfgFile, bucket), r.URL)
    					return
    				}
    				rawDataFn(bytes.NewReader(configData), cfgPath, len(configData))
    			case bucketNotificationConfig:
    				config, err := globalBucketMetadataSys.GetNotificationConfig(bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. cmd/bucket-metadata.go

    		case bucketPolicyConfig:
    			b.PolicyConfigJSON = configData
    		case bucketNotificationConfig:
    			b.NotificationConfigXML = configData
    		case bucketLifecycleConfig:
    			b.LifecycleConfigXML = configData
    		case bucketSSEConfig:
    			b.EncryptionConfigXML = configData
    		case bucketTaggingConfig:
    			b.TaggingConfigXML = configData
    		case objectLockConfig:
    			b.ObjectLockConfigXML = configData
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		meta.TaggingConfigXML = configData
    		meta.TaggingConfigUpdatedAt = item.UpdatedAt
    	}
    
    	if item.ObjectLockConfig != nil {
    		configData, err := base64.StdEncoding.DecodeString(*item.ObjectLockConfig)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		meta.ObjectLockConfigXML = configData
    		meta.ObjectLockConfigUpdatedAt = item.UpdatedAt
    	}
    
    	if item.SSEConfig != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    	updatedAt, err := globalBucketMetadataSys.Update(ctx, bucket, objectLockConfig, configData)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Call site replication hook.
    	//
    	// We encode the xml bytes as base64 to ensure there are no encoding
    	// errors.
    	cfgStr := base64.StdEncoding.EncodeToString(configData)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/bucket-replication-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	configData, err := xml.Marshal(replicationConfig)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if _, err = globalBucketMetadataSys.Update(ctx, bucket, bucketReplicationConfig, configData); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		}
    		bucketExists = true
    	}
    
    	if globalSiteReplicationSys.isEnabled() {
    		configData := []byte(`<VersioningConfiguration><Status>Enabled</Status><ExcludedPrefixes><Prefix>speedtest/*</Prefix></ExcludedPrefixes></VersioningConfiguration>`)
    		if _, err = globalBucketMetadataSys.Update(ctx, bucketName, bucketVersioningConfig, configData); err != nil {
    			return false, err
    		}
    	}
    
    	return bucketExists, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	password := cred.SecretKey
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // AttachDetachPolicyLDAP attaches or detaches policies from an LDAP entity
    // (user or group).
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	econfigData, err := madmin.EncryptData(password, data)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // ListUsers - GET /minio/admin/v3/list-users
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top