Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Endpoints (0.32 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/etcd.go

    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    		return fmt.Errorf("%w %s", errEtcdUnreachable, etcdEndpoints)
    	default:
    		return fmt.Errorf("unexpected error %w from etcd, please check your endpoints %s", err, etcdEndpoints)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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)
  4. cmd/admin-server-info.go

    	network := make(map[string]string)
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				poolNumbers[endpoint.PoolIdx+1] = struct{}{}
    			}
    			nodeName := endpoint.Host
    			if nodeName == "" {
    				nodeName = addr
    			}
    			if endpoint.IsLocal {
    				// Only proceed for local endpoints
    				network[nodeName] = string(madmin.ItemOnline)
    				continue
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. cmd/format-erasure_test.go

    	b.ResetTimer()
    	b.ReportAllocs()
    
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	endpoints := mustGetNewEndpoints(0, 16, fsDirs...)
    	b.RunParallel(func(pb *testing.PB) {
    		endpoints := endpoints
    		for pb.Next() {
    			initStorageDisksWithErrors(endpoints, storageOpts{cleanUp: false, healthCheck: false})
    		}
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. internal/kms/kms.go

    type Status struct {
    	Name      string   // The name of the KMS
    	Endpoints []string // A set of the KMS endpoints
    
    	// DefaultKey is the key used when no explicit key ID
    	// is specified. It is empty if the KMS does not support
    	// a default key.
    	DefaultKey string
    
    	// Details provides more details about the KMS endpoint status.
    	// including uptime, version and available CPUs.
    	// Could be more in future.
    	Details kes.State
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. cmd/admin-heal-ops.go

    func (ahs *allHealState) getHealLocalDiskEndpoints() Endpoints {
    	ahs.RLock()
    	defer ahs.RUnlock()
    
    	var endpoints Endpoints
    	for ep, healing := range ahs.healLocalDisks {
    		if !healing {
    			endpoints = append(endpoints, ep)
    		}
    	}
    	return endpoints
    }
    
    // Set, in the memory, the state of the disk as currently healing or not
    func (ahs *allHealState) setDiskHealingStatus(ep Endpoint, healing bool) {
    	ahs.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  9. 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)
  10. 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)
Back to top