Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 896 for Tmpl (0.04 sec)

  1. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    		Run(func(t framework.TestContext) {
    			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)
  2. src/html/template/doc.go

    # Introduction
    
    This package wraps [text/template] so you can share its template API
    to parse and execute HTML templates safely.
    
    	tmpl, err := template.New("name").Parse(...)
    	// Error checking elided
    	err = tmpl.Execute(out, data)
    
    If successful, tmpl will now be injection-safe. Otherwise, err is an error
    defined in the docs for ErrorCode.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tests/integration/telemetry/policy/envoy_ratelimit_test.go

    	"istio.io/istio/pkg/test/framework/components/prometheus"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var (
    	ist         istio.Instance
    	echoNsInst  namespace.Instance
    	ratelimitNs namespace.Instance
    	ing         ingress.Instance
    	srv         echo.Instance
    	clt         echo.Instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/ctrlz/ctrlz.go

    	jsonRouter := router.NewRoute().PathPrefix("/" + t.Prefix() + "j").Subrouter()
    
    	tmpl := template.Must(template.Must(layout.Clone()).Parse("{{ define \"title\" }}" + t.Title() + "{{ end }}"))
    	t.Activate(fw.NewContext(htmlRouter, jsonRouter, tmpl))
    }
    
    // getLocalIP returns a non loopback local IP of the host
    func getLocalIP() string {
    	addrs, err := net.InterfaceAddrs()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    	"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/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var i istio.Instance
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Skip("used for feature development, no need to run in CI").
    		Label(label.CustomSetup).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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. tests/integration/security/ca_custom_root/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.SingleNamespaceView
    	client            echo.Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top