Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 148 for Marshal (0.09 sec)

  1. cmd/server_test.go

    		// Append all objects.
    		delObjReq.Objects = append(delObjReq.Objects, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objName,
    			},
    		})
    	}
    	// Marshal delete request.
    	deleteReqBytes, err := xml.Marshal(delObjReq)
    	c.Assert(err, nil)
    
    	// Delete list of objects.
    	request, err = newTestSignedRequest(http.MethodPost, getMultiDeleteObjectURL(s.endPoint, bucketName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. cmd/encryption-v1.go

    	partDecRelOffset, partEncRelOffset int64
    }
    
    func (d *DecryptBlocksReader) buildDecrypter(partID int) error {
    	var partIDbin [4]byte
    	binary.LittleEndian.PutUint32(partIDbin[:], uint32(partID)) // marshal part ID
    
    	mac := hmac.New(sha256.New, d.objectEncryptionKey) // derive part encryption key from part ID and object key
    	mac.Write(partIDbin[:])
    	partEncryptionKey := mac.Sum(nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	}
    	return info
    }
    
    func saveBackgroundHealInfo(ctx context.Context, objAPI ObjectLayer, info backgroundHealInfo) {
    	if globalIsErasureSD {
    		return
    	}
    
    	b, err := json.Marshal(info)
    	if err != nil {
    		bugLogIf(ctx, err)
    		return
    	}
    	// Get last healing information
    	err = saveConfig(ctx, objAPI, backgroundHealInfoPath, b)
    	if err != nil {
    		internalLogIf(ctx, err)
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    		c.Fatalf("unexpected new request err: %v", err)
    	}
    	reqBodyArg := madmin.UserInfo{
    		SecretKey:  secretKey,
    		PolicyName: "consoleAdmin",
    		Status:     madmin.AccountEnabled,
    	}
    	buf, err := json.Marshal(reqBodyArg)
    	if err != nil {
    		c.Fatalf("unexpected json encode err: %v", err)
    	}
    	buf, err = madmin.EncryptData(secretKey, buf)
    	if err != nil {
    		c.Fatalf("unexpected encryption err: %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	case serviceRestart, serviceStop:
    		dryRun := vars.Get("dry-run") == "true" // This is only supported for `restart/stop`
    
    		waitingDisks := waitingDrivesNode()
    		if len(waitingDisks) > 0 {
    			buf, err := json.Marshal(waitingDisks)
    			if err != nil {
    				return np, grid.NewRemoteErr(err)
    			}
    			return np, grid.NewRemoteErrString(string(buf))
    		}
    		if !dryRun {
    			globalServiceSignalCh <- signal
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    		})
    	}
    
    	var completeBytes []byte
    	// Complete multipart upload parts.
    	completeUploads := &CompleteMultipartUpload{
    		Parts: parts,
    	}
    	completeBytes, err = xml.Marshal(completeUploads)
    	if err != nil {
    		t.Fatalf("Error XML encoding of parts: <ERROR> %s.", err)
    	}
    	// Indicating that all parts are uploaded and initiating CompleteMultipartUpload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		if err := opts.sessionPolicy.Validate(); err != nil {
    			return updatedAt, err
    		}
    
    		if opts.sessionPolicy.Version != "" && len(opts.sessionPolicy.Statements) > 0 {
    			policyBuf, err := json.Marshal(opts.sessionPolicy)
    			if err != nil {
    				return updatedAt, err
    			}
    
    			if len(policyBuf) > maxSVCSessionPolicySize {
    				return updatedAt, errSessionPolicyTooLarge
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  8. .mailmap

    Anand Babu (AB) Periasamy <******@****.***> <******@****.***>
    Anis Elleuch <******@****.***>
    Frederick F. Kautz IV <******@****.***> <******@****.***>
    Harshavardhana <harsha@min.io> <harsha@harshavardhana.net>
    Harshavardhana <harsha@min.io> <******@****.***>
    Harshavardhana <harsha@min.io>
    Krishna Srinivas <******@****.***> <******@****.***>
    Matthew Farrellee <******@****.***>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 09 18:39:42 UTC 2019
    - 835 bytes
    - Viewed (0)
  9. docs/hotfixes.md

    ```
    
    - A fix must be a valid fix that was reproduced and seen in a customer environment, for example.
    
    ```
    commit 886262e58af77ebc7c836ef587c08544e9a0c271
    Author: Harshavardhana <harsha@minio.io>
    Date:   Wed Nov 17 15:49:12 2021 -0800
    
        heal legacy objects when versioning is enabled after upgrade (#13671)
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. SECURITY.md

    for the past five days please contact the security team directly:
    
    - Primary security coordinator: ******@****.***
    - Secondary coordinator: harsha@min.io
    - If you receive no response: ******@****.***
    
    ### Disclosure Process
    
    MinIO uses the following disclosure process:
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top