Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,746 for tmpl (0.09 sec)

  1. pkg/test/framework/components/authz/kube.go

    	"istio.io/istio/pkg/test/framework/resource/config/apply"
    	"istio.io/istio/pkg/test/framework/resource/config/cleanup"
    	"istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/pkg/test/util/yml"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/sets"
    )
    
    const (
    	httpName = "ext-authz-http"
    	grpcName = "ext-authz-grpc"
    	httpPort = 8000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/traffic.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/istio/ingress"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    type TrafficCall struct {
    	name string
    	call func(t test.Failer, options echo.CallOptions) echo.CallResult
    	opts echo.CallOptions
    }
    
    type skip struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tests/integration/security/filebased_tls_origination/main_test.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    var (
    	inst            istio.Instance
    	apps            deployment.TwoNamespaceView
    	client          echo.Instances
    	server          echo.Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/crypto/x509/verify_test.go

    	}
    	tmpl := &Certificate{
    		SerialNumber: serial,
    		Subject:      pkix.Name{CommonName: subject},
    		NotBefore:    time.Now().Add(-time.Hour),
    		NotAfter:     time.Now().Add(time.Hour),
    	}
    	if certType == rootCertificate || certType == intermediateCertificate {
    		tmpl.IsCA, tmpl.BasicConstraintsValid = true, true
    		tmpl.KeyUsage = KeyUsageCertSign
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  5. tests/integration/security/https_jwt/https_jwt_test.go

    				policyFile    string
    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "valid-token-forward-remote-jwks",
    					policyFile: "./testdata/remotehttps.yaml.tmpl",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token-forward-remote-jwks"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. operator/pkg/translate/translate_value.go

    		enabled, pathExist, err := IsComponentEnabledFromValue(cni, valueSpec)
    		if err != nil {
    			return err
    		}
    		if !pathExist {
    			continue
    		}
    		tmpl := componentEnablementPattern
    		ceVal, err := renderFeatureComponentPathTemplate(tmpl, cni)
    		if err != nil {
    			return err
    		}
    		outCP := util.ToYAMLPath(ceVal)
    		// set component enablement
    		if err := tpath.WriteNode(root, outCP, enabled); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. src/cmd/go/scriptreadme_test.go

    	}
    	lang, _, ok = strings.Cut(lang, "\n\nvar ")
    	if !ok {
    		t.Fatalf("%q did not include vars after Script Language section", cmd)
    	}
    	args.Language = lang
    
    	tmpl := template.Must(template.New("README").Parse(readmeTmpl[1:]))
    	buf := new(bytes.Buffer)
    	if err := tmpl.Execute(buf, args); err != nil {
    		t.Fatal(err)
    	}
    
    	const readmePath = "testdata/script/README"
    	old, err := os.ReadFile(readmePath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/kube/deployment.go

    	}
    
    	deploy := getTemplate(deploymentTemplateFile)
    	if cfg.DeployAsVM {
    		deploy = getTemplate(vmDeploymentTemplateFile)
    	}
    
    	return tmpl.Execute(deploy, params)
    }
    
    func GenerateService(cfg echo.Config) (string, error) {
    	params := serviceParams(cfg)
    	return tmpl.Execute(getTemplate(serviceTemplateFile), params)
    }
    
    var VMImages = map[echo.VMDistro]string{
    	echo.UbuntuBionic: "app_sidecar_ubuntu_bionic",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. tests/integration/pilot/multicluster_test.go

    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/check"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var (
    	multiclusterRetryTimeout = retry.Timeout(1 * time.Minute)
    	multiclusterRetryDelay   = retry.Delay(500 * time.Millisecond)
    )
    
    func TestClusterLocal(t *testing.T) {
    	// nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/html/template/escape.go

    	}
    	if err != nil {
    		// Prevent execution of unsafe templates.
    		if t := tmpl.set[name]; t != nil {
    			t.escapeErr = err
    			t.text.Tree = nil
    			t.Tree = nil
    		}
    		return err
    	}
    	tmpl.esc.commit()
    	if t := tmpl.set[name]; t != nil {
    		t.escapeErr = escapeOK
    		t.Tree = t.text.Tree
    	}
    	return nil
    }
    
    // evalArgs formats the list of arguments into a string. It is equivalent to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
Back to top