Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustGetValueAtPath (0.16 sec)

  1. operator/cmd/mesh/test-util_test.go

    	for _, o := range objs {
    		if o.Kind == kind && o.Name == name {
    			return o
    		}
    	}
    	return nil
    }
    
    // mustGetValueAtPath returns the value at the given path in the unstructured tree t. Fails if the path is not found
    // in the tree.
    func mustGetValueAtPath(g *WithT, t map[string]any, path string) any {
    	got, f, err := tpath.GetPathContext(t, util.PathFromString(path), false)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top