Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for hosts (0.15 sec)

  1. cmd/utils_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	req.RequestURI = "/?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=USWUXHGYZQYFYFFIT3RE%2F20170529%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170529T190139Z&X-Amz-Expires=600&X-Amz-Signature=19b58080999df54b446fc97304eb8dda60d3df1812ae97f3e8783351bfd9781d&X-Amz-SignedHeaders=host&prefix=Hello%2AWorld%2A"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. cmd/server-main.go

    			return
    		}
    		ip := "127.0.0.1"
    		host, _ := mustSplitHostPort(globalLocalNodeName)
    		if host != "" {
    			if net.ParseIP(host) != nil {
    				ip = host
    			} else {
    				ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
    				defer cancel()
    
    				haddrs, err := globalDNSCache.LookupHost(ctx, host)
    				if err == nil {
    					ip = haddrs[0]
    				}
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  3. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrMissingSignHeadersTag,
    		},
    		// Test case - 3.
    		// Test case with valid inputs.
    		{
    			inputSignElement:      "SignedHeaders=host;x-amz-content-sha256;x-amz-date",
    			expectedSignedHeaders: []string{"host", "x-amz-content-sha256", "x-amz-date"},
    			expectedErrCode:       ErrNone,
    		},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  4. internal/event/target/mysql.go

    type MySQLArgs struct {
    	Enable             bool     `json:"enable"`
    	Format             string   `json:"format"`
    	DSN                string   `json:"dsnString"`
    	Table              string   `json:"table"`
    	Host               xnet.URL `json:"host"`
    	Port               string   `json:"port"`
    	User               string   `json:"user"`
    	Password           string   `json:"password"`
    	Database           string   `json:"database"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  5. cmd/update_test.go

    	sci := globalIsCICD
    	globalIsCICD = false
    	defer func() {
    		globalIsCICD = sci
    	}()
    
    	t.Setenv("KUBERNETES_SERVICE_HOST", "10.11.148.5")
    	kubernetes := IsKubernetes()
    	if !kubernetes {
    		t.Fatalf("Expected %t, got %t", true, kubernetes)
    	}
    	os.Unsetenv("KUBERNETES_SERVICE_HOST")
    
    	kubernetes = IsKubernetes()
    	if kubernetes {
    		t.Fatalf("Expected %t, got %t", false, kubernetes)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. cmd/perf-tests.go

    	cli, err := globalSiteReplicationSys.getAdminClient(ctx, deploymentID)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    	rp := cli.GetEndpointURL()
    	reqURL := &url.URL{
    		Scheme: rp.Scheme,
    		Host:   rp.Host,
    		Path:   reqPath,
    	}
    	result.Endpoint = rp.String()
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, reqURL.String(), reader)
    	if err != nil {
    		result.Error = err.Error()
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. internal/config/notify/legacy.go

    			Value: cfg.ConnectionString,
    		},
    		config.KV{
    			Key:   target.PostgresTable,
    			Value: cfg.Table,
    		},
    		config.KV{
    			Key:   target.PostgresHost,
    			Value: cfg.Host.String(),
    		},
    		config.KV{
    			Key:   target.PostgresPort,
    			Value: cfg.Port,
    		},
    		config.KV{
    			Key:   target.PostgresUsername,
    			Value: cfg.Username,
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    // by sending a naked HTTP request with liveness checks.
    func isServerResolvable(endpoint Endpoint, timeout time.Duration) error {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   pathJoin(healthCheckPathPrefix, healthCheckLivenessPath),
    	}
    
    	httpClient := &http.Client{
    		Transport: globalInternodeTransport,
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    				defer wg.Done()
    
    				lk.Lock()
    				// Only add lockers only one per endpoint and per erasure set.
    				if locker, ok := erasureLockers[endpoint.Host]; ok && !lockerEpSet.Contains(endpoint.Host) {
    					lockerEpSet.Add(endpoint.Host)
    					s.erasureLockers[i] = append(s.erasureLockers[i], locker)
    				}
    				lk.Unlock()
    			}(i, endpoints.Endpoints[i*setDriveCount+j])
    		}
    	}
    	wg.Wait()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. internal/logger/logger.go

    			ObjectName: ov.ObjectName,
    			VersionID:  ov.VersionID,
    		})
    	}
    
    	entry := log.Entry{
    		DeploymentID: deploymentID,
    		Level:        logKind,
    		RemoteHost:   req.RemoteHost,
    		Host:         req.Host,
    		RequestID:    req.RequestID,
    		UserAgent:    req.UserAgent,
    		Time:         time.Now().UTC(),
    		API: &log.API{
    			Name: API,
    			Args: &log.Args{
    				Bucket:    req.BucketName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top