- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for cluster (0.22 sec)
-
istioctl/pkg/writer/compare/cluster.go
} diff := difflib.UnifiedDiff{ FromFile: "Istiod Clusters", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Clusters", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } if text != "" { fmt.Fprintln(c.w, "Clusters Don't Match") fmt.Fprintln(c.w, text) } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
for i := range dac { dac[i].Cluster.TypeUrl = v3.ClusterType } sort.Slice(dac, func(i, j int) bool { cluster := &cluster.Cluster{} err = dac[i].Cluster.UnmarshalTo(cluster) if err != nil { return false } name := cluster.Name err = dac[j].Cluster.UnmarshalTo(cluster) if err != nil { return false } return name < cluster.Name }) if stripVersions { for i := range dac {
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) -
istioctl/pkg/multicluster/cluster.go
import ( "context" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/kubernetes" ) // Use UUID of kube-system Namespace as unique identifier for cluster. // (see https://docs.google.com/document/d/1F__vEKeI41P7PPUCMM9PVPYY34pyrvQI5rbTJVnS5c4) func clusterUID(client kubernetes.Interface) (types.UID, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Sep 02 03:11:58 GMT 2022 - 1.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
if c.Cluster != nil { clusterTyped := &cluster.Cluster{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. c.Cluster.TypeUrl = v3.ClusterType err = c.Cluster.UnmarshalTo(clusterTyped) if err != nil { return nil, err } clusters = append(clusters, clusterTyped) } } for _, c := range clusterDump.StaticClusters { if c.Cluster != nil { clusterTyped := &cluster.Cluster{}
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/writer/compare/cluster_test.go
John Howard <******@****.***> 1590784921 -0700
Go - Registered: Wed Mar 06 22:53:12 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 602 bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster_test.go
John Howard <******@****.***> 1590784921 -0700
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 29 20:42:01 GMT 2020 - 605 bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
for _, cluster := range c.clusters.ClusterStatuses { for _, host := range cluster.HostStatuses { if filter.Verify(host, cluster.Name) { filteredClusters = append(filteredClusters, cluster) break } } } out, err := json.MarshalIndent(filteredClusters, "", " ") if err != nil { return err } if outputFormat == "yaml" { if out, err = yaml.JSONToYAML(out); err != nil { return err
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
for istiod, clusters := range statuses { for _, c := range clusters { _, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", c.ID, c.SecretName, c.SyncStatus, istiod) } } _ = w.Flush() return nil } func parseClusterStatuses(input map[string][]byte) (map[string][]cluster.DebugInfo, error) { statuses := make(map[string][]cluster.DebugInfo, len(input)) for istiodKey, bytes := range input {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
# (This is the usual way to get the debug information with an out-of-cluster control plane.) istioctl x internal-debug syncz --xds-address istio.cloudprovider.example.com:15012 # Retrieve syncz debug information via Kubernetes config, using token security # (This is the usual way to get the debug information with an in-cluster control plane.) istioctl x internal-debug syncz
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} a, ok := r.GetAction().(*route.Route_Route) if !ok { return "" } cl, ok := a.Route.ClusterSpecifier.(*route.RouteAction_Cluster) if !ok { return "" } if strings.Contains(cl.Cluster, "Cluster") { return cl.Cluster } return fmt.Sprintf("Cluster: %s", cl.Cluster) } func describeDomains(vh *route.VirtualHost) string { if len(vh.GetDomains()) == 1 && vh.GetDomains()[0] == "*" { return ""
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0)