Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustNotSelect (0.41 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    		// Make sure default and revisions do not cross
    		mustNotSelect(t, mustGetLabels(t, serviceRev, "spec.selector"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, service, "spec.selector"), podLabelsRev)
    		mustNotSelect(t, mustGetLabels(t, pdbRev, "spec.selector.matchLabels"), podLabels)
    		mustNotSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabelsRev)
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if kselector.Matches(labels2.Set(labels)) {
    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