Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AllWellKnown (0.1 sec)

  1. pkg/test/framework/components/echo/config/param/wellknown.go

    type WellKnownList []WellKnown
    
    func (w WellKnownList) ToStringArray() []string {
    	out := make([]string, 0, len(w))
    	for _, item := range w {
    		out = append(out, item.String())
    	}
    	return out
    }
    
    func AllWellKnown() WellKnownList {
    	return []WellKnown{From, To, Namespace, SystemNamespace}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 20 21:58:21 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config/builder.go

    			} else {
    				// No well-known parameters are missing.
    				out.complete = append(out.complete, s)
    			}
    
    			// Delete all the wellknown parameters.
    			need.DeleteAll(param.AllWellKnown().ToStringArray()...)
    			if len(need) > 0 {
    				panic(fmt.Sprintf("config source missing parameters: %v", need))
    			}
    		}
    	}
    
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top