- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for primaryClusterName (0.44 sec)
-
pkg/test/framework/components/cluster/topology.go
} func (c Topology) Primary() Cluster { cluster, ok := c.AllClusters[c.PrimaryClusterName] if !ok || cluster == nil { panic(fmt.Errorf("cannot find %s, the primary cluster for %s", c.PrimaryClusterName, c.Name())) } return cluster } func (c Topology) PrimaryName() string { return c.PrimaryClusterName } func (c Topology) Config() Cluster { cluster, ok := c.AllClusters[c.ConfigClusterName]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.5K bytes - Viewed (0) -
prow/config/topology/external-istiod-multicluster.json
"svcSubnet": "10.255.20.0/24", "network": "network-1", "primaryClusterName": "external", "configClusterName": "config" }, { "kind": "Kubernetes", "clusterName": "remote", "podSubnet": "10.30.0.0/16", "svcSubnet": "10.255.30.0/24", "network": "network-2", "primaryClusterName": "external", "configClusterName": "config", "meta": { "fakeVM": false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 25 15:28:47 UTC 2021 - 787 bytes - Viewed (0) -
prow/config/topology/external-istiod.json
"svcSubnet": "10.255.20.0/24", "network": "network-1", "primaryClusterName": "external", "configClusterName": "config" }, { "kind": "Kubernetes", "clusterName": "external", "podSubnet": "10.10.0.0/16", "svcSubnet": "10.255.10.0/24", "network": "network-1", "primaryClusterName": "external", "configClusterName": "config", "meta": { "fakeVM": false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 25 15:28:47 UTC 2021 - 512 bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/kube.go
func validConfig(cfg cluster.Config) (cluster.Config, error) { if cfg.Name == "" { return cfg, fmt.Errorf("empty cluster name") } if cfg.PrimaryClusterName == "" { cfg.PrimaryClusterName = cfg.Name } if cfg.ConfigClusterName == "" { cfg.ConfigClusterName = cfg.PrimaryClusterName } if cfg.Meta == nil { cfg.Meta = config.Map{} } return cfg, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.1K bytes - Viewed (0) -
pkg/test/framework/components/cluster/config.go
Network string `yaml:"network,omitempty"` HTTPProxy string `yaml:"httpProxy,omitempty"` ProxyKubectlOnly bool `yaml:"proxyKubectlOnly,omitempty"` PrimaryClusterName string `yaml:"primaryClusterName,omitempty"` ConfigClusterName string `yaml:"configClusterName,omitempty"` Meta config.Map `yaml:"meta,omitempty"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 1.1K bytes - Viewed (0) -
prow/config/topology/multicluster.json
"network": "network-1" }, { "kind": "Kubernetes", "clusterName": "remote", "podSubnet": "10.20.0.0/16", "svcSubnet": "10.255.20.0/24", "network": "network-1", "primaryClusterName": "primary", "meta": { "fakeVM": false } }, { "kind": "Kubernetes", "clusterName": "cross-network-primary", "podSubnet": "10.30.0.0/16", "svcSubnet": "10.255.30.0/24",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 01 19:44:55 UTC 2021 - 576 bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/fake.go
res := cluster.Clusters{} allClusters := make(cluster.Map) for i := 0; i < f.NumClusters; i++ { topo := cluster.NewTopology(cluster.Config{ Name: fmt.Sprintf("cluster-%d", i), PrimaryClusterName: fmt.Sprintf("cluster-%d", i), ConfigClusterName: fmt.Sprintf("cluster-%d", i), }, allClusters) c := &kube.Cluster{Topology: topo} res = append(res, c) allClusters[c.Name()] = c } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/settings.go
cfg := cluster.Config{ Name: fmt.Sprintf("cluster-%d", i), Network: s.networkTopology[ci], Meta: config.Map{"kubeconfig": kc}, } if idx, ok := s.controlPlaneTopology[ci]; ok { cfg.PrimaryClusterName = fmt.Sprintf("cluster-%d", idx) } if idx, ok := s.configTopology[ci]; ok { cfg.ConfigClusterName = fmt.Sprintf("cluster-%d", idx) } configs = append(configs, cfg) } return configs, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers_test.go
} var ( allClusters = make(cluster.Map) // 2 clusters on 2 networks cls1 = &kube.Cluster{Topology: cluster.Topology{ ClusterName: "cls1", Network: "n1", PrimaryClusterName: "cls1", ConfigClusterName: "cls1", Index: 0, AllClusters: allClusters, }} // simple pod a1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "a"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0)