- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,746 for tmpl (0.05 sec)
-
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) -
pkg/registry/certificates/certificates/storage/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 13.7K 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) -
src/text/template/doc.go
type Inventory struct { Material string Count uint } sweaters := Inventory{"wool", 17} tmpl, err := template.New("test").Parse("{{.Count}} items are made of {{.Material}}") if err != nil { panic(err) } err = tmpl.Execute(os.Stdout, sweaters) if err != nil { panic(err) } More intricate examples appear below. Text and spaces
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 17.9K bytes - Viewed (0) -
pilot/pkg/networking/core/fake.go
if p != nil { opts.Configs = append(opts.Configs, *p) } } configStr := opts.ConfigString if opts.ConfigTemplateInput != nil { tmpl := template.Must(template.New("").Funcs(sprig.TxtFuncMap()).Parse(opts.ConfigString)) var buf bytes.Buffer if err := tmpl.Execute(&buf, opts.ConfigTemplateInput); err != nil { t.Fatalf("failed to execute template: %v", err) } configStr = buf.String() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.5K bytes - Viewed (0)