- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,734 for tmpl (0.07 sec)
-
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/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) -
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) -
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) -
operator/pkg/translate/translate.go
// the supplied parameters. func renderFeatureComponentPathTemplate(tmpl string, componentName name.ComponentName) (string, error) { type Temp struct { ComponentName name.ComponentName } ts := Temp{ ComponentName: componentName, } return util.RenderTemplate(tmpl, ts) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 36.3K 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) -
pilot/pkg/networking/core/gateway_simulation_test.go
// "alpha" is created after "beta". This triggers a mismatch in the conflict resolution logic in Ingress and VirtualService, leading to unexpected results kubeConfig: tmpl.MustEvaluate(cfg, map[string]string{"Name": "alpha", "Time": "2020-01-01T00:00:00Z"}) + tmpl.MustEvaluate(cfg, map[string]string{"Name": "beta", "Time": "2010-01-01T00:00:00Z"}), calls: []simulation.Expect{ { Name: "http alpha", Call: simulation.Call{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller_test.go
} } else { if we.Network != tmpl.Template.Network { err = multierror.Append(fmt.Errorf("entry has network %s; expected to match group template network %s", we.Network, tmpl.Template.Network)) } } loc := tmpl.Template.Locality if node.Locality != nil { loc = util.LocalityToString(node.Locality) } if we.Locality != loc {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 31.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
// substitution. if !subst { st.subs.add(a) } args := st.templateArgs() tmpl := &Template{Name: a, Args: args} if isCast { st.setTemplate(a, tmpl) st.clearTemplateArgs(args) isCast = false } a = tmpl } if isCast { st.setTemplate(a, nil) } return a, false } a, isCast := st.unqualifiedName(module)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)