Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JoinHostPort (0.2 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	}
    	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")
    	workloads := maps.Values(d.WorkloadState)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    				}
    				if isMCPAddr(u) {
    					return parseMCPAddr(u)
    				}
    				port := u.Port()
    				if port == "" {
    					port = "443" // default from Kubernetes
    				}
    				return &xdsAddr{host: net.JoinHostPort(u.Hostname(), port)}, nil
    			}
    		}
    	}
    	return nil, errors.New("xds address not found")
    }
    
    // nolint: lll
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig.go

    	}
    
    	protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https")
    	cluster := &api.Cluster{
    		Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)),
    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top