- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for route (0.15 sec)
-
istioctl/pkg/util/configdump/route.go
route := &route.RouteConfiguration{} err = drc[i].RouteConfig.UnmarshalTo(route) if err != nil { return nil, err } sort.Slice(route.VirtualHosts, func(i, j int) bool { return route.VirtualHosts[i].Name < route.VirtualHosts[j].Name }) drc[i].RouteConfig = protoconv.MessageToAny(route) } if stripVersions { for i := range drc { drc[i].VersionInfo = "" drc[i].LastUpdated = nil } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
} for _, route := range routes { if filter.Verify(route) { if includeConfigType { route.Name = fmt.Sprintf("route/%s", route.Name) } if filter.Verbose { for _, vhosts := range route.GetVirtualHosts() { for _, r := range vhosts.Routes { if !isPassthrough(r.GetAction()) { fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n", route.Name, vhosts.Name,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/route.go
if err != nil { return err } istiodBytes.WriteString(istiod) } diff := difflib.UnifiedDiff{ FromFile: "Istiod Routes", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Routes", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 2.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route_test.go
}{ { name: "empty-gateway", }, { name: "istio-gateway-http-route-prefix", }, { name: "k8s-gateway-http-route-path-prefix", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name)) if err := cw.Prime(cd); err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} return strings.Join(vh.GetDomains(), "/") } func describeRoutes(vh *route.VirtualHost) string { routes := make([]string, 0, len(vh.GetRoutes())) for _, route := range vh.GetRoutes() { routes = append(routes, describeMatch(route.GetMatch())) } return strings.Join(routes, ", ") } func describeMatch(match *route.RouteMatch) string { conds := []string{} if match.GetPrefix() != "" {
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) -
internal/grid/connection.go
return &Subroute{ Connection: c, route: s, subID: makeSubHandlerID(0, s), trace: c.trace.subroute(s), } } // Subroute adds a subroute to the subroute. // The subroutes are combined with '/'. func (c *Subroute) Subroute(s string) *Subroute { route := strings.Join([]string{c.route, s}, "/") return &Subroute{ Connection: c.Connection, route: route,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 42.6K bytes - Viewed (0) -
cni/pkg/repair/netns.go
func getLinkWithDestinationOf(ip string) (netlink.Link, error) { routes, err := netlink.RouteListFiltered( netlink.FAMILY_V4, &netlink.Route{Dst: &net.IPNet{IP: net.ParseIP(ip), Mask: net.CIDRMask(32, 32)}}, netlink.RT_FILTER_DST) if err != nil { return nil, err } if len(routes) == 0 { return nil, fmt.Errorf("no routes found for %s", ip) } linkIndex := routes[0].LinkIndex return netlink.LinkByIndex(linkIndex) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
"sigs.k8s.io/yaml" "istio.io/istio/istioctl/pkg/util/clusters" "istio.io/istio/istioctl/pkg/util/proto" ) // EndpointFilter is used to pass filter information into route based config writer print functions type EndpointFilter struct { Address string Port uint32 Cluster string Status string }
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) -
internal/grid/muxclient.go
} msg.setZeroPayloadFlag() if m.subroute != nil { msg.Flags |= FlagSubroute } // Send... err := m.send(msg) if err != nil { out <- Response{Err: err} return } // Route directly to output. m.respWait = out } // RequestStream will send a single payload request and stream back results. // 'requests' can be nil, in which case only req is sent as input.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
istioctl proxy-config route <pod-name[.namespace]> --name 9080 # Retrieve full route dump for route 9080 istioctl proxy-config route <pod-name[.namespace]> --name 9080 -o json # Retrieve route summary without using Kubernetes API ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json istioctl proxy-config routes --file envoy-config.json `, Aliases: []string{"routes", "r"},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0)