- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,734 for tmpl (1.62 sec)
-
src/text/template/parse/parse_test.go
"break": func(in any) any { return in }, } tmpl, err := New("").Parse(inp, "", "", make(map[string]*Tree), funcsWithKeywordFunc) if err != nil || tmpl == nil { t.Errorf("with break func: unexpected error: %v", err) } } { // No function called 'break'; treat it as a keyword. Results in a parse // error. tmpl, err := New("").Parse(inp, "", "", make(map[string]*Tree), make(map[string]any))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
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) -
pkg/ctrlz/topics/proc.go
return &pi } func (procTopic) Activate(context fw.TopicContext) { tmpl := assets.ParseTemplate(context.Layout(), "templates/proc.html") _ = context.HTMLRouter().StrictSlash(true).NewRoute().Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) { fw.RenderHTML(w, tmpl, getProcInfo()) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 2.3K bytes - Viewed (0) -
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) -
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) -
src/text/template/helper.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:54:08 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
operator/cmd/mesh/operator-common.go
r := helm.NewHelmRenderer(ocArgs.manifestsPath, "istio-operator", string(name.IstioOperatorComponentName), ocArgs.operatorNamespace, nil) if err := r.Run(); err != nil { return "", "", err } tmpl := ` istioNamespace: {{.IstioNamespace}} watchedNamespaces: {{.WatchedNamespaces}} hub: {{.Hub}} tag: {{.Tag}} {{- if .ImagePullSecrets }} imagePullSecrets: {{- range .ImagePullSecrets }} - {{ . }} {{- end }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Dec 17 02:25:04 UTC 2022 - 3.8K bytes - Viewed (0) -
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) -
tests/integration/security/external_ca/main_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 22 14:18:21 UTC 2023 - 4.7K bytes - Viewed (0)