Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for addr (0.12 sec)

  1. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
    	return []netip.Addr{}, errors.New("not implemented on this platform")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/google.go

    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    
    	"golang.org/x/oauth2"
    	"golang.org/x/oauth2/google"
    )
    
    func isMCPAddr(addr string) bool {
    	// A bit inexact but should be good enough.
    	return strings.Contains(addr, ".googleapis.com/") || strings.Contains(addr, ".googleapis.com:443/")
    }
    
    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/clusters/clusters.go

    	}
    	c.clusters = &cd
    	return nil
    }
    
    func retrieveEndpointAddress(host *admin.HostStatus) string {
    	addr := host.Address.GetSocketAddress()
    	if addr != nil {
    		return addr.Address
    	}
    	if pipe := host.Address.GetPipe(); pipe != nil {
    		return "unix://" + pipe.Path
    	}
    	if internal := host.Address.GetEnvoyInternalAddress(); internal != nil {
    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)
  4. cni/pkg/ipset/nldeps_linux.go

    }
    
    func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
    	var ipList []netip.Addr
    
    	res, err := netlink.IpsetList(name)
    	if err != nil {
    		return ipList, fmt.Errorf("failed to list ipset %s: %w", name, err)
    	}
    
    	for _, entry := range res.Entries {
    		addr, _ := netip.AddrFromSlice(entry.IP)
    		ipList = append(ipList, addr)
    	}
    
    	return ipList, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_mock.go

    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) clearEntriesWithIP(name string, ip netip.Addr) error {
    	args := m.Called(name, ip)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) listEntriesByIP(name string) ([]netip.Addr, error) {
    	args := m.Called(name)
    	return args.Get(0).([]netip.Addr), args.Error(1)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/server_test.go

    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    			t.Fatal("Wait group timed out!\n")
    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    			return addr
    		}
    		ip, port, _ := net.SplitHostPort(addr)
    		if s, f := serviceNames[ip]; f {
    			return net.JoinHostPort(s, port)
    		}
    		if w, f := workloadNames[ip]; f {
    			return net.JoinHostPort(w, port)
    		}
    		return addr
    	}
    	fmt.Fprintln(w, "WORKLOAD\tDIRECTION\tLOCAL\tREMOTE\tREMOTE TARGET")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. manifests/charts/base/templates/services.yaml

      - port: 443
        targetPort: 15017
        name: tcp-webhook
        protocol: TCP
      {{- if not (regexMatch "^([0-9]*\\.){3}[0-9]*$" .Values.global.remotePilotAddress) }}
      # if the remotePilotAddress is not an IP addr, we use ExternalName
      type: ExternalName
      externalName: {{ .Values.global.remotePilotAddress }}
      {{- end }}
    {{- if .Values.global.ipFamilyPolicy }}
      ipFamilyPolicy: {{ .Values.global.ipFamilyPolicy }}
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 17:36:40 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. cni/test/testdata/env_vars.sh

    # shellcheck disable=SC2034
    KUBERNETES_PORT_443_TCP_PROTO=tcp
    # shellcheck disable=SC2034
    KUBERNETES_PORT_443_TCP_ADDR=10.110.0.1
    # shellcheck disable=SC2034
    KUBE_DNS_PORT_53_UDP_ADDR=10.110.0.10
    # shellcheck disable=SC2034
    KUBERNETES_PORT=tcp://10.110.0.1:443
    # shellcheck disable=SC2034
    KUBE_DNS_PORT_53_TCP_ADDR=10.110.0.10
    # shellcheck disable=SC2034
    KUBE_DNS_PORT=udp://10.110.0.10:53
    # shellcheck disable=SC2034
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 1.9K bytes
    - Viewed (0)
  10. cni/pkg/pluginlistener/listener_test.go

    }
    
    func connect(socket string) (*grpc.ClientConn, error) {
    	var opts []grpc.DialOption
    
    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    	return conn, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top