Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetPathContext (0.2 sec)

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

    }
    
    // Match implements the Matcher interface.
    func (m *HavePathValueEqualMatcher) Match(actual any) (bool, error) {
    	pv := m.expected.(PathValue)
    	node := actual.(map[string]any)
    	got, f, err := tpath.GetPathContext(node, util.PathFromString(pv.path), false)
    	if err != nil || !f {
    		return false, err
    	}
    	if reflect.TypeOf(got.Node) != reflect.TypeOf(pv.value) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top