- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for BuildOrFail (0.17 sec)
-
tests/integration/pilot/vm_test.go
Namespace: apps.Namespace, Ports: ports.All(), DeployAsVM: true, VMDistro: image, Subsets: []echo.SubsetConfig{{}}, }) } instances := b.BuildOrFail(t) for idx, image := range images { idx, image := idx, image t.NewSubTest(image).RunParallel(func(t framework.TestContext) { tc := common.TrafficContext{ TestContext: t, Istio: i,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/util/sanitycheck/sanity_check.go
Service: "server", Namespace: testNs, Ports: []echo.Port{ { Name: "http", Protocol: protocol.HTTP, WorkloadPort: 8090, }, }, }). BuildOrFail(t) return testNs, client, server } func RunTrafficTestClientServer(t framework.TestContext, client, server echo.Instance) { _ = client.CallOrFail(t, echo.CallOptions{ To: server, Count: 1,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 26 21:20:56 UTC 2022 - 2.2K bytes - Viewed (0) -
tests/integration/pilot/cross_revision_test.go
builder = builder.WithConfig(echo.Config{ Service: ns.revision, Namespace: ns.namespace, Ports: ports.All(), Subsets: []echo.SubsetConfig{{}}, }) } instances := builder.BuildOrFail(t) // Add our existing revision to the instances list instances = append(instances, apps.A...) testAllEchoCalls(t, instances) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 3K bytes - Viewed (0) -
tests/integration/pilot/revisions/revisions_test.go
WorkloadPort: 8090, }, }, }). WithConfig(echo.Config{ Service: "vm", Namespace: canary, DeployAsVM: true, Ports: []echo.Port{}, }). BuildOrFail(t) echotest.New(t, echos). ConditionallyTo(echotest.ReachableDestinations). ToMatch(match.ServiceName(echo.NamespacedName{Name: "server", Namespace: canary})).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 27 15:52:38 UTC 2022 - 3.7K bytes - Viewed (0) -
tests/integration/pilot/headers_test.go
disabled: true envoyDebugHeaders: disabled: true metadataExchangeHeaders: mode: IN_MESH`}, }, }, } instances := deployment.New(t). WithConfig(cfg). BuildOrFail(t) instance := instances[0] proxyHeaders := sets.New( "server", "x-forwarded-client-cert", "x-request-id", ) allowedClientHeaders := sets.New(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 4.2K bytes - Viewed (0) -
tests/integration/pilot/revisions/revision_tag_test.go
tc.nsLabel, revTagNs.Name(), err) } deployment.New(t).WithConfig(echo.Config{ Service: "revision-tag", Namespace: revTagNs, }).BuildOrFail(t) fetch := kubetest.NewSinglePodFetch(t.Clusters().Default(), revTagNs.Name(), fmt.Sprintf("app=%s", "revision-tag")) pods, err := fetch() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/deployment/builder.go
// Build and initialize all Echo Instances. Upon returning, the Instance pointers // are assigned and all Instances are ready to communicate with each other. Build() (echo.Instances, error) BuildOrFail(t test.Failer) echo.Instances } var _ Builder = &builder{} // New builder for echo deployments. func New(ctx resource.Context, clusters ...cluster.Cluster) Builder {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 12K bytes - Viewed (0) -
tests/integration/pilot/revisioned_upgrade_test.go
Namespace: revisionedNamespace, Ports: []echo.Port{ { Name: "http", Protocol: protocol.HTTP, WorkloadPort: 8080, }, }, }) builder.BuildOrFail(t) // Create a traffic generator between A and B. g := traffic.NewGenerator(t, traffic.Config{ Source: apps.A[0], Options: echo.CallOptions{ To: apps.B, Count: 1, Port: echo.Port{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 4.9K bytes - Viewed (0) -
tests/integration/pilot/multi_version_revision_test.go
WorkloadPort: 9000, }, { Name: "grpc", Protocol: protocol.GRPC, WorkloadPort: 9090, }, }, }) } instances := builder.BuildOrFail(t) // add an existing pod from apps to the rotation to avoid an extra deployment instances = append(instances, apps.A[0]) testAllEchoCalls(t, instances) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.1K bytes - Viewed (0) -
tests/integration/pilot/proxyconfig/proxyconfig_test.go
annotation.ProxyConfig.Name: tc.pcAnnotation, }, }, } } instances := deployment.New(ctx, t.Clusters().Configs()...).WithConfig(echoConfig).BuildOrFail(t) checkInjectedValues(t, instances, tc.expected) }) } }) } func checkInjectedValues(t framework.TestContext, instances echo.Instances, values map[string]string) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 6.3K bytes - Viewed (0)