Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Younes (0.37 sec)

  1. istioctl/pkg/util/proto/messageslice.go

    package proto
    
    import (
    	"bytes"
    
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. cni/pkg/iptables/iptables_linux.go

    func forEachLoopbackRoute(cfg *Config, f func(*netlink.Route) error) error {
    	loopbackLink, err := netlink.LinkByName("lo")
    	if err != nil {
    		return fmt.Errorf("failed to find 'lo' link: %v", err)
    	}
    
    	// Set up netlink routes for localhost
    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		cidrs = append(cidrs, "0::0/0")
    	}
    	for _, fullCIDR := range cidrs {
    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    		if err != 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)
  4. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

         "route_config": {
          "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
          "virtual_hosts": [
           {
            "name": "backend",
            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 3.1K bytes
    - Viewed (1)
  5. 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)
  6. istioctl/pkg/writer/envoy/configdump/testdata/routes/empty-gateway/configdump.json

         "route_config": {
          "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
          "virtual_hosts": [
           {
            "name": "backend",
            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/route_test.go

    			cw := &ConfigWriter{Stdout: gotOut}
    			cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name))
    			if err := cw.Prime(cd); err != nil {
    				t.Errorf("failed to parse config dump: %s", err)
    			}
    			err := cw.PrintRouteSummary(RouteFilter{Verbose: true})
    			assert.NoError(t, err)
    
    			wantOutputFile := path.Join("testdata/routes", tt.name, "output.txt")
    			util.CompareContent(t, gotOut.Bytes(), wantOutputFile)
    		})
    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)
  8. cni/test/testdata/expected/minikube_cni.conflist.clean

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "addIf": "true",
          "bridge": "mybridge",
          "ipMasq": true,
          "ipam": {
            "gateway": "10.1.0.1",
            "routes": [
              {
                "dst": "0.0.0.0/0"
              }
            ],
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "isGateway": true,
          "mtu": 1460,
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 468 bytes
    - Viewed (0)
  9. licenses/github.com/gregjones/httpcache/LICENSE.txt

    Copyright © 2012 Greg Jones (greg.jones@gmail.com)
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 1.1K bytes
    - Viewed (0)
  10. cni/test/testdata/expected/minikube_cni.conflist.expected

    {
      "cniVersion": "0.3.1",
      "name": "k8s-pod-network",
      "plugins": [
        {
          "addIf": "true",
          "bridge": "mybridge",
          "ipMasq": true,
          "ipam": {
            "gateway": "10.1.0.1",
            "routes": [
              {
                "dst": "0.0.0.0/0"
              }
            ],
            "subnet": "10.1.0.0/16",
            "type": "host-local"
          },
          "isGateway": true,
          "mtu": 1460,
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 736 bytes
    - Viewed (0)
Back to top