Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getUserAgent (0.17 seconds)

  1. cmd/update.go

    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. cmd/config-current.go

    				return err
    			}
    			etcdClnt.Close()
    		}
    	case config.IdentityOpenIDSubSys:
    		if _, err := openid.LookupConfig(s,
    			xhttp.WithUserAgent(NewHTTPTransport(), func() string {
    				return getUserAgent(getMinioMode())
    			}), xhttp.DrainBody, globalSite.Region()); err != nil {
    			return err
    		}
    	case config.IdentityLDAPSubSys:
    		cfg, err := xldap.Lookup(s, globalRootCAs)
    		if err != nil {
    			return err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            // configProps map is kept "pristine", is written ONLY, the mandatory resolver config
            Map<String, Object> configProps = new LinkedHashMap<>();
            configProps.put(ConfigurationProperties.USER_AGENT, getUserAgent());
            configProps.put(ConfigurationProperties.INTERACTIVE, request.isInteractiveMode());
            configProps.put("maven.startTime", request.getStartTime());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 05:56:35 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  4. cmd/update_test.go

    			t.Setenv(testCase.envName, testCase.envValue)
    			if testCase.envName == "MESOS_CONTAINER_NAME" {
    				t.Setenv("MARATHON_APP_LABEL_DCOS_PACKAGE_VERSION", "mesos-1111")
    			}
    		}
    
    		str := getUserAgent(testCase.mode)
    		expectedStr := testCase.expectedStr
    		if IsDocker() {
    			expectedStr = strings.ReplaceAll(expectedStr, "; source", "; docker; source")
    		}
    		if !strings.Contains(str, expectedStr) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. cmd/iam.go

    		sys.STSTLSConfig = stsTLSConfig
    		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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
Back to Top