- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MustAsString (0.18 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)