- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tool (0.16 sec)
-
istioctl/pkg/writer/envoy/configdump/cluster.go
FQDN host.Name Port int Subset string Direction model.TrafficDirection } // Verify returns true if the passed cluster matches the filter fields func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool { name := cluster.Name if c.FQDN == "" && c.Port == 0 && c.Subset == "" && c.Direction == "" { return true } if c.FQDN != "" && !strings.Contains(name, string(c.FQDN)) { return false }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) { clusterDump, err := w.GetClusterConfigDump() if err != nil { return nil, err } dac := clusterDump.GetDynamicActiveClusters() // Allow sorting to work even if we don't have the exact same type for i := range dac { dac[i].Cluster.TypeUrl = v3.ClusterType } sort.Slice(dac, func(i, j int) bool { cluster := &cluster.Cluster{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.1K bytes - Viewed (0)