Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for releaseinfo (0.19 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. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                fixProgramListings(doc)
            }
        }
    
        def addVersionInfo(Document doc) {
            Element releaseInfo = doc.createElement('releaseinfo')
            releaseInfo.appendChild(doc.createTextNode(version.get().toString()))
            doc.documentElement.bookinfo[0]?.appendChild(releaseInfo)
        }
    
        def fixProgramListings(Document doc) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. cmd/peer-rest-common.go

    	peerRESTMetrics         = "metrics"
    	peerRESTDryRun          = "dry-run"
    	peerRESTUploadID        = "up-id"
    
    	peerRESTURL         = "url"
    	peerRESTSha256Sum   = "sha256sum"
    	peerRESTReleaseInfo = "releaseinfo"
    	peerRESTExecAt      = "exec-at"
    
    	peerRESTListenBucket = "bucket"
    	peerRESTListenPrefix = "prefix"
    	peerRESTListenSuffix = "suffix"
    	peerRESTListenEvents = "events"
    	peerRESTLogMask      = "log-mask"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		return
    	}
    
    	content, err := downloadReleaseURL(u, updateTimeout, mode)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	sha256Sum, lrTime, releaseInfo, err := parseReleaseData(content)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	updateStatus := madmin.ServerUpdateStatusV2{
    		DryRun:  dryRun,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. 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)
  7. cmd/peer-rest-server.go

    		return
    	}
    
    	sha256Sum, err := hex.DecodeString(r.Form.Get(peerRESTSha256Sum))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	releaseInfo := r.Form.Get(peerRESTReleaseInfo)
    
    	lrTime, err := releaseInfoToReleaseTime(releaseInfo)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	if lrTime.Sub(currentReleaseTime) <= 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. 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