Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMinioMode (0.07 sec)

  1. cmd/handler-utils.go

    		case madmin.AdminAPIVersion:
    			desc = fmt.Sprintf("This 'admin' API is not supported by server in '%s'", getMinioMode())
    		default:
    			desc = fmt.Sprintf("Unexpected client 'admin' API version found '%s', expected '%s', please downgrade the client to older releases", version, madmin.AdminAPIVersion)
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    		writeErrorResponseJSON(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	dryRun := r.Form.Get("dry-run") == "true"
    
    	mode := getMinioMode()
    	if updateURL == "" {
    		updateURL = minioReleaseInfoURL
    		if runtime.GOOS == globalWindowsOSName {
    			updateURL = minioReleaseWindowsInfoURL
    		}
    	}
    
    	local := globalLocalNodeName
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  3. cmd/utils.go

    				si := strl - i - 1
    				if xfix[xi] != str[si] {
    					xfix = xfix[xi+1:]
    					break
    				}
    			}
    		}
    	}
    	return xfix
    }
    
    // Returns the mode in which MinIO is running
    func getMinioMode() string {
    	switch {
    	case globalIsDistErasure:
    		return globalMinioModeDistErasure
    	case globalIsErasure:
    		return globalMinioModeErasure
    	case globalIsErasureSD:
    		return globalMinioModeErasureSD
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    		return
    	}
    
    	zr, err := zstd.NewReader(r.Body)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	defer zr.Close()
    
    	if err = verifyBinary(u, sha256Sum, releaseInfo, getMinioMode(), zr); err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    }
    
    // CommitBinary - overwrites the current binary with the new one.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 53.6K bytes
    - Viewed (0)
  5. cmd/iam.go

    		sys.Unlock()
    	}
    
    	for {
    		if !openidInit {
    			openidConfig, err := openid.LookupConfig(s,
    				xhttp.WithUserAgent(NewHTTPTransport(), func() string {
    					return getUserAgent(getMinioMode())
    				}), xhttp.DrainBody, globalSite.Region())
    			if err != nil {
    				iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    			} else {
    				openidInit = true
    				sys.Lock()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
Back to top