Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for useOnce (0.1 sec)

  1. pkg/controller/util/selectors/bimultimap_test.go

    					err := expect(multimap)
    					if err != nil {
    						t.Errorf("%v %v", tc.name, err)
    					}
    				}
    			})
    		}
    	}
    }
    
    func TestEfficientAssociation(t *testing.T) {
    	useOnceSelector := useOnce(selector("a", "1"))
    	m := NewBiMultimap()
    	m.PutSelector(key("hpa-1"), useOnceSelector)
    	m.Put(key("pod-1"), labels("a", "1"))
    
    	// Selector is used only during full scan. Second Put will use
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 01:56:36 UTC 2022
    - 16.9K bytes
    - Viewed (0)
Back to top