- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,812 for Tmpl (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/test/framework/config.go
"istio.io/istio/pkg/test/framework/resource/config/apply" "istio.io/istio/pkg/test/framework/resource/config/cleanup" "istio.io/istio/pkg/test/scopes" "istio.io/istio/pkg/test/util/file" "istio.io/istio/pkg/test/util/tmpl" "istio.io/istio/pkg/test/util/yml" ) var _ config.Factory = &configFactory{} type configFactory struct { ctx resource.Context clusters []cluster.Cluster prefix string }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.2K bytes - Viewed (0) -
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) -
pkg/bootstrap/instance.go
} func configFile(config string, templateFile string) string { suffix := "json" // Envoy will interpret the file extension to determine the type. We should detect yaml inputs if strings.HasSuffix(templateFile, ".yaml.tmpl") || strings.HasSuffix(templateFile, ".yaml") { suffix = "yaml" } return path.Join(config, fmt.Sprintf(EnvoyFileTemplate, suffix)) } func newTemplate(templateFilePath string) (*template.Template, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 3.9K bytes - Viewed (0)