Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MustEvaluate (0.13 sec)

  1. tests/integration/pilot/common/traffic.go

    					}
    				}
    				if c.templateVars != nil {
    					for k, v := range c.templateVars(src, dsts[0]) {
    						tmplData[k] = v
    					}
    				}
    				cfg := yml.MustApplyNamespace(t, tmpl.MustEvaluate(c.config, tmplData), namespace)
    				// we only apply to config clusters
    				scope := t.ConfigIstio()
    				if c.globalConfig {
    					scope = t.ConfigKube()
    				}
    				return scope.YAML("", cfg).Apply()
    			}).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_simulation_test.go

    		// "alpha" is created after "beta". This triggers a mismatch in the conflict resolution logic in Ingress and VirtualService, leading to unexpected results
    		kubeConfig: tmpl.MustEvaluate(cfg, map[string]string{"Name": "alpha", "Time": "2020-01-01T00:00:00Z"}) +
    			tmpl.MustEvaluate(cfg, map[string]string{"Name": "beta", "Time": "2010-01-01T00:00:00Z"}),
    		calls: []simulation.Expect{
    			{
    				Name: "http alpha",
    				Call: simulation.Call{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/deployment.go

    	}
    	// generate config files for VM bootstrap
    	dirname := fmt.Sprintf("%s-vm-config-", cfg.Service)
    	dir, err := ctx.CreateDirectory(dirname)
    	if err != nil {
    		return err
    	}
    
    	wg := tmpl.MustEvaluate(`
    apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: {{.name}}
      namespace: {{.namespace}}
    spec:
      metadata:
        labels:
          app: {{.name}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top