- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 850 for net (0.04 sec)
-
pilot/pkg/networking/grpcgen/grpcgen_test.go
ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{ ListenerBuilder: func() (net.Listener, error) { return net.Listen("tcp", "127.0.0.1:0") }, }) sd := ds.MemRegistry lis, err := net.Listen("tcp", ":0") if err != nil { t.Fatalf("net.Listen failed: %v", err) } _, ports, _ := net.SplitHostPort(lis.Addr().String()) port, _ := strconv.Atoi(ports) // Echo service
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0) -
cmd/endpoint.go
return net.JoinHostPort(ip, port) }) ipList = ipList.Union(IPsWithPort) } ipList.Add(net.JoinHostPort(host, port)) } globalDomainIPs = ipList.FuncMatch(func(ip string, matchString string) bool { host, _, err := net.SplitHostPort(ip) if err != nil { host = ip } return !net.ParseIP(host).IsLoopback() && host != "localhost"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 34.1K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
} mockCertChain := []string{"cert", "cert_chain", "root_cert"} mockIPAddr := &net.IPAddr{IP: net.IPv4(192, 168, 1, 1)} testCerts := map[string]struct { certChain [][]*x509.Certificate caller *security.Caller fakeAuthInfo *mockAuthInfo code codes.Code ipAddr *net.IPAddr }{ // no client certificate is presented "No client certificate": { certChain: nil,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} type updateRequest struct { Update []byte Fd *int Resp chan updateResponse } type ZtunnelConnection struct { u *net.UnixConn Updates chan updateRequest } func newZtunnelConnection(u *net.UnixConn) *ZtunnelConnection { return &ZtunnelConnection{u: u, Updates: make(chan updateRequest, 100)} } func (z *ZtunnelConnection) Close() { z.u.Close() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 22:07:03 UTC 2024 - 12.3K bytes - Viewed (0) -
samples/extauthz/cmd/extauthz/main.go
// See the License for the specific language governing permissions and // limitations under the License. package main import ( "context" "flag" "fmt" "io" "log" "net" "net/http" "os" "os/signal" "strings" "sync" "syscall" corev2 "github.com/envoyproxy/go-control-plane/envoy/api/v2/core" corev3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
serviceCidr: "10.96.0.0/16,fda9:d324:354d:1::/112", expStr: []string{"FileContent--proc-sys-net-ipv4-ip_forward", "FileContent--proc-sys-net-ipv6-conf-default-forwarding"}, }, { testName: "single stack ipv4", PodSubnet: "10.244.0.0/16", serviceCidr: "10.96.0.0/16", expStr: []string{"FileContent--proc-sys-net-ipv4-ip_forward"}, }, { testName: "single stack ipv6",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
// See the License for the specific language governing permissions and // limitations under the License. package app import ( "context" "fmt" "net" "net/netip" "strings" "github.com/spf13/cobra" "istio.io/api/annotation" meshconfig "istio.io/api/mesh/v1alpha1" "istio.io/istio/pilot/cmd/pilot-agent/config" "istio.io/istio/pilot/cmd/pilot-agent/options"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/go.sum
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 14:02:04 UTC 2024 - 11.2K bytes - Viewed (0) -
internal/http/listener_test.go
func getNonLoopBackIP(t *testing.T) string { localIP4 := set.NewStringSet() addrs, err := net.InterfaceAddrs() if err != nil { t.Fatalf("%s. Unable to get IP addresses of this host.", err) } for _, addr := range addrs { var ip net.IP switch v := addr.(type) { case *net.IPNet: ip = v.IP case *net.IPAddr: ip = v.IP } if ip.To4() != nil { localIP4.Add(ip.String()) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0)