- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for svctest (0.14 sec)
-
pilot/pkg/serviceregistry/kube/controller/controller_test.go
t.Fatalf("got ports of %dst service, got:\n%#v\nwanted:\n%#v\n", i+1, svcList[i].Ports, exp.Ports) } if svcList[i].MeshExternal != exp.MeshExternal { t.Fatalf("i=%v, MeshExternal==%v, should be %v: externalName='%s'", i+1, exp.MeshExternal, svcList[i].MeshExternal, k8sSvcs[i].Spec.ExternalName) } if svcList[i].Resolution != exp.Resolution {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
// "snitest.com", which happens to match the CN of testSNICertificate. The test // verifies that the server correctly selects that certificate. func TestHandshakeServerSNI(t *testing.T) { test := &serverTest{ name: "SNI", command: []string{"openssl", "s_client", "-no_ticket", "-cipher", "AES128-SHA", "-servername", "snitest.com"}, } runServerTestTLS12(t, test) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
src/net/netip/netip_test.go
} } func TestPrefixMasking(t *testing.T) { type subtest struct { ip Addr bits uint8 p Prefix ok bool } // makeIPv6 produces a set of IPv6 subtests with an optional zone identifier. makeIPv6 := func(zone string) []subtest { if zone != "" { zone = "%" + zone } return []subtest{ { ip: mustIP(fmt.Sprintf("2001:db8::1%s", zone)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/testing/testing.go
// called tb.Helper from inside that test function). // If this is a top-level test, only skip up to the test function itself. // If we're in a subtest, continue searching in the parent test, // starting from the point of the call to Run which created this subtest. if c.level > 1 { frames = runtime.CallersFrames(c.creator) parent := c.parent // We're no longer looking at the current c after this point,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
svcHost := extendFQDN(fmt.Sprintf("%s.%s", svc.ObjectMeta.Name, svc.ObjectMeta.Namespace)) facts := []string{} mismatchNotes := []string{} match := false for _, dest := range route.Route { fqdn := string(model.ResolveShortnameToFQDN(dest.Destination.Host, config.Meta{Namespace: vs.Namespace})) if extendFQDN(fqdn) == svcHost { if dest.Destination.Subset != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
// service svcList := make([]*Service, 0, vsNum) for i := 0; i < vsNum; i++ { svcList = append(svcList, &Service{ Attributes: ServiceAttributes{Namespace: "default"}, Hostname: host.Name("host-" + strconv.Itoa(i) + ".com"), }) } ps.ServiceIndex.public = svcList hosts := make([]string, 0) if matchAll { // default/*
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
addressesToReport = internalIP } else { for _, hostport := range internal { svchost, _, _ := net.SplitHostPort(hostport) if !slices.Contains(pending, svchost) && !slices.Contains(addressesToReport, svchost) { addressesToReport = append(addressesToReport, svchost) } } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
services := scScope.Services() numSvc := 0 svcList := []string{} for _, service := range services { svcName := service.Attributes.Name svcNS := service.Attributes.Namespace if svcNS != ns && svcNS != rootNS { numSvc++ } svcList = append(svcList, fmt.Sprintf("%v.%v.cluster.local", svcName, svcNS)) } if sidecarScopeEnabled && numSvc > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
src/cmd/go/go_test.go
vcs.VCSTestHosts = vcstest.Hosts vcsTestTLSHost := os.Getenv("TESTGO_VCSTEST_TLS_HOST") vcsTestClient, err := vcstest.TLSClient(os.Getenv("TESTGO_VCSTEST_CERT")) if err != nil { fmt.Fprintf(os.Stderr, "loading certificates from $TESTGO_VCSTEST_CERT: %v", err) } var interceptors []web.Interceptor for _, host := range vcstest.Hosts { interceptors = append(interceptors,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
} log.Debugf("GatewayServices: gateway %v is exposing these hosts:%v", proxy.ID, hostsFromGateways) gwSvcs := make([]*Service, 0, len(svcs)) for _, s := range svcs { svcHost := string(s.Hostname) if _, ok := hostsFromGateways[svcHost]; ok { gwSvcs = append(gwSvcs, s) } } log.Debugf("GatewayServices: gateways len(services)=%d, len(filtered)=%d", len(svcs), len(gwSvcs)) return gwSvcs }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)