- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MustAsString (0.17 sec)
-
pkg/test/framework/components/echo/common/deployment/external.go
TLSSettings: &common.TLSSettings{ // Echo has these test certs baked into the docker image RootCert: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")), ClientCert: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/cert-chain.pem")), Key: file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")), // Override hostname to match the SAN in the cert we are using
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 20 16:01:31 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/test/util/file/file.go
func AsStringOrFail(t test.Failer, filename string) string { t.Helper() return string(AsBytesOrFail(t, filename)) } // MustAsString calls MustAsBytes and then converts to string. func MustAsString(filename string) string { return string(MustAsBytes(filename)) } // NormalizePath expands the homedir (~) and returns an error if the file doesn't exist.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/deployment.go
func getTemplate(tmplFilePath string) *template.Template { yamlPath := path.Join(echoKubeTemplatesDir, tmplFilePath) if filepath.IsAbs(tmplFilePath) { yamlPath = tmplFilePath } return tmpl.MustParse(file.MustAsString(yamlPath)) } var _ workloadHandler = &deployment{} type deployment struct { ctx resource.Context cfg echo.Config shouldCreateWLE bool }
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/ambient/baseline_test.go
retry.UntilOrFail(t, func() bool { return getGracePeriod(2) }) // change the waypoint template istio.GetOrFail(t, t).UpdateInjectionConfig(t, func(cfg *inject.Config) error { mainTemplate := file.MustAsString(filepath.Join(env.IstioSrc, templateFile)) cfg.RawTemplates["waypoint"] = strings.ReplaceAll(mainTemplate, "terminationGracePeriodSeconds: 2", "terminationGracePeriodSeconds: 3") return nil }, cleanup.Always)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0)