- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for YAMLOrFail (0.13 sec)
-
pkg/test/framework/components/echo/config/source.go
MustTemplate() *param.Template // YAML reads the yaml from this Source. If this source contains parameters, // it is evaluated as a template. YAML() (string, error) // YAMLOrFail calls GetYAML and fails if an error occurs. YAMLOrFail(t test.Failer) string // MustYAML calls GetYAML and panics if an error occurs. MustYAML() string // Split this source into individual CRDs. Split() ([]Source, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/builder.go
b.checkMissing(s) // Get the namespace where the config should be applied. ns := b.getNamespace(s) // Generate the YAML and add it to the configuration. b.out.YAML(ns.Name(), s.YAMLOrFail(b.t)) b.yamlCount++ } func withParams(s Source, params param.Params) Source { return s.WithParams(s.Params().SetAllNoOverwrite(params)) } func (b *Builder) checkMissing(s Source) { b.t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 7.6K bytes - Viewed (0)