Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,734 for tmpl (0.42 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/crypto/x509/verify_test.go

    	}
    	tmpl := &Certificate{
    		SerialNumber: serial,
    		Subject:      pkix.Name{CommonName: subject},
    		NotBefore:    time.Now().Add(-time.Hour),
    		NotAfter:     time.Now().Add(time.Hour),
    	}
    	if certType == rootCertificate || certType == intermediateCertificate {
    		tmpl.IsCA, tmpl.BasicConstraintsValid = true, true
    		tmpl.KeyUsage = KeyUsageCertSign
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  8. tests/integration/pilot/common/traffic.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/istio/ingress"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/tmpl"
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    type TrafficCall struct {
    	name string
    	call func(t test.Failer, options echo.CallOptions) echo.CallResult
    	opts echo.CallOptions
    }
    
    type skip struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. 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)
  10. operator/pkg/translate/translate_value.go

    		enabled, pathExist, err := IsComponentEnabledFromValue(cni, valueSpec)
    		if err != nil {
    			return err
    		}
    		if !pathExist {
    			continue
    		}
    		tmpl := componentEnablementPattern
    		ceVal, err := renderFeatureComponentPathTemplate(tmpl, cni)
    		if err != nil {
    			return err
    		}
    		outCP := util.ToYAMLPath(ceVal)
    		// set component enablement
    		if err := tpath.WriteNode(root, outCP, enabled); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top