Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Endpoints (0.4 sec)

  1. 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)
  2. cmd/erasure-sets.go

    			wg.Add(1)
    			go func(i int, endpoint Endpoint) {
    				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])
    		}
    	}
    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)
  3. cmd/format-erasure.go

    	}
    	wg.Wait()
    }
    
    // Initialize storage disks for each endpoint.
    // Errors are returned for each endpoint with matching index.
    func initStorageDisksWithErrors(endpoints Endpoints, opts storageOpts) ([]StorageAPI, []error) {
    	// Bootstrap disks.
    	storageDisks := make([]StorageAPI, len(endpoints))
    	g := errgroup.WithNErrs(len(endpoints))
    	for index := range endpoints {
    		index := index
    		g.Go(func() (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	}
    	for i := range endpoints {
    		endpoints[i].SetPoolIndex(poolIdx)
    		endpoints[i].SetSetIndex(i / drivesPerSet)
    		endpoints[i].SetDiskIndex(i % drivesPerSet)
    	}
    	return endpoints
    }
    
    func getEndpointsLocalAddr(endpointServerPools EndpointServerPools) string {
    	for _, endpoints := range endpointServerPools {
    		for _, endpoint := range endpoints.Endpoints {
    			if endpoint.IsLocal && endpoint.Type() == URLEndpointType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.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/config-current.go

    			Description:     "send server logs to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditWebhookSubSys,
    			Description:     "send audit logs to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditKafkaSubSys,
    			Description:     "send audit logs to kafka endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  7. cmd/common-main.go

    		}
    
    		var endpoints []string
    		for _, endpoint := range strings.Split(env.Get(kms.EnvKESEndpoint, ""), ",") {
    			if strings.TrimSpace(endpoint) == "" {
    				continue
    			}
    			if !ellipses.HasEllipses(endpoint) {
    				endpoints = append(endpoints, endpoint)
    				continue
    			}
    			patterns, err := ellipses.FindEllipsesPatterns(endpoint)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  8. docs/en/docs/advanced/websockets.md

    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    They work the same way as for other FastAPI endpoints/*path operations*:
    
    === "Python 3.10+"
    
        ```Python hl_lines="68-69  82"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    			// Preserve any current pool status.
    			if currentPool.CmdLine == pool.endpoints.CmdLine {
    				newMeta.Pools = append(newMeta.Pools, currentPool)
    				skip = true
    				break
    			}
    		}
    		if skip {
    			continue
    		}
    		newMeta.Pools = append(newMeta.Pools, PoolStatus{
    			CmdLine:    pool.endpoints.CmdLine,
    			ID:         idx,
    			LastUpdate: UTCNow(),
    		})
    	}
    	return newMeta
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. cni/pkg/constants/constants.go

    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    const (
    	DefaultKubeconfigMode = 0o600
    
    	CNIAddEventPath = "/cmdadd"
    	UDSLogPath      = "/log"
    
    	// K8s liveness and readiness endpoints
    	LivenessEndpoint  = "/healthz"
    	ReadinessEndpoint = "/readyz"
    	ReadinessPort     = "8000"
    )
    
    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top