Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,746 for tmpl (0.09 sec)

  1. tests/integration/security/external_ca/main_test.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var (
    	apps     deployment.SingleNamespaceView
    	stopChan = make(chan struct{})
    )
    
    func TestMain(m *testing.M) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 22 14:18:21 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator-common.go

    	r := helm.NewHelmRenderer(ocArgs.manifestsPath, "istio-operator", string(name.IstioOperatorComponentName), ocArgs.operatorNamespace, nil)
    
    	if err := r.Run(); err != nil {
    		return "", "", err
    	}
    
    	tmpl := `
    istioNamespace: {{.IstioNamespace}}
    watchedNamespaces: {{.WatchedNamespaces}}
    hub: {{.Hub}}
    tag: {{.Tag}}
    {{- if .ImagePullSecrets }}
    imagePullSecrets:
    {{- range .ImagePullSecrets }}
    - {{ . }}
    {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 17 02:25:04 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. src/html/template/doc.go

    # Introduction
    
    This package wraps [text/template] so you can share its template API
    to parse and execute HTML templates safely.
    
    	tmpl, err := template.New("name").Parse(...)
    	// Error checking elided
    	err = tmpl.Execute(out, data)
    
    If successful, tmpl will now be injection-safe. Otherwise, err is an error
    defined in the docs for ErrorCode.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:04:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    		Run(func(t framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(t)
    			config.New(t).
    				Source(config.File("testdata/requestauthn/gateway-api.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Namespace,
    				})).
    				Source(config.File("testdata/requestauthn/gateway-jwt.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): apps.Namespace,
    					"Services":               apps.A.Append(apps.B).Services(),
    				})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/cmd/go/scriptcmds_test.go

    			if len(args) == 0 {
    				return nil, script.ErrUsage
    			}
    			tmpl := "{{if .Error}}{{.ImportPath}}: {{.Error.Err}}" +
    				"{{else}}{{if not .Stale}}{{.ImportPath}} ({{.Target}}) is not stale{{end}}" +
    				"{{end}}"
    
    			wait, err := cmdGo.Run(s, append([]string{"list", "-e", "-f=" + tmpl}, args...)...)
    			if err != nil {
    				return nil, err
    			}
    
    			stdout, stderr, err := wait(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/internal/platform/zosarch_test.go

    		FirstClass   bool
    		Broken       bool
    	}
    	var entries []listEntry
    	if err := json.Unmarshal(out, &entries); err != nil {
    		t.Fatal(err)
    	}
    
    	tmplOut := new(bytes.Buffer)
    	tmpl := template.Must(template.New("zosarch").Parse(zosarchTmpl))
    	err = tmpl.Execute(tmplOut, entries)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	cmd = testenv.Command(t, "gofmt")
    	cmd.Stdin = bytes.NewReader(tmplOut.Bytes())
    	want, err := cmd.Output()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. pkg/test/cert/ca/intermediate.go

    import (
    	"os"
    	"path/filepath"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/pkg/test/cert"
    	"istio.io/istio/pkg/test/util/file"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    const (
    	istioConfTemplate = `
    [ req ]
    encrypt_key = no
    prompt = no
    utf8 = yes
    default_md = sha256
    default_bits = 4096
    req_extensions = req_ext
    x509_extensions = req_ext
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. pkg/test/util/yml/apply.go

    package yml
    
    import (
    	"fmt"
    	"reflect"
    
    	appsv1 "k8s.io/api/apps/v1"
    	"k8s.io/apimachinery/pkg/util/strategicpatch"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    // ApplyNamespace applies the given namespaces to the resources in the yamlText if not set.
    func ApplyNamespace(yamlText, ns string) (string, error) {
    	chunks := SplitString(yamlText)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/crypto/tls/boring_test.go

    	}
    	if mode&^boringCertFIPSOK == boringCertLeaf {
    		tmpl.DNSNames = []string{"example.com"}
    	} else {
    		tmpl.IsCA = true
    		tmpl.KeyUsage |= x509.KeyUsageCertSign
    	}
    
    	var pcert *x509.Certificate
    	var pkey interface{}
    	if parent != nil {
    		pcert = parent.cert
    		pkey = parent.key
    	} else {
    		pcert = tmpl
    		pkey = key
    	}
    
    	var pub interface{}
    	switch k := key.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. pkg/ctrlz/topics/scopes.go

    		OutputLevel:     levelToString[s.GetOutputLevel()],
    		StackTraceLevel: levelToString[s.GetStackTraceLevel()],
    		LogCallers:      s.GetLogCallers(),
    	}
    }
    
    func (scopeTopic) Activate(context fw.TopicContext) {
    	tmpl := assets.ParseTemplate(context.Layout(), "templates/scopes.html")
    
    	_ = context.HTMLRouter().NewRoute().HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		allScopes := log.Scopes()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top