- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for routes (0.17 sec)
-
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/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) -
cni/pkg/plugin/plugin_test.go
"ips": [ { "version": "4", "address": "10.0.0.2/24", "gateway": "10.0.0.1", "interface": 0 } ], "routes": [] }, "log_level": "debug", "cni_event_address": "%s", "ambient_enabled": %t, "kubernetes": { "k8s_api_root": "APIRoot", "kubeconfig": "testK8sConfig",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
Table: RouteTableInbound, LinkIndex: loopbackLink.Attrs().Index, }, } for _, route := range netlinkRoutes { log.Debugf("Iterating netlink route : %+v", route) if err := f(route); err != nil { log.Errorf("Failed to add netlink route : %+v", route) return fmt.Errorf("failed to add route: %v", err) } } } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K 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) -
istioctl/pkg/util/configdump/util.go
endpoints configTypeURL = "type.googleapis.com/envoy.admin.v3.EndpointsConfigDump" clusters configTypeURL = "type.googleapis.com/envoy.admin.v3.ClustersConfigDump" routes configTypeURL = "type.googleapis.com/envoy.admin.v3.RoutesConfigDump" secrets configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump" ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
expectedString: "unrecognized logger name: xxx", wantException: true, }, { // routes invalid args: strings.Split("routes invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config routes invalid" should fail }, { // bootstrap invalid args: strings.Split("bootstrap invalid", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
t.Fatalf("Failed to create Comparator: %v", err) } err = comparator.Diff() if err != nil { t.Errorf("Unexpected error during diff: %v", err) } expected := []string{"Clusters Match", "Listeners Match", "Routes Match"} for _, exp := range expected { if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) { t.Errorf("Expected %s, but it was not found", exp) } } }
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/describe/describe.go
for _, route := range vh.Routes { if routeDestinationMatchesSvc(route, svc, vh, port) { return getIstioConfig(route.Metadata) } } } } return "", nil } // routeDestinationMatchesSvc determines whether or not to use this service as a destination func routeDestinationMatchesSvc(vhRoute *route.Route, svc corev1.Service, vh *route.VirtualHost, port int32) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
ip, _ := netip.AddrFromSlice(configuredPodIPs.Address.IP) // We ignore the mask of the IPNet - it's fine if the IPNet defines // a block grant of addresses, we just need one for checking routes. podIps = append(podIps, ip) } // Note that we use the IP info from the CNI plugin here - the Pod struct as reported by K8S doesn't have this info
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0)