Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 312 for Endpoint (0.19 sec)

  1. cmd/endpoint.go

    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    	IsLocal bool
    
    	PoolIdx, SetIdx, DiskIdx int
    }
    
    // Equal returns true if endpoint == ep
    func (endpoint Endpoint) Equal(ep Endpoint) bool {
    	if endpoint.IsLocal == ep.IsLocal && endpoint.PoolIdx == ep.PoolIdx && endpoint.SetIdx == ep.SetIdx && endpoint.DiskIdx == ep.DiskIdx {
    		if endpoint.Path == ep.Path && endpoint.Host == ep.Host {
    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)
  2. cmd/endpoint-ellipses.go

    }
    
    // Returns all the expanded endpoints, each argument is expanded separately.
    func (s *endpointSet) getEndpoints() (endpoints []string) {
    	if len(s.endpoints) != 0 {
    		return s.endpoints
    	}
    	for _, argPattern := range s.argPatterns {
    		for _, lbls := range argPattern.Expand() {
    			endpoints = append(endpoints, strings.Join(lbls, ""))
    		}
    	}
    	s.endpoints = endpoints
    	return endpoints
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/endpoint_test.go

    		{SlashSeparator, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{`\`, Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    		{"c://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"ftp://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"http://server/path?location", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    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)
  4. cmd/endpoint-ellipses_test.go

    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%d", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    // Test tests parses endpoint ellipses input pattern.
    func TestParseEndpointSet(t *testing.T) {
    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  5. cmd/bucket-targets.go

    					if result.Online {
    						lastOnline = time.Now()
    					}
    					l := prev.latency
    					l.update(time.Since(start))
    					m[result.Endpoint.Host] = epHealth{
    						Endpoint:        result.Endpoint.Host,
    						Scheme:          result.Endpoint.Scheme,
    						Online:          result.Online,
    						lastOnline:      lastOnline,
    						offlineDuration: offline,
    						lastHCAt:        time.Now(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		getURL          string
    		expectedStrings []string
    	}{
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", ""), []string{"<Key>foo bar 1</Key>", "<Key>foo bar 2</Key>"}},
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", "url"), []string{"<Key>foo+bar+1</Key>", "<Key>foo+bar+2</Key>"}},
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "", "1000", "", ""),
    			[]string{
    				"<Key>foo bar 1</Key>",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. internal/logger/config.go

    		for _, target := range loggerTargets {
    			endpoint := getCfgVal(legacyEnvLoggerHTTPEndpoint, target, "")
    			if endpoint == "" {
    				continue
    			}
    			url, err := xnet.ParseHTTPURL(endpoint)
    			if err != nil {
    				LogOnceIf(ctx, "logging", err, "logger-webhook-"+endpoint)
    				continue
    			}
    			cfg.HTTP[target] = http.Config{
    				Enabled:  true,
    				Endpoint: url,
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/README.md

    - MinIO exports Prometheus compatible data by default as an authorized endpoint at `/minio/v2/metrics/cluster`. 
    - MinIO exports Prometheus compatible data by default which is bucket centric as an authorized endpoint at `/minio/v2/metrics/bucket`.
    - MinIO exports Prometheus compatible data by default which is node centric as an authorized endpoint at `/minio/v2/metrics/node`.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. internal/config/dns/operator_dns.go

    	}
    }
    
    // NewOperatorDNS - initialize a new K8S Operator DNS set/unset values.
    func NewOperatorDNS(endpoint string, setters ...OperatorOption) (Store, error) {
    	if endpoint == "" {
    		return nil, errors.New("invalid argument")
    	}
    
    	args := &OperatorDNS{
    		Endpoint: endpoint,
    	}
    	for _, setter := range setters {
    		setter(args)
    	}
    	args.httpClient = &http.Client{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.go

    	var clnts []*bootstrapRESTClient
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				continue
    			}
    			if seenClient.Contains(endpoint.Host) {
    				continue
    			}
    			seenClient.Add(endpoint.Host)
    			clnts = append(clnts, &bootstrapRESTClient{gm.Connection(endpoint.GridHost())})
    		}
    	}
    	return clnts
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top