- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for cluster2b (0.21 sec)
-
pilot/pkg/xds/endpoints/ep_filters_test.go
Weight: 42, }, }, wantWorkloadMetadata: []string{ ";ns;example;;cluster1a", ";ns;example;;cluster1a", ";ns;example;;cluster1b", ";ns;example;;cluster4", ";;;;cluster2a", ";;;;cluster2b", ";;;;cluster2b", }, }, { name: "from_network1_cluster1b", proxy: makeProxy("network1", "cluster1b"), want: []xdstest.LocLbEpInfo{ { LbEps: []xdstest.LbEpInfo{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 26.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller_test.go
registry2Counter := atomic.NewInt32(0) for _, r := range registries { counter := atomic.NewInt32(0) clusterID := r.Cluster() if clusterID == "cluster1" { counter = registry1Counter } if clusterID == "cluster2" { counter = registry2Counter } ctrl.AppendServiceHandlerForCluster(clusterID, func(_, curr *model.Service, event model.Event) { counter.Add(1) }) ctrl.AddRegistry(r) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go
networkManager: &networkManager{ clusterID: c.ctl.cluster, network: c.ctl.network, }, opts: Options{ClusterID: c.ctl.cluster}, } eb := cc.NewEndpointBuilderFromMetadata(c.proxy) assert.Equal(t, eb.labels, c.expected) }) } } type testController struct { locality string cluster cluster2.ID network network.ID
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9.4K bytes - Viewed (0) -
pkg/test/framework/components/cluster/clusters.go
func (c Clusters) Default() Cluster { return c[0] } // GetOrDefault returns the given cluster if non-nil. Otherwise returns the first // Cluster in the list. func (c Clusters) GetOrDefault(cluster Cluster) Cluster { if cluster != nil { return cluster } return c.Default() } // GetByName returns the Cluster with the given name or nil if it is not in the list.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 4.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller.go
clusterID := srcRegistry.Cluster() if len(dst.ClusterVIPs.GetAddressesFor(clusterID)) == 0 { newAddresses := src.ClusterVIPs.GetAddressesFor(clusterID) dst.ClusterVIPs.SetAddressesFor(clusterID, newAddresses) } } // NetworkGateways merges the service-based cross-network gateways from each registry. func (c *Controller) NetworkGateways() []model.NetworkGateway { var gws []model.NetworkGateway
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 13.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/api/annotation" meshconfig "istio.io/api/mesh/v1alpha1" "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/config/kube" "istio.io/istio/pkg/config/protocol" ) var ( domainSuffix = "company.com" clusterID = cluster.ID("test-cluster") ) func TestConvertProtocol(t *testing.T) { http := "http" type protocolCase struct { port int32
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
} labels := labelutil.AugmentLabels(we.Labels, clusterID, locality, "", networkID) return &model.WorkloadInstance{ Endpoint: &model.IstioEndpoint{ Address: addr, // Not setting ports here as its done by k8s controller Network: network.ID(we.Network), Locality: model.Locality{ Label: locality, ClusterID: clusterID, }, LbWeight: we.Weight, Namespace: cfg.Namespace,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/test/framework/components/cluster/cluster.go
PrimaryName() string // Config returns the config cluster for this cluster. Will return itself if // IsConfig. Config() Cluster // ConfigName returns the name of the config cluster for this cluster. ConfigName() string // HTTPProxy returns the HTTP proxy config to connect to the cluster HTTPProxy() string // Metadata returns the value for a given metadata key for the cluster.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster.go
func (p clusterPatcher) conditionallyAppend(l []*cluster.Cluster, hosts []host.Name, clusters ...*cluster.Cluster) []*cluster.Cluster { if !p.hasPatches() { return append(l, clusters...) } for _, c := range clusters { if patched := p.doPatch(hosts, c); patched != nil { l = append(l, patched) } } return l } func (p clusterPatcher) insertedClusters() []*cluster.Cluster {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0)