Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for add1 (0.21 sec)

  1. 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)
  2. 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)
  3. cni/pkg/nodeagent/net.go

    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) error {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	var ipsetAddrErrs []error
    
    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    func retrieveListenerAdditionalAddresses(l *listener.Listener) []string {
    	var addrs []string
    	socketAddresses := l.GetAdditionalAddresses()
    	for _, socketAddr := range socketAddresses {
    		addr := socketAddr.Address
    		addrs = append(addrs, addr.GetSocketAddress().Address)
    	}
    
    	return addrs
    }
    
    func retrieveListenerPort(l *listener.Listener) uint32 {
    	return l.Address.GetSocketAddress().GetPortValue()
    }
    
    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)
  5. istioctl/pkg/multixds/gather.go

    		if _, ok := err.(ControlPlaneNotFoundError); ok {
    			// Attempt to get the XDS address from the webhook and try again
    			addr, err := getXdsAddressFromWebhooks(kubeClient)
    			if err == nil {
    				centralOpts.Xds = addr.host
    				centralOpts.GCPProject = addr.gcpProject
    				centralOpts.IstiodAddr = addr.istiod
    				dialOpts, err := xds.DialOptions(centralOpts, istioNamespace, tokenServiceAccount, kubeClient)
    				if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/templates/endpoints.yaml

    {{- if regexMatch "^([0-9]*\\.){3}[0-9]*$" .Values.global.remotePilotAddress }}
    # if the remotePilotAddress is an IP addr
    apiVersion: v1
    kind: Endpoints
    metadata:
      {{- if .Values.pilot.enabled }}
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}-remote
      {{- else }}
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}
      {{- end }}
      namespace: {{ .Release.Namespace }}
    subsets:
    - addresses:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 17:36:40 GMT 2024
    - 620 bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	return s.netServer.ConstructInitialSnapshot(ambientPods)
    }
    
    func (s *meshDataplane) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	var retErr error
    	err := s.netServer.AddPodToMesh(ctx, pod, podIPs, netNs)
    	if err != nil {
    		log.Errorf("failed to add pod to ztunnel: %v", err)
    		if !errors.Is(err, ErrPartialAdd) {
    			return err
    		}
    		retErr = err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver_test.go

    } {
    	// go uses @ instead of \0 for abstract unix sockets
    	addr := fmt.Sprintf("@testaddr%d", ztunnelTestCounter.Add(1))
    	ztun, err := newZtunnelServer(addr, pods)
    	if err != nil {
    		panic(err)
    	}
    	go ztun.Run(ctx)
    
    	// now as a client connect confirm we and get snapshot
    	resolvedAddr, err := net.ResolveUnixAddr("unixpacket", addr)
    	if err != nil {
    		panic(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. 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)
  10. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

          runAsUser: {{ .ProxyUID | default "1337" }}
          runAsGroup: {{ .ProxyGID | default "1337" }}
        env:
        - name: PILOT_CERT_PROVIDER
          value: {{ .Values.global.pilotCertProvider }}
        - name: CA_ADDR
        {{- if .Values.global.caAddress }}
          value: {{ .Values.global.caAddress }}
        {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top