Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FilterPath (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			}
    
    			ignoredFields := sets.NewString("Transformer", "EncryptedObject.EncryptedDEKSource", "UID", "CacheKey")
    
    			gotState := *h.state.Load()
    
    			if diff := cmp.Diff(tt.wantState, gotState,
    				cmp.FilterPath(func(path cmp.Path) bool { return ignoredFields.Has(path.String()) }, cmp.Ignore()),
    			); len(diff) > 0 {
    				t.Errorf("state mismatch (-want +got):\n%s", diff)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
Back to top