- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,746 for tmpl (0.08 sec)
-
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) -
pkg/config/analysis/msg/generate.main.go
} if names[m.Name] { return fmt.Errorf("Message names must be unique, %q defined more than once", m.Name) } names[m.Name] = true } return nil } var tmpl = ` // Code generated by generate.main.go. DO NOT EDIT. package msg import ( "istio.io/istio/pkg/config/analysis/diag" "istio.io/istio/pkg/config/resource" ) var ( {{- range .Messages}}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 16:55:31 UTC 2023 - 4K bytes - Viewed (0) -
operator/pkg/util/util.go
logCountMap[item] = 0 } return sb.String() } // RenderTemplate is a helper method to render a template with the given values. func RenderTemplate(tmpl string, ts any) (string, error) { t, err := template.New("").Parse(tmpl) if err != nil { return "", err } buf := new(bytes.Buffer) err = t.Execute(buf, ts) if err != nil { return "", err } return buf.String(), nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 02 13:01:43 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/test/framework/components/authz/kubelocal.go
"istio.io/istio/pkg/test/framework/components/namespace" "istio.io/istio/pkg/test/framework/resource" "istio.io/istio/pkg/test/framework/resource/config/apply" "istio.io/istio/pkg/test/scopes" "istio.io/istio/pkg/test/util/tmpl" ) const ( localProviderTemplate = ` extensionProviders: - name: "{{ .httpName }}" envoyExtAuthzHttp: service: "{{ .httpHost }}" port: {{ .httpPort }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/test/util/tmpl/execute.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package tmpl import ( "bytes" "text/template" "istio.io/istio/pkg/test" ) // Execute the template with the given parameters. func Execute(t *template.Template, data any) (string, error) { var b bytes.Buffer
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.1K bytes - Viewed (0) -
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) -
src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go
func renderHTML(dst io.Writer, tmpl string, rpt *report.Report, errList, legend []string, data webArgs) error { file := getFromLegend(legend, "File: ", "unknown") profile := getFromLegend(legend, "Type: ", "unknown") data.Title = file + " " + profile data.Errors = errList data.Total = rpt.Total() data.Legend = legend return getHTMLTemplates().ExecuteTemplate(dst, tmpl, data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 14K bytes - Viewed (0) -
tests/integration/pilot/tunneling_test.go
"istio.io/istio/tests/integration/pilot/forwardproxy" ) const ( forwardProxyConfigMapFile = "testdata/forward-proxy/configmap.tmpl.yaml" forwardProxyServiceFile = "testdata/forward-proxy/service.tmpl.yaml" tunnelingDestinationRuleFile = "testdata/tunneling/destination-rule.tmpl.yaml" ) type tunnelingTestCase struct { // configDir is a directory with Istio configuration files for a particular test case configDir string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
src/text/template/funcs.go
} } return true } // findFunction looks for a function in the template, and global map. func findFunction(name string, tmpl *Template) (v reflect.Value, isBuiltin, ok bool) { if tmpl != nil && tmpl.common != nil { tmpl.muFuncs.RLock() defer tmpl.muFuncs.RUnlock() if fn := tmpl.execFuncs[name]; fn.IsValid() { return fn, false, true } } if fn := builtinFuncs()[name]; fn.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
tests/integration/pilot/proxyconfig/proxyconfig_test.go
{{- end }} {{- end }} environmentVariables: {{- range $k, $v := .Values }} {{ $k }}: "{{ $v }}" {{- end }} ` return proxyConfigInstance{ namespace: ns, config: tmpl.MustEvaluate(tpl, struct { Name string Selector map[string]string Values map[string]string }{ Name: name, Selector: selector, Values: values, }), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 6.3K bytes - Viewed (0)