- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MissingParams (0.17 sec)
-
pkg/test/framework/components/echo/config/param/template.go
// this Template. func (t Template) ContainsWellKnown(p WellKnown) bool { return t.Contains(p.String()) } // MissingParams checks the provided params against the parameters used in this Template. // Returns the set of template parameters not defined in params. func (t Template) MissingParams(params Params) sets.String { out := sets.New[string]() for needed := range t.params { if !params.Contains(needed) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 15 21:32:48 UTC 2022 - 2.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/builder.go
for _, s := range s.SplitOrFail(b.t) { // If the caller set namespaces with literal strings, replace with namespace.Instance objects. s = replaceNamespaceStrings(s) tpl := s.TemplateOrFail(out.t) need := tpl.MissingParams(s.Params()) needFrom := need.Contains(param.From.String()) needTo := need.Contains(param.To.String()) if needFrom && needTo { out.needFromAndTo = append(out.needFromAndTo, s) } else if needFrom {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 7.6K bytes - Viewed (0)