Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readConfigWithMetadata (0.11 sec)

  1. cmd/bucket-metadata.go

    	}
    
    	for _, legacyFile := range legacyConfigs {
    		configFile := path.Join(bucketMetaPrefix, b.Name, legacyFile)
    
    		configData, info, err := readConfigWithMetadata(ctx, objectAPI, configFile, ObjectOptions{})
    		if err != nil {
    			if _, ok := err.(ObjectExistsAsDirectory); ok {
    				// in FS mode it possible that we have actual
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	return r.loadWithOpts(ctx, store, ObjectOptions{})
    }
    
    func (r *rebalanceMeta) loadWithOpts(ctx context.Context, store objectIO, opts ObjectOptions) error {
    	data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts)
    	if err != nil {
    		return err
    	}
    
    	if len(data) == 0 {
    		return nil
    	}
    	if len(data) <= 4 {
    		return fmt.Errorf("rebalanceMeta: no data")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    			return pdata, nil
    		}
    	}
    	return nil, err
    }
    
    func (iamOS *IAMObjectStore) loadIAMConfigBytesWithMetadata(ctx context.Context, objPath string) ([]byte, ObjectInfo, error) {
    	data, meta, err := readConfigWithMetadata(ctx, iamOS.objAPI, objPath, ObjectOptions{})
    	if err != nil {
    		return nil, meta, err
    	}
    	data, err = decryptData(data, objPath)
    	if err != nil {
    		return nil, meta, err
    	}
    	return data, meta, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top