Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for xlmeta (0.14 sec)

  1. cmd/admin-bucket-handlers.go

    			Tags:             enc(meta.TaggingConfigXML),
    			ObjectLockConfig: enc(meta.ObjectLockConfigXML),
    			SSEConfig:        enc(meta.EncryptionConfigXML),
    			UpdatedAt:        updatedAt,
    		}); err != nil {
    			rpt.SetStatus(bucket, "", err)
    			continue
    		}
    
    	}
    
    	rptData, err := json.Marshal(rpt.BucketMetaImportErrs)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    	stdin       = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin")
    	export      = flag.Bool("export", false, "export xl.meta")
    	djson       = flag.Bool("djson", false, "expect djson format for xl.meta")
    	genkey      = flag.Bool("genkey", false, "generate key pair")
    )
    
    func main() {
    	flag.Parse()
    
    	if *genkey {
    		generateKeys()
    		os.Exit(0)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    	// Start rebalance routine
    	z.StartRebalance()
    
    	meta := poolMeta{}
    	if err := meta.load(ctx, z.serverPools[0], z.serverPools); err != nil {
    		return err
    	}
    
    	update, err := meta.validate(z.serverPools)
    	if err != nil {
    		return err
    	}
    
    	// if no update is needed return right away.
    	if !update {
    		z.poolMetaMutex.Lock()
    		z.poolMeta = meta
    		z.poolMetaMutex.Unlock()
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  4. cmd/post-policy_test.go

    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    	// Combine all conditions into one string.
    	conditionStr := fmt.Sprintf(`"conditions":[%s, %s, %s, %s, %s, %s, %s]`, bucketConditionStr,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    func formatGetBackendErasureVersion(b []byte) (string, error) {
    	meta := &formatMetaV1{}
    	if err := json.Unmarshal(b, meta); err != nil {
    		return "", err
    	}
    	if meta.Version != formatMetaVersionV1 {
    		return "", fmt.Errorf(`format.Version expected: %s, got: %s`, formatMetaVersionV1, meta.Version)
    	}
    	if meta.Format != formatBackendErasure && meta.Format != formatBackendErasureSingle {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    // The above means that any added/deleted fields are incompatible.
    // Make sure to bump the internode version at storage-rest-common.go
    type RawFileInfo struct {
    	// Content of entire xl.meta (may contain data depending on what was requested by the caller.
    	Buf []byte `msg:"b,allownil"`
    }
    
    // FileInfo - represents file stat information.
    // The above means that any added/deleted fields are incompatible.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/handler-utils.go

    // All values stored with a key starting with one of the following prefixes
    // must be extracted from the header.
    var userMetadataKeyPrefixes = []string{
    	"x-amz-meta-",
    	"x-minio-meta-",
    }
    
    // extractMetadataFromReq extracts metadata from HTTP header and HTTP queryString.
    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  8. cmd/object-api-listobjects_test.go

    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		meta, err := loadBucketMetadata(context.Background(), obj, bucket)
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    		meta.VersioningConfigXML = []byte(`<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>Suspended</Status></VersioningConfiguration>`)
    		if err := meta.Save(context.Background(), obj); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/metacache-entries_test.go

    				}
    				if gotSelected != nil {
    					gotSelected.cached = nil
    					gotSelected.reusable = false
    				}
    				if !reflect.DeepEqual(gotSelected, tt.wantSelected) {
    					wantM, _ := tt.wantSelected.xlmeta()
    					gotM, _ := gotSelected.xlmeta()
    					t.Errorf("resolve() gotSelected = \n%#v, want \n%#v", *gotM, *wantM)
    				}
    			})
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		// MaxUploads is set more than number of meta data entries in the result.
    		// Expecting no `Uploads` metadata.
    		{
    			MaxUploads:  2,
    			Prefix:      "orange",
    			IsTruncated: false,
    		},
    		// listMultipartResults - 14.
    		// `Prefix` is set. It doesn't contain object name as its preifx.
    		// MaxUploads is set more than number of meta data entries in the result.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top