- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for SetEndpoints (0.18 sec)
-
cmd/endpoint-ellipses.go
// Endpoint set represents parsed ellipses values, also provides // methods to get the sets of endpoints. type endpointSet struct { argPatterns []ellipses.ArgPattern endpoints []string // Endpoints saved from previous GetEndpoints(). setIndexes [][]uint64 // All the sets. } // Supported set sizes this is used to find the optimal // single set size. var setSizes = []uint64{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go
createEndpoints(t, controller, svcName, ns, portNames, svc1Ips, nil, map[string]string{ mcs.LabelServiceName: svcName, }) fx.AssertEmpty(t, time.Millisecond*50) // Ensure that no endpoint is create endpoints := GetEndpoints(svc, controller.Endpoints) assert.Equal(t, len(endpoints), 0) } func TestEndpointSliceCache(t *testing.T) { cache := newEndpointSliceCache() hostname := host.Name("foo") // add a endpoint
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 4.5K bytes - Viewed (0) -
cmd/erasure-healing.go
dryRun := opts.DryRun scanMode := opts.ScanMode storageDisks := er.getDisks() storageEndpoints := er.getEndpoints() defer func() { er.auditHealObject(ctx, bucket, object, versionID, result, err) }() if globalTrace.NumSubscribers(madmin.TraceHealing) > 0 { startTime := time.Now() defer func() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.8K bytes - Viewed (0) -
pkg/adsc/adsc.go
// GetRoutes returns all the routes. func (a *ADSC) GetRoutes() map[string]*route.RouteConfiguration { a.mutex.RLock() defer a.mutex.RUnlock() return a.routes } // GetEndpoints returns all the routes. func (a *ADSC) GetEndpoints() map[string]*endpoint.ClusterLoadAssignment { a.mutex.RLock() defer a.mutex.RUnlock() return a.eds }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 05 22:18:49 UTC 2024 - 35K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
ep := GetEndpointsForPort(svc, ctl.Endpoints, 80) return len(ep) }, 2) ep := GetEndpointsForPort(svc, ctl.Endpoints, 80) if len(ep) != 2 { t.Fatalf("Invalid response for GetEndpoints %v", ep) } if ep[0].Address == "10.10.1.1" && ep[0].Network != "network1" { t.Fatalf("Endpoint with IP 10.10.1.1 is expected to be in network1 but get: %s", ep[0].Network) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
cmd/erasure-sets.go
poolIndex: poolIdx, setDriveCount: setDriveCount, defaultParityCount: defaultParityCount, getDisks: s.GetDisks(i), getLockers: s.GetLockers(i), getEndpoints: s.GetEndpoints(i), getEndpointStrings: s.GetEndpointStrings(i), nsMutex: mutex, } }(i) } wg.Wait() // start cleanup stale uploads go-routine.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 37.7K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
disks, _ := set.getOnlineDisksWithHealing(false) if len(disks) == 0 { return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints()) } // However many we ask, versions must exist on ~50% listingQuorum := (set.setDriveCount + 1) / 2 // How to resolve partial results. resolver := metadataResolutionParams{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 27.3K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
disks, _ := set.getOnlineDisksWithHealing(false) if len(disks) == 0 { return fmt.Errorf("no online drives found for set with endpoints %s", set.getEndpoints()) } // However many we ask, versions must exist on ~50% listingQuorum := (set.setDriveCount + 1) / 2 // How to resolve partial results. resolver := metadataResolutionParams{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 14:30:43 UTC 2024 - 41.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
clusters = xdstest.FilterClusters(clusters, inboundFilter) g.Expect(len(clusters)).ShouldNot(Equal(0)) for _, cluster := range clusters { socket := cluster.GetLoadAssignment().GetEndpoints()[0].LbEndpoints[0].GetEndpoint().GetAddress().GetSocketAddress() g.Expect(socket.GetAddress()).To(Equal(c.expectedAddr)) g.Expect(socket.GetPortValue()).To(Equal(c.expectedPort)) } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0)