Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 117 for Scheme (0.16 sec)

  1. cmd/generic-handlers.go

    		if err != nil {
    			return nil
    		}
    		return &xnet.URL{
    			Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort),
    			Scheme: func() string {
    				scheme := "http"
    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. cmd/notification.go

    	length := len(sys.allPeerClients)
    	if length == 0 {
    		// For single node erasure setup.
    		return nil
    	}
    	results := make([]madmin.NetperfNodeResult, length)
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	var wg sync.WaitGroup
    	for index := range sys.peerClients {
    		if sys.peerClients[index] == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(index int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	}
    	proto := handlers.GetSourceScheme(r)
    	if proto == "" {
    		proto = getURLScheme(globalIsTLS)
    	}
    	u := &url.URL{
    		Host:   r.Host,
    		Path:   path.Join(SlashSeparator, bucket, object),
    		Scheme: proto,
    	}
    	// If domain is set then we need to use bucket DNS style.
    	for _, domain := range domains {
    		if strings.HasPrefix(r.Host, bucket+"."+domain) {
    			u.Path = path.Join(SlashSeparator, object)
    			break
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  4. cmd/endpoint.go

    			scheme = endpoint.Scheme
    		} else if endpoint.Type() != endpointType {
    			return nil, fmt.Errorf("mixed style endpoints are not supported")
    		} else if endpoint.Scheme != scheme {
    			return nil, fmt.Errorf("mixed scheme is not supported")
    		}
    
    		arg = endpoint.String()
    		if uniqueArgs.Contains(arg) {
    			return nil, fmt.Errorf("duplicate endpoints found")
    		}
    		uniqueArgs.Add(arg)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  5. internal/handlers/forwarder.go

    	}
    	return &out
    }
    
    // Modify the request to handle the target URL
    func (f *Forwarder) modifyRequest(outReq *http.Request, target *url.URL) {
    	outReq.URL = copyURL(outReq.URL)
    	outReq.URL.Scheme = target.Scheme
    	outReq.URL.Host = target.Host
    
    	u := f.getURLFromRequest(outReq)
    
    	outReq.URL.Path = u.Path
    	outReq.URL.RawPath = u.RawPath
    	outReq.URL.RawQuery = u.RawQuery
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K 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()
    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. schema/schema_helper_test.go

    			if r.Name != relation.Name {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Name, relation.Name)
    			}
    
    			if r.Type != relation.Type {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Type, relation.Type)
    			}
    
    			if r.Schema.Name != relation.Schema {
    				t.Errorf("schema %v relation's schema expects %v, but got %v", s, relation.Schema, r.Schema.Name)
    			}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    			whSVC:          "istiod-revision",
    			whCA:           "ca",
    			userManaged:    true,
    		},
    	}
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    
    	fail := admitv1.Fail
    	fakeClient := kube.NewFakeClient(&admitv1.ValidatingWebhookConfiguration{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. cmd/endpoint_test.go

    			Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d1"}, IsLocal: true},
    			Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d2"}, IsLocal: true},
    			Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d3"}, IsLocal: true},
    			Endpoint{URL: &url.URL{Scheme: "http", Host: "localhost:9000", Path: "/d4"}, IsLocal: true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  10. cmd/prepare-storage.go

    // isServerResolvable - checks if the endpoint is resolvable
    // 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)
Back to top