Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for releaseinfo (0.17 sec)

  1. cmd/update.go

    		return sha256Sum, releaseTime, releaseInfo, err
    	}
    
    	sha256Sum, err = hex.DecodeString(fields[0])
    	if err != nil {
    		return sha256Sum, releaseTime, releaseInfo, err
    	}
    
    	releaseInfo = fields[1]
    
    	releaseTime, err = releaseInfoToReleaseTime(releaseInfo)
    	return sha256Sum, releaseTime, releaseInfo, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/update_test.go

    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    			if testCase.expectedReleaseInfo != releaseInfo {
    				t.Errorf("case %d: result: expected: %v, got: %v", i+1, testCase.expectedReleaseInfo, releaseInfo)
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    func (client *peerRESTClient) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, reader io.Reader) error {
    	values := make(url.Values)
    	values.Set(peerRESTURL, u.String())
    	values.Set(peerRESTSha256Sum, hex.EncodeToString(sha256Sum))
    	values.Set(peerRESTReleaseInfo, releaseInfo)
    
    	respBody, err := client.callWithContext(ctx, peerRESTMethodVerifyBinary, values, reader, -1)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. cmd/notification.go

    		internalLogIf(ctx, err)
    	}
    
    	return
    }
    
    // VerifyBinary - asks remote peers to verify the checksum
    func (sys *NotificationSys) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, bin []byte) []NotificationPeerErr {
    	// FIXME: network calls made in this manner such as one goroutine per node,
    	// can easily eat into the internode bandwidth. This function would be mostly
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top