Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,829 for Tmpl (0.1 sec)

  1. tests/integration/security/remote_jwks/remote_jwks_test.go

    				customizeCall func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions)
    			}{
    				{
    					name:       "remote-jwks-without-service-entry",
    					policyFile: "./testdata/requestauthn-no-se.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
    - 4.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/eastwest.go

    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    const (
    	eastWestIngressIstioNameLabel = "eastwestgateway"
    	eastWestIngressIstioLabel     = "istio=" + eastWestIngressIstioNameLabel
    	eastWestIngressServiceName    = "istio-" + eastWestIngressIstioNameLabel
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. tests/integration/security/https_jwt/main_test.go

    	"istio.io/istio/pkg/test/framework/components/jwt"
    	"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 (
    	ist       istio.Instance
    	apps      deployment.SingleNamespaceView
    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 09:55:58 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. cmd/gotemplate/gotemplate.go

    	}
    
    	funcMap := template.FuncMap{
    		"include": include,
    		"indent":  indent,
    		"trim":    trim,
    	}
    
    	tmpl, err := template.New("").Funcs(funcMap).Parse(buf.String())
    	if err != nil {
    		return fmt.Errorf("parsing input as text template: %v", err)
    	}
    
    	if err := tmpl.Execute(out, data); err != nil {
    		return fmt.Errorf("generating result: %v", err)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/text/template/helper.go

    		//  t, err := New(name).Funcs(xxx).ParseFiles(name)
    		// works. Otherwise we create a new template associated with t.
    		var tmpl *Template
    		if t == nil {
    			t = New(name)
    		}
    		if name == t.Name() {
    			tmpl = t
    		} else {
    			tmpl = t.New(name)
    		}
    		_, err = tmpl.Parse(s)
    		if err != nil {
    			return nil, err
    		}
    	}
    	return t, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:54:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/go/scriptcmds_test.go

    			if len(args) == 0 {
    				return nil, script.ErrUsage
    			}
    			tmpl := "{{if .Error}}{{.ImportPath}}: {{.Error.Err}}" +
    				"{{else}}{{if not .Stale}}{{.ImportPath}} ({{.Target}}) is not stale{{end}}" +
    				"{{end}}"
    
    			wait, err := cmdGo.Run(s, append([]string{"list", "-e", "-f=" + tmpl}, args...)...)
    			if err != nil {
    				return nil, err
    			}
    
    			stdout, stderr, err := wait(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. pkg/test/util/yml/apply.go

    package yml
    
    import (
    	"fmt"
    	"reflect"
    
    	appsv1 "k8s.io/api/apps/v1"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    // ApplyNamespace applies the given namespaces to the resources in the yamlText if not set.
    func ApplyNamespace(yamlText, ns string) (string, error) {
    	chunks := SplitString(yamlText)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top