Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WithParams (0.24 sec)

  1. pkg/test/framework/components/echo/config/sources.go

    type Sources []Source
    
    // WithParams creates a new Sources with the given template parameters.
    // See Source.WithParams.
    func (s Sources) WithParams(params param.Params) Sources {
    	out := make(Sources, 0, len(s))
    	for _, src := range s {
    		out = append(out, src.WithParams(params))
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 06 18:43:28 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config/builder.go

    				out.addYAML(withParams(s, param.Params{
    					param.From.String():            from,
    					param.To.String():              to,
    					param.Namespace.String():       to.Config().Namespace,
    					param.SystemNamespace.String(): systemNS,
    				}))
    			}
    		}
    	}
    
    	for _, to := range toAll {
    		for _, s := range out.needTo {
    			out.addYAML(withParams(s, param.Params{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. tests/integration/security/reachability_test.go

    				{
    					name: "global mtls strict",
    					configs: config.Sources{
    						config.File("testdata/reachability/global-peer-authn.yaml.tmpl"),
    						config.File("testdata/reachability/global-dr.yaml.tmpl"),
    					}.WithParams(param.Params{
    						mtlsModeParam:            model.MTLSStrict.String(),
    						tlsModeParam:             "ISTIO_MUTUAL",
    						param.Namespace.String(): systemNS,
    					}),
    					fromMatch:          notMigration,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/config/source.go

    	Params() param.Params
    
    	// WithParams creates a new Source with the given template parameters.
    	// If a Source contains params, it will be evaluated as a template by GetYAML.
    	// If this source already has parameters, the returned Source will contain
    	// a union of the two sets. If the same entry appears in the existing params,
    	// the new value overwrites the existing.
    	WithParams(params param.Params) Source
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  5. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    			crd.DeployGatewayAPIOrSkip(t)
    			config.New(t).
    				Source(config.File("testdata/requestauthn/gateway-api.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Namespace,
    				})).
    				Source(config.File("testdata/requestauthn/gateway-jwt.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Namespace,
    					"Services":               apps.A.Append(apps.B).Services(),
    				})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. tests/integration/security/authz_test.go

    			config.New(t).
    				Source(config.File("testdata/authz/mtls.yaml.tmpl")).
    				Source(config.File("testdata/authz/deny-global.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    				})).
    				Source(config.File("testdata/authz/deny-principal.yaml.tmpl").WithParams(
    					param.Params{
    						"Denied": denied,
    					})).
    				BuildAll(nil, to).
    				Apply()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. tests/integration/security/jwt_test.go

    				Source(config.File("testdata/requestauthn/global-jwt.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    					"Services":               apps.Ns1.All,
    					"GatewayIstioLabel":      i.Settings().IngressGatewayIstioLabel,
    				})).
    				Source(config.File("testdata/requestauthn/ingress.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Ns1.Namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

      endpoints:
      # we send directly to a Pod IP here. This is essentially headless
      - address: {{.IngressIp}} # TODO won't work with DNS resolution tests
        ports:
          http: {{.IngressHttpPort}}`).
    				WithParams(param.Params{}.SetWellKnown(param.Namespace, apps.Namespace))
    
    			ips, ports := istio.DefaultIngressOrFail(t, t).HTTPAddresses()
    			for _, tc := range testCases {
    				tc := tc
    				for i, ip := range ips {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. tests/integration/security/pass_through_filter_chain_test.go

    				t.NewSubTest(tc.name).Run(func(t framework.TestContext) {
    					// Create the PeerAuthentication for the test case.
    					config.New(t).
    						// Add any test-specific configuration.
    						Source(config.YAML(tc.config).WithParams(param.Params{
    							param.Namespace.String(): apps.Ns1.Namespace,
    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top