Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for VerifyBinary (0.21 sec)

  1. cmd/peer-rest-common.go

    	peerRESTPath          = peerRESTPrefix + peerRESTVersionPrefix
    )
    
    const (
    	peerRESTMethodHealth                = "/health"
    	peerRESTMethodVerifyBinary          = "/verifybinary"
    	peerRESTMethodCommitBinary          = "/commitbinary"
    	peerRESTMethodStartProfiling        = "/startprofiling"
    	peerRESTMethodDownloadProfilingData = "/downloadprofilingdata"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	if conn == nil {
    		return nil
    	}
    
    	_, err := reloadSiteReplicationConfigRPC.Call(ctx, conn, grid.NewMSS())
    	return err
    }
    
    // VerifyBinary - sends verify binary message to remote peers.
    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())
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. cmd/notification.go

    	}
    	if b := getClusterMetaInfo(ctx); len(b) > 0 {
    		internalLogIf(ctx, embedFileInZip(zipWriter, "cluster.info", b, 0o600))
    	}
    
    	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,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	if local == "" {
    		local = "127.0.0.1"
    	}
    
    	failedClients := make(map[int]struct{})
    
    	if globalIsDistErasure {
    		// Push binary to other servers
    		for idx, nerr := range globalNotificationSys.VerifyBinary(ctx, u, sha256Sum, releaseInfo, binC) {
    			if nerr.Err != nil {
    				peerResults[nerr.Host.String()] = madmin.ServerPeerUpdateStatus{
    					Host:           nerr.Host.String(),
    					Err:            nerr.Err.Error(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  5. cmd/peer-rest-server.go

    	globalEventNotifier.AddRulesMap(bucketName, rulesMap)
    }
    
    // HealthHandler - returns true of health
    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  6. cmd/update.go

    	return bc.Bytes(), b.Bytes(), nil
    }
    
    const (
    	// Update this whenever the official minisign pubkey is rotated.
    	defaultMinisignPubkey = "RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav"
    )
    
    func verifyBinary(u *url.URL, sha256Sum []byte, releaseInfo, mode string, reader io.Reader) (err error) {
    	if !updateInProgress.CompareAndSwap(0, 1) {
    		return errors.New("update already in progress")
    	}
    	defer updateInProgress.Store(0)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top